Random commentary about Machine Learning, BigData, Spark, Deep Learning, C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
Wednesday, September 23, 2015
Implementing the State pattern
The State pattern is used to allow an object to
change his behaviour, when the internal state of the object itself is changing.
For instance this pattern can be used to change the state of an object at