| Modifier and Type | Field and Description |
|---|---|
protected NavPoint |
CTF.enemyBase |
protected NavPoint |
CTF.ourBase |
| Modifier and Type | Field and Description |
|---|---|
protected Map<UnrealId,NavPoint> |
Items.navPoints |
protected List<NavPoint> |
Items.navPointsToProcess
Contains only navpoints that are visible so we can check whether they are spawning-points,
if so - we may check whether the item is laying there or not to handle spawning times.
|
| Modifier and Type | Method and Description |
|---|---|
NavPoint |
CTF.getEnemyBase()
Returns ENEMY BASE navpoint.
|
NavPoint |
NavLinkPair.getNavPoint1()
Returns first's
NavPointNeighbourLink.getFromNavPoint(), this is NEVER NULL. |
NavPoint |
NavLinkPair.getNavPoint2()
Returns first's
NavPointNeighbourLink.getToNavPoint(), this is NEVER NULL. |
NavPoint |
NavigationGraphHelper.getNearestNavPoint()
Returns nearest
NavPoint to current bot position. |
NavPoint |
AgentInfo.getNearestNavPoint()
Retrieves nearest known navpoint to current agent location.
|
NavPoint |
NavigationGraphHelper.getNearestNavPoint(double maxDistance)
Returns nearest
NavPoint to current bot position no further than 'maxDistance' from the bot. |
NavPoint |
AgentInfo.getNearestNavPoint(double maxDistance)
Retrieves nearest known navpoint to current agent location that is not further than "maxDistance".
|
NavPoint |
NavigationGraphHelper.getNearestNavPoint(ILocated target)
Returns nearest
NavPoint to some 'target'. |
NavPoint |
AgentInfo.getNearestNavPoint(ILocated location)
Retrieve nearest known navpoint to some location.
|
NavPoint |
NavigationGraphHelper.getNearestNavPoint(ILocated target,
double maxDistance)
Returns nearest
NavPoint to some 'target' no further than 'maxDistance' from the bot. |
NavPoint |
AgentInfo.getNearestNavPoint(ILocated location,
double maxDistance)
Retrieve nearest known navpoint to some location, that is not further then "maxDistance".
|
NavPoint |
AgentInfo.getNearestVisibleNavPoint()
Retrieves nearest visible navpoint to current agent location.
|
NavPoint |
CTF.getOurBase()
Returns OUR BASE navpoint.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<NavPoint> |
Game.getDominationPoints()
Retrieves all domination points in the game (by default two) in BotDoubleDomination.
|
| Modifier and Type | Method and Description |
|---|---|
NavPointNeighbourLink |
NavLinkPair.getLinkComingFrom(NavPoint navPointLinkIsComingFrom)
Returns link that originates in 'navPointLinkIsComingFrom', if such exists.
|
NavPointNeighbourLink |
NavLinkPair.getLinkLeadingTo(NavPoint navPointLinkEndsIn)
Returns link that ends in 'navPointLinkEndsIn', if such exists.
|
boolean |
NavLinkPair.isLinkNavPoint(NavPoint navPoint)
Does this
NavLinkPair contains (as either end) 'navPoint'. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
NavigationGraphHelper.init(Collection<NavPoint> navPoints)
Initialization method called from
NavigationGraphHelper.MapPointListObtainedListener. |
void |
Items.NavPointListener.notify(WorldObjectUpdatedEvent<NavPoint> event) |
| Constructor and Description |
|---|
NavigationGraphBuilder.ExistingNavPointModifier(NavPoint navPoint) |
NavPointExport(NavPoint navPoint) |
| Constructor and Description |
|---|
MapExport(String name,
Collection<NavPoint> navPoints) |
| Modifier and Type | Method and Description |
|---|---|
NavPoint |
Visibility.getNearestCoverNavPointFrom(ILocated enemy)
Returns nearest cover
NavPoint for BOT where to hide from 'enemy'. |
NavPoint |
Visibility.getNearestCoverNavPointFromN(ILocated target,
ILocated... enemies)
Returns nearest cover nav point for 'target' that is hidden from all 'enemies'.
|
NavPoint |
Visibility.getNearestCoverNavPointN(ILocated... enemies)
Returns nearest cover nav point for BOT that is hidden from all 'enemies'.
|
NavPoint |
Visibility.getNearestNavPointTo(ILocated located)
Nearest
NavPoint to 'located' present in the matrix, this should equal (== 99.99%) to nearest navpoint in the map. |
NavPoint |
Visibility.getNearestNavPopint()
Nearest
NavPoint to BOT CURRENT LOCATION present in the matrix, this should equal (== 99.99%) to nearest navpoint (to bot) in the map. |
| Modifier and Type | Method and Description |
|---|---|
Set<NavPoint> |
Visibility.getCoverNavPointsFrom(ILocated loc)
Returns set of
NavPoint that are not visible from "loc". |
Set<NavPoint> |
Visibility.getCoverNavPointsFromN(ILocated... enemies)
Returns set of
NavPoint that are not visible from any 'enemies'. |
Set<NavPoint> |
Visibility.getHiddenNavPoints()
Returns set of
NavPoint that are not visible FROM CURRENT BOT LOCATION. |
Set<NavPoint> |
Visibility.getVisibleNavPoints()
Returns set of
NavPoint that are visible FROM CURRENT BOT LOCATION. |
Set<NavPoint> |
Visibility.getVisibleNavPointsFrom(ILocated loc)
Returns set of
NavPoint that are visible from "loc". |
| Modifier and Type | Field and Description |
|---|---|
NavPoint |
VisibilityLocation.navPoint |
| Modifier and Type | Method and Description |
|---|---|
NavPoint |
VisibilityMatrix.getNearestCoverNavPoint(ILocated loc)
Returns nearest cover
NavPoint to 'loc'. |
NavPoint |
VisibilityMatrix.getNearestCoverNavPoint(ILocated target,
ILocated loc)
Returns nearest cover
NavPoint against 'from' for 'target'. |
NavPoint |
VisibilityMatrix.getNearestCoverNavPointN(ILocated target,
ILocated... coveredFrom)
Returns nearest cover nav point for 'target' that is covered from all 'coveredFrom'.
|
NavPoint |
VisibilityMatrix.getNearestNavPoint(ILocated located)
Nearest
VisibilityLocation to 'located'. |
| Modifier and Type | Method and Description |
|---|---|
Set<NavPoint> |
VisibilityMatrix.getCoverNavPoints(BitSet column)
Returns all
NavPoint that are NOT visible according to 'column' (column[key] == FALSE, locations.get(key) included if NavPoint). |
Set<NavPoint> |
VisibilityMatrix.getCoverNavPoints(ILocated loc)
Returns set of
NavPoint that are not visible from "loc". |
Set<NavPoint> |
VisibilityMatrix.getCoverNavPointsN(ILocated... locs)
Returns set of
NavPoint that are not visible from any 'locs'. |
Set<NavPoint> |
VisibilityMatrix.getNavPoints(Collection<VisibilityLocation> visibilityLocations)
Returns nav points from 'visibilityLocations'.
|
Set<NavPoint> |
VisibilityMatrix.getVisibleNavPoints(BitSet column)
Returns all
NavPoint that are visible according to 'column' (column[key] == TRUE, locations.get(key) included if NavPoint). |
Set<NavPoint> |
VisibilityMatrix.getVisibleNavPoints(ILocated loc)
Returns set of
NavPoint that are visible from "loc". |
| Modifier and Type | Field and Description |
|---|---|
protected NavPoint |
UT2004Navigation.fromNavPoint
Navpoint we're running from (initial position when path executor has been triggered)
|
protected NavPoint |
UT2004Navigation.toNavPoint
Navpoint we're running to, nearest navpoint to currentTarget
|
protected NavPoint |
UT2004GetBackToNavGraph.tryingNav |
| Modifier and Type | Field and Description |
|---|---|
protected IPathFuture<NavPoint> |
UT2004Navigation.continueToPath
Path to prolong.
|
protected IPathPlanner<NavPoint> |
UT2004Navigation.pathPlanner
FloydWarshallMap that is used for path planning.
|
protected TabooSet<NavPoint> |
UT2004GetBackToNavGraph.tried |
| Modifier and Type | Method and Description |
|---|---|
NavPoint |
UT2004Navigation.getCurrentTargetNavPoint() |
NavPoint |
IUT2004Navigation.getCurrentTargetNavPoint()
If navigation is trying to get to some navpoint, otherwise returns null.
|
NavPoint |
UT2004GetBackToNavGraph.getNearestNavPoint() |
NavPoint |
IUT2004GetBackToNavGraph.getNearestNavPoint()
Returns nearest
NavPoint to current bot's location. |
NavPoint |
UT2004Navigation.getNearestNavPoint(ILocated location) |
NavPoint |
IUT2004Navigation.getNearestNavPoint(ILocated location)
Returns nearest navigation point to input location.
|
| Constructor and Description |
|---|
UT2004Navigation(UT2004Bot bot,
IUT2004PathExecutor ut2004PathExecutor,
IPathPlanner<NavPoint> pathPlanner,
IUT2004GetBackToNavGraph getBackOnPath,
IUT2004RunStraight runStraight)
Here you may specify any custom UT2004Navigation parts.
|
UT2004Navigation(UT2004Bot bot,
IUT2004PathExecutor ut2004PathExecutor,
IPathPlanner<NavPoint> pathPlanner,
IUT2004GetBackToNavGraph getBackOnPath,
IUT2004RunStraight runStraight,
double extendPathThreshold)
Here you may specify any custom UT2004Navigation parts.
|
| Modifier and Type | Field and Description |
|---|---|
protected Collection<NavPoint> |
UT2004AStarGoal.closeList |
protected Collection<NavPoint> |
UT2004AStarGoal.openList |
| Modifier and Type | Method and Description |
|---|---|
NavPoint |
UT2004AStarGoalNavPoint.getGoalNavPoint() |
| Modifier and Type | Method and Description |
|---|---|
Collection<NavPoint> |
UT2004AStarGoal.getCloseList() |
Collection<NavPoint> |
UT2004AStarMap.getNodeNeighbours(NavPoint node) |
Collection<NavPoint> |
UT2004AStarGoal.getOpenList() |
| Modifier and Type | Method and Description |
|---|---|
int |
UT2004AStarMap.getEdgeCost(NavPoint nodeFrom,
NavPoint nodeTo) |
int |
UT2004AStarGoalNavPoint.getEstimatedDistanceToGoal(NavPoint node)
Using Euclidian distance via
Location.getDistance(Location). |
abstract int |
UT2004AStarGoal.getEstimatedDistanceToGoal(NavPoint node)
Method defining "heuristic" for A*, see
AStarHeuristic.getEstimatedDistanceToGoal(Object). |
int |
UT2004AStarGoal.getExtraCost(NavPoint nodeFrom,
NavPoint nodeTo)
Method defining extra-edge cost, see
AStarEvaluator.getExtraCost(Object, Object). |
int |
UT2004AStarMap.getNodeCost(NavPoint node) |
Collection<NavPoint> |
UT2004AStarMap.getNodeNeighbours(NavPoint node) |
boolean |
UT2004AStarGoalNavPoint.isGoalReached(NavPoint actualNode) |
abstract boolean |
UT2004AStarGoal.isGoalReached(NavPoint actualNode)
This tests whether 'actualNode' matches your desired 'goalNode'.
|
boolean |
UT2004AStarGoal.isNodeOpened(NavPoint node)
Method defining which nodes are allowed to be explored and which are forbidden, see
AStarEvaluator.isNodeOpened(Object). |
| Modifier and Type | Method and Description |
|---|---|
void |
UT2004AStarGoal.setCloseList(Collection<NavPoint> closeList) |
void |
UT2004AStarGoal.setOpenList(Collection<NavPoint> openList) |
| Constructor and Description |
|---|
UT2004AStarGoalNavPoint(NavPoint goalNavPoint) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,NavPoint> |
FloydWarshallMap.indicesNavPoints
Mapping indices to nav points.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends NavPoint> |
FloydWarshallMap.getNearestFilteredNavPoint(Collection<T> locations,
NavPoint target,
cz.cuni.amis.utils.IFilter<T> filter)
Returns the nearest target (distance == path distance between 'from' and 'target').
|
<T extends NavPoint> |
FloydWarshallMap.getNearestNavPoint(Collection<T> locations,
NavPoint target,
double maxDistance)
Returns the nearest target (distance == path distance between 'from' and 'target') that is not further than 'maxDistance'.
|
<T extends NavPoint> |
FloydWarshallMap.getNearestNavPoint(Collection<T> locations,
T target)
Returns the nearest target (distance == path distance between 'from' and 'target').
|
<T extends NavPoint> |
FloydWarshallMap.getSecondNearestNavPoint(Collection<T> locations,
NavPoint target)
Returns the second nearest target (distance == path distance between 'from' and 'target').
|
| Modifier and Type | Method and Description |
|---|---|
IPathFuture<NavPoint> |
FloydWarshallMap.computePath(NavPoint from,
NavPoint to)
Returns path between navpoints 'from' -> 'to'.
|
List<NavPoint> |
FloydWarshallMap.PathMatrixNode.getPath() |
List<NavPoint> |
FloydWarshallMap.getPath(NavPoint from,
NavPoint to)
Returns path between navpoints 'from' -> 'to'.
|
| Modifier and Type | Method and Description |
|---|---|
IPathFuture<NavPoint> |
FloydWarshallMap.computePath(NavPoint from,
NavPoint to)
Returns path between navpoints 'from' -> 'to'.
|
float |
FloydWarshallMap.getDistance(NavPoint from,
NavPoint to)
Calculate's distance between two nav points (using pathfinding).
|
<T extends Item> |
FloydWarshallMap.getNearestFilteredItem(Collection<T> locations,
NavPoint target,
cz.cuni.amis.utils.IFilter<T> filter)
Returns the nearest target (distance == path distance between 'from' and 'target').
|
<T extends NavPoint> |
FloydWarshallMap.getNearestFilteredNavPoint(Collection<T> locations,
NavPoint target,
cz.cuni.amis.utils.IFilter<T> filter)
Returns the nearest target (distance == path distance between 'from' and 'target').
|
<T extends Item> |
FloydWarshallMap.getNearestItem(Collection<T> locations,
NavPoint target)
Returns the nearest target (distance == path distance between 'from' and 'target').
|
<T extends Item> |
FloydWarshallMap.getNearestItem(Collection<T> locations,
NavPoint target,
double maxDistance)
Returns the nearest target (distance == path distance between 'from' and 'target') that is not further than 'maxDistance'.
|
<T extends NavPoint> |
FloydWarshallMap.getNearestNavPoint(Collection<T> locations,
NavPoint target,
double maxDistance)
Returns the nearest target (distance == path distance between 'from' and 'target') that is not further than 'maxDistance'.
|
List<NavPoint> |
FloydWarshallMap.getPath(NavPoint from,
NavPoint to)
Returns path between navpoints 'from' -> 'to'.
|
protected FloydWarshallMap.PathMatrixNode |
FloydWarshallMap.getPathMatrixNode(NavPoint np1,
NavPoint np2) |
<T extends Item> |
FloydWarshallMap.getSecondNearestItem(Collection<T> targets,
NavPoint from)
Returns the second nearest target (distance == path distance between 'from' and 'target').
|
<T extends NavPoint> |
FloydWarshallMap.getSecondNearestNavPoint(Collection<T> locations,
NavPoint target)
Returns the second nearest target (distance == path distance between 'from' and 'target').
|
boolean |
FloydWarshallMap.reachable(NavPoint from,
NavPoint to)
Whether navpoint 'to' is reachable from the navpoint 'from'.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
FloydWarshallMap.performFloydWarshall(List<NavPoint> navPoints) |
void |
FloydWarshallMap.PathMatrixNode.setPath(List<NavPoint> path) |
| Modifier and Type | Method and Description |
|---|---|
protected NavPoint |
LoqueNavigator.getNavPoint(ILocated location)
Returns
NavPoint instance for a given location. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
LoqueNavigator.isReachable(NavPoint node) |
| Modifier and Type | Class and Description |
|---|---|
class |
NavPointCompositeImpl
Composite implementation of the NAV abstract message.
|
class |
NavPointMessage
Implementation of the GameBots2004 message NAV contains also its Local/Shared/Static subpart class definitions..
|
| Modifier and Type | Field and Description |
|---|---|
protected NavPoint |
NavPointNeighbourLink.FromNavPoint
Start of the link (edge), where the link originates.
|
protected NavPoint |
ItemStaticImpl.NavPoint
If the Item is not dropped then it's item that is laying at some navpoint and
this is that NavPoint instance.
|
protected NavPoint |
ItemMessage.NavPoint
If the Item is not dropped then it's item that is laying at some navpoint and
this is that NavPoint instance.
|
protected NavPoint |
NavPointNeighbourLink.ToNavPoint
End of the link (edge), where the link ends.
|
| Modifier and Type | Method and Description |
|---|---|
NavPoint |
UT2004CompositeObjectCreator.NavPointCreator.create(ILocalWorldObject localPart,
ISharedWorldObject sharedPart,
IStaticWorldObject staticPart) |
NavPoint |
NavPointNeighbourLink.getFromNavPoint()
Start of the link (edge), where the link originates.
|
NavPoint |
ItemStaticImpl.getNavPoint()
If the Item is not dropped then it's item that is laying at some navpoint and
this is that NavPoint instance.
|
abstract NavPoint |
ItemStatic.getNavPoint()
If the Item is not dropped then it's item that is laying at some navpoint and
this is that NavPoint instance.
|
NavPoint |
ItemMessage.getNavPoint() |
NavPoint |
ItemMessage.ItemStaticMessage.getNavPoint()
If the Item is not dropped then it's item that is laying at some navpoint and
this is that NavPoint instance.
|
NavPoint |
ItemCompositeImpl.getNavPoint() |
abstract NavPoint |
Item.getNavPoint()
If the Item is not dropped then it's item that is laying at some navpoint and
this is that NavPoint instance.
|
NavPoint |
NavPointNeighbourLink.getToNavPoint()
End of the link (edge), where the link ends.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemStaticImpl.setNavPoint(NavPoint navPoint)
DO NOT USE THIS METHOD! Reserved for GaviaLib (Pogamut core)! It's used
to set correct navpoint instance into the item.
|
void |
ItemMessage.setNavPoint(NavPoint navPoint)
DO NOT USE THIS METHOD! Reserved for GaviaLib (Pogamut core)! It's used
to set correct navpoint instance into the item.
|
| Constructor and Description |
|---|
ItemMessage(UnrealId Id,
UnrealId NavPointId,
NavPoint NavPoint,
boolean Visible,
Location Location,
int Amount,
ItemType Type,
ItemDescriptor Descriptor,
boolean Dropped)
Creates new instance of the message Item.
|
ItemStaticImpl(UnrealId Id,
UnrealId NavPointId,
NavPoint NavPoint,
int Amount,
ItemType Type,
ItemDescriptor Descriptor)
Creates new instance of the message Item.
|
NavPoint.NavPointUpdate(NavPoint source,
long eventTime,
ITeamId teamId) |
NavPoint.ObjectDisappeared(NavPoint obj,
long time) |
NavPointLocalImpl(NavPoint original)
Cloning constructor from the full message.
|
NavPointNeighbourLink(NavPointNeighbourLink orig,
NavPoint from,
NavPoint to)
Use to fill missing fields of the Item when creating MapObtained event before
INIT command is requested.
|
NavPointNeighbourLink(UnrealId Id,
int Flags,
int CollisionR,
int CollisionH,
double TranslocZOffset,
String TranslocTargetTag,
boolean OnlyTranslocator,
boolean ForceDoubleJump,
javax.vecmath.Vector3d NeededJump,
boolean NeverImpactJump,
boolean NoLowGrav,
double CalculatedGravityZ,
NavPoint FromNavPoint,
NavPoint ToNavPoint)
Creates new instance of the message NavPointNeighbourLink.
|
NavPointStaticImpl(NavPoint original)
Cloning constructor from the full message.
|
| Modifier and Type | Method and Description |
|---|---|
Map<UnrealId,NavPoint> |
TranslatorContext.getNavPoints() |
| Modifier and Type | Method and Description |
|---|---|
void |
TranslatorContext.setNavPoints(Map<UnrealId,NavPoint> navPoints) |
| Modifier and Type | Method and Description |
|---|---|
Map<UnrealId,NavPoint> |
MapPointListObtained.getNavPoints() |
| Constructor and Description |
|---|
MapPointListObtained(Map<UnrealId,NavPoint> navPoints,
Map<UnrealId,Item> items,
long simTime) |
| Constructor and Description |
|---|
Waypoint(NavPoint nav) |
| Modifier and Type | Method and Description |
|---|---|
NavPoint |
SPStoryPlace.getCenterNavPoint() |
NavPoint |
SPStoryWorld.getFurthestNavPoint(SPLocation location) |
NavPoint |
SPStoryPlace.getFurthestNavPoint(SPLocation location) |
NavPoint |
SPStoryWorld.getNavPoint(String id) |
NavPoint |
SPStoryWorld.getNearestNavPoint(SPLocation location) |
NavPoint |
SPStoryPlace.getNearestNavPoint(SPLocation location) |
NavPoint |
SPStoryPlace.getRandomNavPoint() |
NavPoint |
SPStoryPlace.getRandomNavPoint(SPLocation location,
double distance) |
| Modifier and Type | Method and Description |
|---|---|
Map<NavPoint,Double> |
SPStoryPlace.getNavPointDistances(SPLocation location) |
Map<Double,NavPoint> |
SPStoryPlace.getNavPointDistancesSwapped(SPLocation location) |
Set<NavPoint> |
SPStoryWorld.getNavPoints()
Returns places inside the virtual world.
|
Set<NavPoint> |
SPStoryPlaceBase.getNavPoints()
Returns places inside the virtual world that belongs to this place.
|
Set<NavPoint> |
SPStoryPlace.getNavPoints()
Returns places inside the virtual world that belongs to this place.
|
List<NavPoint> |
SPStoryPlace.getNavPointsList()
Returns places inside the virtual world that belongs to this place.
|
List<NavPoint> |
SPStoryWorld.getPath(SPLocation from,
NavPoint to)
Finds path between navpoint that is the nearest to "from" and navpoint "to".
|
List<NavPoint> |
SPStoryWorld.getPath(SPLocation from,
SPLocation to)
Finds path between navpoints that are the nearest to "from" / "to" location.
|
List<NavPoint> |
SPStoryWorld.getPath(SPLocation from,
SPStoryPlace place)
Finds shortest path between the nearest navpoint to "from" and the "place",
searching all the navpoints that is contained inside the place.
|
| Modifier and Type | Method and Description |
|---|---|
List<NavPoint> |
SPStoryWorld.getPath(SPLocation from,
NavPoint to)
Finds path between navpoint that is the nearest to "from" and navpoint "to".
|
protected void |
SPStoryPlaceBase.setVirtualPlaces(NavPoint[] places) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.