JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.javaGenes.weightNetwork
Class Weight

java.lang.Object
  extended bygov.nasa.javaGenes.weightNetwork.UpdateAndPropagatable
      extended bygov.nasa.javaGenes.weightNetwork.Weight
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AccessWindowWeight, TaskWeight

public class Weight
extends UpdateAndPropagatable

See Also:
Serialized Form

Field Summary
protected  Weight next
           
protected  Weight previous
           
protected  float weight
           
protected  WeightList weightList
           
 
Fields inherited from class gov.nasa.javaGenes.weightNetwork.UpdateAndPropagatable
needToUpdateAndPropagate
 
Constructor Summary
Weight()
           
 
Method Summary
 Weight getNext()
           
 Weight getPrevious()
           
 float getWeight()
           
 WeightList getWeightList()
           
 void reinitialize()
           
 void removeFromWeightList()
           
 void setNext(Weight n)
           
 void setPrevious(Weight p)
           
protected  void setWeight(float f)
           
 void setWeightAndPropagate(float f)
           
 void setWeightList(WeightList inWeightList)
           
 void weightChanged(float oldWeight, float newWeight)
           
 
Methods inherited from class gov.nasa.javaGenes.weightNetwork.UpdateAndPropagatable
mustToUpdateAndPropagate, startUpdateAndPropagate, updateAndPropagate, updateAndPropagateDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weight

protected float weight

weightList

protected WeightList weightList

next

protected Weight next

previous

protected Weight previous
Constructor Detail

Weight

public Weight()
Method Detail

setNext

public void setNext(Weight n)

getNext

public Weight getNext()

setPrevious

public void setPrevious(Weight p)

getPrevious

public Weight getPrevious()

getWeight

public float getWeight()

setWeight

protected void setWeight(float f)

setWeightAndPropagate

public void setWeightAndPropagate(float f)

reinitialize

public void reinitialize()

weightChanged

public void weightChanged(float oldWeight,
                          float newWeight)

removeFromWeightList

public void removeFromWeightList()

setWeightList

public void setWeightList(WeightList inWeightList)

getWeightList

public WeightList getWeightList()

JavaGenes, NASA Ames. Written largely by Al Globus