Refactoring HunterGatherer. All sector part moved to HGMind classes
HGMind
MindFactory issues
extra commit
Referencing vector to solve 3 situations when creating an MDPState
Ref vects issues at creation
MoveHomeAction contains a ForageAction, arrange the transference of Sector&PoolOfPoints
At some point, 0 actions, assert unsatisfied
minor issue
Slow memory leak. After some steps: Segm Fault.
HR structures not touched at the MDP phase: OK
Part of memory leak solved. Destruction permission changed at MDPModel::next
changed destructor of MDPState
Avoiding pass of empty sectors
found MDPState operator "=" issue vs Ref attributes
500MDPs -> 3.3seconds/step
testing performance
ObjectMap for reuse MDPState structures is located at HunterGatherer.
OmpLock to access OBjectMap is located at HunterGatherer.
Reasons:
1.- keep registered in the same map related MDPStates' structures
2.- avoid repeated construction and destruction of objects
solved empty sectors purge
Change in PartialMind, use size instead numsectors
Statistics::getUniformDistValue debugged