0

I'm familiar with the state pattern, but recently I've heard about the three other design patterns mentioned in the title. I have no idea what distinguishes those three patterns from the normal state pattern, and Google also doesn't help!


UPDATE: I've originally found those patterns in the following graphic (headline: relationship between design patterns), but without any additional information about them:

design patterns

jaco0646
  • 15,303
  • 7
  • 59
  • 83
vauge
  • 801
  • 4
  • 14
  • 30
  • are your sure they are related to the State pattern, i have never heard of them either, can you tell where you have across them ? – Ibrahim Najjar Jun 22 '13 at 13:14
  • Yes, I'm sure they are related to it. I've updated my question and added the source where I found those patterns! – vauge Jun 22 '13 at 16:44

1 Answers1

0

I have found what seems to be the answer to your question but it is written in dutch which i believe won't be a problem for you. From what i was able to extract from the text, IntegerState and its two variants you have mentioned are used to implement State Machines or Automaton using integer constants instead of typical polymorphism, anyway i could be wrong because i don't understand dutch so here is the link to the Lecture Note.

Ibrahim Najjar
  • 19,178
  • 4
  • 69
  • 95