FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.odpop.goodsTree.leafNodeTree.Node Class Reference
Inheritance diagram for frodo2.algorithms.odpop.goodsTree.leafNodeTree.Node:

Public Member Functions

Node getChild (int i)
void addChild (Node child, int index)
 Add a child at position index.

Package Functions

 Node (int numberOfChildren)
 A constructor.

Private Attributes

Node[] children
 A list of children of this node.

Detailed Description

Author
Brammert Ottens, 9 nov 2009

Constructor & Destructor Documentation

◆ Node()

frodo2.algorithms.odpop.goodsTree.leafNodeTree.Node.Node ( int numberOfChildren)
package

A constructor.

Parameters
numberOfChildrenthe number of children of this node

References children, and Node().

Referenced by addChild(), getChild(), and Node().

Here is the call graph for this function:

Member Function Documentation

◆ addChild()

void frodo2.algorithms.odpop.goodsTree.leafNodeTree.Node.addChild ( Node child,
int index )

Add a child at position index.

Author
Brammert Ottens, 10 nov 2009
Parameters
childthe child to be added
indexthe index at which the child is to be added

References children, and Node().

Referenced by frodo2.algorithms.odpop.goodsTree.leafNodeTree.LeafNodeTree< Val extends Addable< Val >, U extends Addable< U >, L extends frodo2.algorithms.odpop.goodsTree.InnerNodeTreeFullDomain.Node< U > >.addToTree().

Here is the call graph for this function:

◆ getChild()

Member Data Documentation

◆ children

Node [] frodo2.algorithms.odpop.goodsTree.leafNodeTree.Node.children
private

A list of children of this node.

Referenced by addChild(), getChild(), and Node().


The documentation for this class was generated from the following file:
  • src/frodo2/algorithms/odpop/goodsTree/leafNodeTree/Node.java