|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvolatileprototypes.fvlib.Solver
volatileprototypes.fvlib.Behavior
volatileprototypes.fvlib.BehaviorCharge
public final class BehaviorCharge
Nested Class Summary |
---|
Nested classes/interfaces inherited from class volatileprototypes.fvlib.Solver |
---|
Solver.Caller |
Field Summary |
---|
Fields inherited from class volatileprototypes.fvlib.Behavior |
---|
points |
Fields inherited from class volatileprototypes.fvlib.Solver |
---|
xs |
Constructor Summary | |
---|---|
BehaviorCharge()
Constructor, generates a new class instance. |
|
BehaviorCharge(java.util.ArrayList<? extends Point> pointsin)
Constructor, generates a new class instance using a copy of the supplied Point ArrayList. |
|
BehaviorCharge(Point[] pointsin)
Constructor. |
Method Summary | |
---|---|
float |
getBias()
Get the bias value. |
float |
getFMult()
Get the current force multiplier value. |
protected int |
getNumCPUs()
|
BehaviorCharge |
setBias(float biasin)
Sets the bias. |
BehaviorCharge |
setFMult(float fmultin)
Sets the force multiplier. |
BehaviorCharge |
setInv(boolean invin)
Sets whether force should be inverted. |
protected void |
stepFunction(int step,
int offset)
|
Methods inherited from class volatileprototypes.fvlib.Behavior |
---|
getP, setP, setP |
Methods inherited from class volatileprototypes.fvlib.Solver |
---|
finalizeFunction, step |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BehaviorCharge()
public BehaviorCharge(java.util.ArrayList<? extends Point> pointsin)
pointsin
- An ArrayList containing Point objects with which the object's list will be initialized.public BehaviorCharge(Point[] pointsin)
pointsin
- An array containing Point objects with which the object's list will be initialized.Method Detail |
---|
protected int getNumCPUs()
getNumCPUs
in class Solver
public BehaviorCharge setBias(float biasin)
biasin
- A float representing the new bias value.
public BehaviorCharge setInv(boolean invin)
invin
- A bool representing the new invert value.
public BehaviorCharge setFMult(float fmultin)
fmultin
- A float representing the new force multiplier.
public float getBias()
public float getFMult()
protected final void stepFunction(int step, int offset)
stepFunction
in class Solver
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |