|
|
Sam Eldin
|
Automated Architect-Design and Data Centers for AI©
|
|
|
#12. Switch-Case Algorithm
What is our Switch-Case Algorithm?
Our Switch-Case Algorithm:
Our Switch-Case Algorithm is: an intelligent expandable, reusable, iterate-able replacement
of the Decision Tree algorithms, AI model and AI agents.
What are the processes-steps of our Switch-Case Algorithm?
The details needed for any algorithm to be built and executed for all cases including integration
can be overwhelming and the amounts of details based on the business type and the target output
would vary considerably.
The following is the 2,000 Foot-View of Our Switch-Case Algorithm Processes needed:
1. Using and expanding the programming Switch Statement control flow
2. Added MISC and EXCEPTION cases to the Switch Case default
3. Provide more decision making and processes-points
4. Looping Options in the Switch-Case Control flow
5. Decision-making can be programmed, controlled and loop back for reuse
6. See the integration processes in Integrating Our Switch-Case Algorithm
with other Algorithms section
7. Handling Big Data, ML matrices, AI options and AI control flow
Image #1 - Switch-Case Algorithm Levels Structure Diagram Image
Image #1 presents our Switch-Case Algorithm Structure using switch statement programming
language control flow. The algorithm uses the default case, 7 other cases plus MISC and EXCEPTION
cases (a total of 10 cases) to provide decision control options. Each of these decision control
options or case can be nested to create another-addition 10 more decision control options.
The algorithm has the ability of looping back from the beginning and that would also expand the options
for iterating decisions and reusing the existing options (services).
Image #1 presents the use of Decision-Maker control to direct the flow of executions of
service or1make nested or new decisions.
Image #4 has three levels of nesting. The first level (Level #0) has 10 (what we recommend) decision
points, the second nested level (Level #1) can have up to 100 decision points and the third nested level (Level #2)
can have up to 1,000. The total of 1,110 decision-points. Looping back from the beginning or from a level
higher would make the total of our algorithm decision-points in the tens of thousands.
|
|
|