Public Member Functions | |
DefaultChildrenMapManager (GPNode[] nodeArr) | |
void | initChildrenMap (NodeMap nodeMap) |
Comparator | getComparator () |
Private Attributes | |
final GPNode[] | nodeArr |
|
|
|
Returns a comparator that can be used to sort the collection of nodes managed by this class.
Implements cern::gp::nodes::children::ChildrenManager.
|
|
Receives the
This method is called lazily once when the children are going to be displayed. It is similar to the
The implementation of this method should do two things. First it should initialize the map of children with the current children. For that it can use the method If the children are not dynamic, which means that they don't change after they have been initialized here, there is no need to keep a reference to the nodeMap.
Implements cern::gp::nodes::children::ChildrenMapManager.
|
|
|