SteeringProperties
Class ForcePoint

Package class diagram package ForcePoint
java.lang.Object
  extended by 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.
 
Constructor Summary
ForcePoint(ForcePoint fPoint)
           
ForcePoint(int distance, int forceValue, boolean continues)
           
ForcePoint(XMLForcePoint xml)
           
 
Method Summary
 String getSpecialText()
           
 XMLForcePoint getXMLForcePoint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

ForcePoint

public ForcePoint(int distance,
                  int forceValue,
                  boolean continues)

ForcePoint

public ForcePoint(XMLForcePoint xml)

ForcePoint

public ForcePoint(ForcePoint fPoint)
Method Detail

getSpecialText

public String getSpecialText()

getXMLForcePoint

public XMLForcePoint getXMLForcePoint()


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.