| Package | Description |
|---|---|
| cz.cuni.amis.pogamut.ut2004.agent.module.sensor.visibility | |
| cz.cuni.amis.pogamut.ut2004.agent.module.sensor.visibility.model |
| Modifier and Type | Method and Description |
|---|---|
VisibilityLocation |
Visibility.getNearestCoverPointFrom(ILocated enemy)
Returns nearest cover point for BOT where to hide from 'enemy'.
|
VisibilityLocation |
Visibility.getNearestCoverPointFromN(ILocated target,
ILocated... enemies)
Returns nearest cover point for 'target' that is hidden from all 'enemies'.
|
VisibilityLocation |
Visibility.getNearestCoverPointN(ILocated... enemies)
Returns nearest cover point for BOT that is hidden from all 'enemies'.
|
VisibilityLocation |
Visibility.getNearestVisibilityLocation()
Nearest
VisibilityLocation to BOT CURRENT LOCATION. |
VisibilityLocation |
Visibility.getNearestVisibilityLocationTo(ILocated located)
Nearest
VisibilityLocation to 'located' present in matrix. |
| Modifier and Type | Method and Description |
|---|---|
Set<VisibilityLocation> |
Visibility.getCoverPointsFrom(ILocated loc)
Returns set of
VisibilityLocation that are not visible from "loc". |
Set<VisibilityLocation> |
Visibility.getCoverPointsFromN(ILocated... enemies)
Returns set of
VisibilityLocation that are not visible from any 'enemies'. |
Set<VisibilityLocation> |
Visibility.getHiddenPoints()
Returns set of
VisibilityLocation that are not visible FROM BOT CURRENT LOCATION. |
Set<VisibilityLocation> |
Visibility.getVisiblePoints()
Returns set of
VisibilityLocation that are visible FROM CURRENT BOT LOCATION. |
Set<VisibilityLocation> |
Visibility.getVisiblePointsFrom(ILocated loc)
Returns set of
VisibilityLocation that are visible from "loc". |
| Modifier and Type | Method and Description |
|---|---|
VisibilityLocation |
VisibilityMatrix.getLocation(int index) |
VisibilityLocation |
VisibilityMatrix.getNearest(ILocated located)
Nearest
VisibilityLocation to 'located'. |
VisibilityLocation |
VisibilityMatrix.getNearestCoverPoint(ILocated loc)
Returns nearest cover point to 'loc'.
|
VisibilityLocation |
VisibilityMatrix.getNearestCoverPoint(ILocated target,
ILocated from)
Returns nearest cover point agains 'from' for 'target'.
|
VisibilityLocation |
VisibilityMatrix.getNearestCoverPointN(ILocated target,
ILocated... coveredFrom)
Returns nearest cover point for 'target' that is covered from all 'coveredFrom'.
|
| Modifier and Type | Method and Description |
|---|---|
Set<VisibilityLocation> |
VisibilityMatrix.getCoverPoints(BitSet column)
Returns all
VisibilityLocation that are NOT visible according to 'column' (column[key] == FALSE, locations.get(key) included). |
Set<VisibilityLocation> |
VisibilityMatrix.getCoverPoints(ILocated loc)
Returns set of
VisibilityLocation that are not visible from "loc". |
Set<VisibilityLocation> |
VisibilityMatrix.getCoverPointsN(ILocated... locs)
Returns set of
VisibilityLocation that are not visible from any 'locs'. |
Map<Integer,VisibilityLocation> |
VisibilityMatrix.getLocations() |
Map.Entry<Integer,VisibilityLocation> |
VisibilityMatrix.getNearestEntry(ILocated located)
Nearest key-
VisibilityLocation entry to 'located'. |
Set<VisibilityLocation> |
VisibilityMatrix.getVisiblePoints(BitSet column)
Returns all
VisibilityLocation that are visible according to 'column' (column[key] == TRUE, locations.get(key) included). |
Set<VisibilityLocation> |
VisibilityMatrix.getVisiblePoints(ILocated loc)
Returns set of
VisibilityLocation that are visible from "loc". |
| Modifier and Type | Method and Description |
|---|---|
Set<NavPoint> |
VisibilityMatrix.getNavPoints(Collection<VisibilityLocation> visibilityLocations)
Returns nav points from 'visibilityLocations'.
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.