cz.cuni.amis.pogamut.emohawk.agent.module.sensomotoric
Enum Place
java.lang.Object
java.lang.Enum<Place>
cz.cuni.amis.pogamut.emohawk.agent.module.sensomotoric.Place
- All Implemented Interfaces:
- Serializable, Comparable<Place>
public enum Place
- extends Enum<Place>
Holds anotated places in the map EmohawkVille.
TODO - needs check.
- Author:
- knight
BARBARA_HOME
public static final Place BARBARA_HOME
NATALY_HOME
public static final Place NATALY_HOME
NATALY_WAIT_PLACE
public static final Place NATALY_WAIT_PLACE
SCEN_LONE_MEETING_POINT
public static final Place SCEN_LONE_MEETING_POINT
EMOHAWK_ROAM_LOCATION
public static final Place EMOHAWK_ROAM_LOCATION
THOMAS_HOME
public static final Place THOMAS_HOME
RESTAURANT
public static final Place RESTAURANT
CINEMA
public static final Place CINEMA
PARK
public static final Place PARK
SPHERE
public static final Place SPHERE
values
public static Place[] 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 (Place c : Place.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Place 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
getPlaceLocation
public Location getPlaceLocation()
getPlaceRadius
public double getPlaceRadius()
placeReached
public boolean placeReached(Location location)
placeReached
public boolean placeReached(Location location,
double epsilon)
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.