|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opttek.optquest.COptNeuralNetArc
The COptNeuralNetArc is used to create arcs for an OptQuest Neural Network. These arcs are added to the COptNeuralNet to create the OptQuest Neural Network. Nodes are defined by a unique arc number, a from node, a to node, and a weight.
| Constructor Summary | |
COptNeuralNetArc()
Default Constructor. |
|
COptNeuralNetArc(int arcNumber,
int fromNode,
int toNode,
double weight)
Constructor that accepts the type, node number and level as input. |
|
| Method Summary | |
void |
FixNodeByUser(boolean fixed)
FixNodeByUser() fixes (or unfixes) the node. |
int |
GetArcNumber()
GetArcNumber() returns the arc number of this arc |
int |
GetFromNodeNumber()
GetFromNodeNumber() returns the node number this arc comes from |
int |
GetToNodeNumber()
GetToNodeNumber() returns the node number this arc goes to |
double |
GetWeight()
GetWeight() returns the current weight of this arc |
boolean |
IsFixedByUser()
IsFixedByUser() returns whether or not the node is fixed. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public COptNeuralNetArc()
public COptNeuralNetArc(int arcNumber,
int fromNode,
int toNode,
double weight)
arcNumber - - the number of the arc.fromNode - - the number of the node that this arc is from.toNode - - the number of the node that this arc is to.weight - - the weight of the arc.| Method Detail |
public int GetArcNumber()
public int GetToNodeNumber()
public int GetFromNodeNumber()
public double GetWeight()
public void FixNodeByUser(boolean fixed)
fixed - - whether to fix (true) or unfix (false) the node.public boolean IsFixedByUser()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||