SteeringProperties
Class ForcePoint
java.lang.Object
SteeringProperties.ForcePoint
public class ForcePoint
- extends Object
The class which defines one segment of the force-function. It says which value has the force at the concrete distance - and which value is to the next segment.
- Author:
- Marki
Field Summary |
boolean |
continues
If it's false, the continuing segment has 0 value of the force. |
int |
distance
Distance of the agent's location from the target location. |
int |
forceValue
The value of the force-function at the distance distance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
distance
public int distance
- Distance of the agent's location from the target location.
forceValue
public int forceValue
- The value of the force-function at the distance distance.
continues
public boolean continues
- If it's false, the continuing segment has 0 value of the force. Otherwise it has the value computed from this and next boundary.
ForcePoint
public ForcePoint(int distance,
int forceValue,
boolean continues)
ForcePoint
public ForcePoint(XMLForcePoint xml)
ForcePoint
public ForcePoint(ForcePoint fPoint)
getSpecialText
public String getSpecialText()
getXMLForcePoint
public XMLForcePoint getXMLForcePoint()
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.