SteeringStuff
Enum SteeringType

Package class diagram package SteeringType
java.lang.Object
  extended by java.lang.Enum<SteeringType>
      extended by SteeringStuff.SteeringType
All Implemented Interfaces:
Serializable, Comparable<SteeringType>

public enum SteeringType
extends Enum<SteeringType>
implements Serializable

The enum of the types of the steerings. Each type has its name color and order. But the navigation layer doesn't use these values. (But for instance the SteeringGui does.)

Author:
Marki

Enum Constant Summary
LEADER_FOLLOWING
           
OBSTACLE_AVOIDANCE
           
PATH_FOLLOWING
           
PEOPLE_AVOIDANCE
           
STICK_TO_PATH
           
TARGET_APPROACHING
           
TRIANGLE
           
WALK_ALONG
           
WALL_FOLLOWING
           
 
Method Summary
static LinkedList<SteeringType> getCollection()
           
 Color getColor()
           
 String getName()
           
 int getOrder()
           
static SteeringType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SteeringType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OBSTACLE_AVOIDANCE

public static final SteeringType OBSTACLE_AVOIDANCE

PEOPLE_AVOIDANCE

public static final SteeringType PEOPLE_AVOIDANCE

TARGET_APPROACHING

public static final SteeringType TARGET_APPROACHING

PATH_FOLLOWING

public static final SteeringType PATH_FOLLOWING

WALL_FOLLOWING

public static final SteeringType WALL_FOLLOWING

LEADER_FOLLOWING

public static final SteeringType LEADER_FOLLOWING

WALK_ALONG

public static final SteeringType WALK_ALONG

TRIANGLE

public static final SteeringType TRIANGLE

STICK_TO_PATH

public static final SteeringType STICK_TO_PATH
Method Detail

values

public static SteeringType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SteeringType c : SteeringType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SteeringType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getCollection

public static LinkedList<SteeringType> getCollection()

getColor

public Color getColor()

getName

public String getName()

getOrder

public int getOrder()


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