|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.rice.comp440.net.InputUnit
Field Summary | |
protected double |
value
|
Constructor Summary | |
protected |
InputUnit()
Builds a hidden unit taking the provided number of inputs. |
Method Summary | |
double |
getValue()
Returns the current value of this input |
void |
recompute()
Recomputes the value of this hidden unit, querying it's prior inputs. |
protected void |
setValue(double value)
Sets the value of this input unit |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected double value
Constructor Detail |
protected InputUnit()
units
- The input units to this unitrandom
- The random number generatorMethod Detail |
protected void setValue(double value)
public void recompute()
public double getValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |