-
Notifications
You must be signed in to change notification settings - Fork 31
10 Algorithm Classes
Varietyz edited this page Apr 2, 2026
·
1 revision
Seven classes that categorize all algorithms by their verb chain pattern.
Each algorithm is a named verb chain that can be instantiated with concrete types.
See also: Architectural Principles Β· PAG Keywords
| Class | Verb Pattern | Use When |
|---|---|---|
| Perceptual Loop | FIND β ANALYZE β WRITE/CREATE | Signal detection and response |
| Cognitive Loop | READ β FIND β LINK β CREATE | Information processing and integration |
| Decision Loop | CREATE β FIND β FILTER β EXECUTE | Option evaluation and selection |
| Construction Loop | EXTRACT β CREATE β ANALYZE β WRITE | Component assembly and validation |
| Adaptive Loop | READ β ANALYZE β EXECUTE β ITERATE | Environment sensing and adjustment |
| Meta Loop | FIND β ANALYZE β EXECUTE β ITERATE | Self-monitoring and optimization |
| Hypothesis-Validation Loop | CREATE β ANALYZE β ANALYZE β EXECUTE | Hypothesis testing and refinement |
| Algorithm | Class | Verb Chain |
|---|---|---|
| McCulloch-Pitts-Threshold-Logic | Perceptual | READ β ANALYZE β EXECUTE β ANALYZE β CREATE β ITERATE |
| ELIZA-Pattern-Matching | Perceptual | READ β FIND β FIND β EXECUTE β CREATE β ITERATE |
| AARON-Generative-Art | Construction | CREATE β EXECUTE β ANALYZE β EXECUTE β ITERATE |
| Means-Ends-Analysis | Cognitive | READ β FIND β FIND β ANALYZE β EXECUTE β ITERATE |
| Production-System-Cycle | Adaptive | READ β FIND β FILTER β EXECUTE β WRITE β ITERATE |
| SOAR-Problem-Space-Search | Cognitive | READ β CREATE β FIND β ANALYZE β EXECUTE β FIND β CREATE β ITERATE |
| STRIPS-Planning | Construction | READ β READ β FIND β FIND β ANALYZE β EXECUTE β WRITE β ITERATE |
| Frame-Based-Reasoning | Cognitive | READ β FIND β EXTRACT β ANALYZE β SET β LINK β ITERATE |
| Resolution-Unification | Hypothesis-Validation | READ β FIND β EXECUTE β CREATE β ANALYZE β ITERATE |
| Dependency-Directed-Backtracking | Hypothesis-Validation | READ β CREATE β EXECUTE β FIND β ANALYZE β EXECUTE β ITERATE |
| Backward-Chaining-Inference | Decision | READ β FIND β ANALYZE β EXECUTE β CREATE β SET β ITERATE |
| Marr-Three-Level-Analysis | Meta | ANALYZE β CREATE β CREATE β CREATE β ANALYZE β ITERATE |
| Algorithm | Class | Primary Principles |
|---|---|---|
| Module-Separation-Protocol | Meta | SOC, SRP |
| Extension-Without-Modification-Protocol | Decision | OCP |
| Dependency-Inversion-Protocol | Construction | DIP, ISP |
| State-Snapshot-Recovery-Protocol | Construction | Immutability, Idempotency |
| Intention-Emission-Protocol | Perceptual | DCB/CF, Event-driven |
| Security-Inheritance-Protocol | Hypothesis-Validation | Encapsulation, Fail Fast |
| Human-Authority-Protocol | Decision | Human-in-Loop |
| Complexity-Boundary-Protocol | Meta | Bounded Complexity |
| Registry-Resolution-Protocol | Cognitive | Centralized, ISP |
| Verification-Gate-Protocol | Hypothesis-Validation | Fail Fast |
| Algorithm | Verb Chain |
|---|---|
| Hypothesis-Validation-Loop | CREATE β FIND β EXECUTE β ANALYZE β ANALYZE β ITERATE |
| Recursive-Verification-Loop | READ β CREATE β EXECUTE β ANALYZE β FIND β CREATE β EXECUTE β ANALYZE β ITERATE |
| Evidence-Based-Hypothesis-Refinement | READ β ANALYZE β CREATE β FILTER β ANALYZE β CREATE β EXECUTE β ANALYZE β SET β ITERATE |
| Dual-Analysis-Verification | EXECUTE β EXECUTE β COMPARE β FIND β ANALYZE β CREATE β ITERATE |
| Assertion-Verification-Loop | READ β CREATE β EXECUTE β ANALYZE β FIND β CREATE β ITERATE |
| Multi-Gate-Debugging | ANALYZE β INVESTIGATE β DETERMINE β CREATE β DETERMINE β EXECUTE β ANALYZE β FIND β ITERATE |
How to select and instantiate an algorithm:
1. FIND<Loop-Pattern> β Match task to algorithm class using classification table
2. EXTRACT<Type-Params> β Extract domain objects from task into type placeholders
3. SET<Preposition-Slots> β Map concrete values to preposition operators (FROM, INTO, USING)
4. CREATE<Directive-Block> β Instantiate the algorithm with concrete types into PAG directives
Applies across all domains:
INTAKE β ABSTRACT β DEFINE β CONSTRAIN β EXPLORE β PREDICT β CHOOSE β EXECUTE β VALIDATE β REFINE
| Step | What it does |
|---|---|
| INTAKE | Read the current state |
| ABSTRACT | Build a representation |
| DEFINE | Specify the target output |
| CONSTRAIN | Set domain bounds |
| EXPLORE | Generate candidate solutions |
| PREDICT | Evaluate branches |
| CHOOSE | Select the path |
| EXECUTE | Apply the operation |
| VALIDATE | Verify the output |
| REFINE | Adjust strategy and iterate |
Disciplined AI Software Development Β© 2025 by Jay Baleine
Licensed under CC BY-SA 4.0 Β· banes-lab.com
Navigation
π Home
Quick Reference
- π Glossary
- π PAG Keywords
- π PAG Grammar
- π§© PAG Guide
- π MG Grammar
- π Memory Schema
- ποΈ Architectural Principles
- βοΈ Terminology Rules
- π Algorithm Classes
Getting Started
- π Reading Path
- β FAQ
Links