/* 3.6 ~SubMove~ */ #include #include #include "PeriodicTypes.h" using namespace std; namespace periodic{ /* ~Equalize~ When this function is called, the value of this Submove is taken from the argument. */ void SubMove::Equalize(const SubMove* SM){ arrayNumber = SM->arrayNumber; arrayIndex = SM->arrayIndex; } /* ~ToString~ This function returns a string representation of this SubMove. */ string SubMove::ToString() const{ ostringstream res; if(arrayNumber==LINEAR) res << "linear["<