Modifier and Type | Method and Description |
---|---|
void |
IStuckDetector.setBotTarget(ILocated target)
Where the bot is currently trying to get with DIRECT MOVEMENT (possibly with JUMPS).
|
Modifier and Type | Class and Description |
---|---|
static class |
DistanceUtils.GetLocatedDistance2D<T extends ILocated>
Simple implementation of
DistanceUtils.IGetDistance that uses Location.getDistance2D(Location) method. |
static class |
DistanceUtils.GetLocatedDistance3D<T extends ILocated>
Simple implementation of
DistanceUtils.IGetDistance that uses Location.getDistance(Location) method. |
Modifier and Type | Field and Description |
---|---|
static DistanceUtils.GetLocatedDistance2D<ILocated> |
DistanceUtils.getLocatedDistance2D
|
static DistanceUtils.GetLocatedDistance3D<ILocated> |
DistanceUtils.getLocatedDistance3D
|
Modifier and Type | Method and Description |
---|---|
static <T extends ILocated> |
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target)
Returns "locations" sorted according to the distance to "target".
|
static <T extends ILocated> |
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns "locations" accepted by all "filters" sorted according to the distance to "target".
|
static <T extends ILocated> |
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target,
double maxDistance)
Returns "locations" sorted according to the distance to "target".
|
static <T extends ILocated> |
DistanceUtils.getDistanceSortedFiltered(Collection<T> locations,
ILocated target,
cz.cuni.amis.utils.IFilter filter)
Returns "locations" sorted according to the distance to "target".
|
static <T extends ILocated> |
DistanceUtils.getNearest(Collection<T> locations,
ILocated target)
Returns the nearest object to 'target'.
|
static <T extends ILocated> |
DistanceUtils.getNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns the nearest object to 'target' that is accepted by all 'filters'.
|
static <T extends ILocated> |
DistanceUtils.getNearest(Collection<T> locations,
ILocated target,
double maxDistance)
Returns the nearest object to 'target' that is not further than 'maxDistance'.
|
static <T extends ILocated> |
DistanceUtils.getNearest2D(Collection<T> locations,
ILocated target)
Returns the nearest (in 2D) object to 'target'.
|
static <T extends ILocated> |
DistanceUtils.getNearest2D(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns the nearest (in 2D) object to 'target' that is accepted by all 'filters'.
|
static <T extends ILocated> |
DistanceUtils.getNearest2D(Collection<T> locations,
ILocated target,
double maxDistance)
Returns the nearest (in 2D) object to 'target' that is not further than 'maxDistance'.
|
static <T extends ILocated> |
DistanceUtils.getNearest2DFiltered(Collection<T> locations,
ILocated target,
cz.cuni.amis.utils.IFilter<T> filter)
Returns the nearest (in 2D) object to 'target' that is accepted by filter.
|
static <T extends ILocated> |
DistanceUtils.getNearestFiltered(Collection<T> locations,
ILocated target,
cz.cuni.amis.utils.IFilter filter)
Returns the nearest object to 'target' that is accepted by filter.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target)
Returns the second nearest object to 'target'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns the second nearest object to 'target' that is accepted by all 'filters'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target,
double maxDistance)
Returns the second nearest object to 'target' that is not further than 'maxDistance'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest2D(Collection<T> locations,
ILocated target)
Returns the second nearest (in 2D) object to 'target'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest2D(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns the second nearest (in 2D) object to 'target' that is accepted by all 'filters'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest2D(Collection<T> locations,
ILocated target,
double maxDistance)
Returns the second nearest (in 2D) object to 'target' that is not further than 'maxDistance'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest2DFiltered(Collection<T> locations,
ILocated target,
cz.cuni.amis.utils.IFilter<T> filter)
Returns the second nearest (in 2D) object to 'target' that is accepted by filter.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearestFiltered(Collection<T> locations,
ILocated target,
cz.cuni.amis.utils.IFilter filter)
Returns the second nearest object to 'target' that is accepted by filter.
|
Modifier and Type | Method and Description |
---|---|
double |
DistanceUtils.IGetDistance.getDistance(T object,
ILocated target) |
double |
DistanceUtils.GetLocatedDistance3D.getDistance(T object,
ILocated target)
Uses
Location.getDistance(Location) method. |
double |
DistanceUtils.GetLocatedDistance2D.getDistance(T object,
ILocated target)
Uses
Location.getDistance(Location) method. |
static <T extends ILocated> |
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target)
Returns "locations" sorted according to the distance to "target".
|
static <T extends ILocated> |
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns "locations" accepted by all "filters" sorted according to the distance to "target".
|
static <T> List<T> |
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance)
Returns "locations" sorted according to the distance to "target".
|
static <T> List<T> |
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IDistanceFilter... filters)
Returns "locations" accepted by all "filters" sorted according to the distance to "target".
|
static <T extends ILocated> |
DistanceUtils.getDistanceSorted(Collection<T> locations,
ILocated target,
double maxDistance)
Returns "locations" sorted according to the distance to "target".
|
static <T extends ILocated> |
DistanceUtils.getDistanceSortedFiltered(Collection<T> locations,
ILocated target,
cz.cuni.amis.utils.IFilter filter)
Returns "locations" sorted according to the distance to "target".
|
static <T extends IViewable> |
DistanceUtils.getDistanceSortedVisible(Collection<T> locations,
ILocated target)
Returns visible "locations" sorted according to the distance to "target".
|
static <T extends ILocated> |
DistanceUtils.getNearest(Collection<T> locations,
ILocated target)
Returns the nearest object to 'target'.
|
static <T extends ILocated> |
DistanceUtils.getNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns the nearest object to 'target' that is accepted by all 'filters'.
|
static <T> T |
DistanceUtils.getNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance)
Returns the nearest object to 'target'.
|
static <T> T |
DistanceUtils.getNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IDistanceFilter... filters)
Returns the nearest object to 'target' that is accepted by all 'filters'.
|
static <T extends ILocated> |
DistanceUtils.getNearest(Collection<T> locations,
ILocated target,
double maxDistance)
Returns the nearest object to 'target' that is not further than 'maxDistance'.
|
static <T extends ILocated> |
DistanceUtils.getNearest2D(Collection<T> locations,
ILocated target)
Returns the nearest (in 2D) object to 'target'.
|
static <T extends ILocated> |
DistanceUtils.getNearest2D(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns the nearest (in 2D) object to 'target' that is accepted by all 'filters'.
|
static <T extends ILocated> |
DistanceUtils.getNearest2D(Collection<T> locations,
ILocated target,
double maxDistance)
Returns the nearest (in 2D) object to 'target' that is not further than 'maxDistance'.
|
static <T extends ILocated> |
DistanceUtils.getNearest2DFiltered(Collection<T> locations,
ILocated target,
cz.cuni.amis.utils.IFilter<T> filter)
Returns the nearest (in 2D) object to 'target' that is accepted by filter.
|
static <T extends IViewable> |
DistanceUtils.getNearest2DVisible(Collection<T> locations,
ILocated target)
Returns the nearest object to 'target' that is visible (using
DistanceUtils.VisibleFilter ). |
static <T extends ILocated> |
DistanceUtils.getNearestFiltered(Collection<T> locations,
ILocated target,
cz.cuni.amis.utils.IFilter filter)
Returns the nearest object to 'target' that is accepted by filter.
|
static <T extends IViewable> |
DistanceUtils.getNearestVisible(Collection<T> locations,
ILocated target)
Returns the nearest object to 'target' that is visible (using
DistanceUtils.VisibleFilter ). |
static <T extends ILocated> |
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target)
Returns the second nearest object to 'target'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns the second nearest object to 'target' that is accepted by all 'filters'.
|
static <T> T |
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance)
Returns the second nearest object to 'target'.
|
static <T> T |
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target,
DistanceUtils.IGetDistance getDistance,
DistanceUtils.IDistanceFilter... filters)
Returns the second nearest object to 'target'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest(Collection<T> locations,
ILocated target,
double maxDistance)
Returns the second nearest object to 'target' that is not further than 'maxDistance'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest2D(Collection<T> locations,
ILocated target)
Returns the second nearest (in 2D) object to 'target'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest2D(Collection<T> locations,
ILocated target,
DistanceUtils.IDistanceFilter... filters)
Returns the second nearest (in 2D) object to 'target' that is accepted by all 'filters'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest2D(Collection<T> locations,
ILocated target,
double maxDistance)
Returns the second nearest (in 2D) object to 'target' that is not further than 'maxDistance'.
|
static <T extends ILocated> |
DistanceUtils.getSecondNearest2DFiltered(Collection<T> locations,
ILocated target,
cz.cuni.amis.utils.IFilter<T> filter)
Returns the second nearest (in 2D) object to 'target' that is accepted by filter.
|
static <T extends IViewable> |
DistanceUtils.getSecondNearest2DVisible(Collection<T> locations,
ILocated target)
Returns the second nearest object to 'target' that is visible (using
DistanceUtils.VisibleFilter ). |
static <T extends ILocated> |
DistanceUtils.getSecondNearestFiltered(Collection<T> locations,
ILocated target,
cz.cuni.amis.utils.IFilter filter)
Returns the second nearest object to 'target' that is accepted by filter.
|
static <T extends IViewable> |
DistanceUtils.getSecondNearestVisible(Collection<T> locations,
ILocated target)
Returns the second nearest object to 'target' that is visible (using
DistanceUtils.VisibleFilter ). |
boolean |
DistanceUtils.IDistanceFilter.isAccepted(T object,
ILocated target,
double distanceToTarget) |
boolean |
DistanceUtils.AcceptAllDistanceFilter.isAccepted(T object,
ILocated target,
double distanceToTarget) |
boolean |
DistanceUtils.RangeDistanceFilter.isAccepted(T object,
ILocated target,
double distanceToTarget) |
boolean |
DistanceUtils.VisibleFilter.isAccepted(T object,
ILocated target,
double distanceToTarget) |
boolean |
DistanceUtils.FilterAdapter.isAccepted(T object,
ILocated target,
double distanceToTarget) |
Modifier and Type | Interface and Description |
---|---|
interface |
IAgent3D
Interface of agent embodied in a 3D environment.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAgent3D<WORLD_VIEW extends IVisionWorldView,ACT extends IAct>
Adds Agent3D special JMX abilities.
|
Modifier and Type | Class and Description |
---|---|
class |
Agent3DJMXProxy |
Modifier and Type | Class and Description |
---|---|
class |
Location
Location within the world.
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.