|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.opttek.optquest.COptNeuralNetArc
public class 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 bFixed)
Fixes (or unfixes) the node. |
int |
GetArcNumber()
Returns the arc number of this arc |
int |
GetFromNodeNumber()
Returns the node number this arc comes from |
int |
GetToNodeNumber()
Returns the node number this arc goes to |
double |
GetWeight()
Returns the current weight of this arc |
boolean |
IsFixedByUser()
Returns true if the node has been fixed and is not part of any optimization. |
void |
SetWeight(double weight)
|
| 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 SetWeight(double weight)
public void FixNodeByUser(boolean bFixed)
bFixed - - 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 | ||||||||