Thanks for the reply ApochPiQ, do you know any good articles I can read to some more understanding?
The article I checked out was this. I had a hard time finding any text about this topic.
You are doing this as an assignment, right? Your class has no text about it?
The text we have about the hierarchical is:
- The machine represent a tree structure
- Exit is run on states up to the parent
- Enter is run on states down from the parent.
After this he talks about a global state, which according to him didn't meet the criteria because all states are substates to the global one. So I decided to place Two other states inside AgentIsTierd but I do not know is I did the thing he asks for or something else entirely.
So we have 4 lines of text, but it doesn't really show anything that is helpful for me to understand how to implement this. This is why I looked elsewhere to find some more information but I am still unsure about if it meet the criteria, and I would prefer to get some more information about HFSM and how it can be implemented.