Modifier and Type | Method and Description |
---|---|
IPlayer |
IThoughtModel.getClosestOwnPlayerAtBall()
Get the player of the own team (including myself) which is closest to the
ball
|
IPlayer |
IThoughtModel.getOpponentAtBall() |
IPlayer |
IThoughtModel.getTeammateAtBall()
Get the team-mate which is closest to the ball
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IPlayer> |
IThoughtModel.getOpponentsAtBallList()
Get a list of all opponents, sorted by distance from the ball position
|
java.util.List<IPlayer> |
IThoughtModel.getOpponentsAtMeList()
Get a list of all opponents, sorted by distance from the own position
|
java.util.List<IPlayer> |
IThoughtModel.getPlayersAtBallList()
Get a list of all players, sorted by distance from the ball position
|
java.util.List<IPlayer> |
IThoughtModel.getPlayersAtMeList()
Get a list of all players, sorted by distance from the own position
|
java.util.List<IPlayer> |
IThoughtModel.getTeammatesAtBall()
Get a list of all team-mates, sorted by distance from the ball position
|
Modifier and Type | Method and Description |
---|---|
IPlayer |
ThoughtModel.getClosestOwnPlayerAtBall() |
IPlayer |
ThoughtModel.getOpponentAtBall() |
IPlayer |
ThoughtModel.getTeammateAtBall() |
Modifier and Type | Method and Description |
---|---|
java.util.List<IPlayer> |
IFOCalculator.getFilteredAndSortedList(java.util.List<IPlayer> sourceList,
magma.agent.thoughtmodel.impl.IFOCalculator.IFilter filter,
java.util.Comparator<? super IPlayer> comparator)
Returns a new list containing only the elements of the source list that
were accepted by the filter and are sorted using the passed comparator.
|
java.util.List<IPlayer> |
IFOCalculator.getOpponentsAtBall(java.util.List<IPlayer> sourceList) |
java.util.List<IPlayer> |
ThoughtModel.getOpponentsAtBallList() |
java.util.List<IPlayer> |
IFOCalculator.getOpponentsAtMe(java.util.List<IPlayer> sourceList) |
java.util.List<IPlayer> |
ThoughtModel.getOpponentsAtMeList() |
java.util.List<IPlayer> |
IFOCalculator.getPlayersAtBall(java.util.List<IPlayer> sourceList)
Filter all players currently near the ball out of the given list
|
java.util.List<IPlayer> |
ThoughtModel.getPlayersAtBallList() |
java.util.List<IPlayer> |
IFOCalculator.getPlayersAtMe(java.util.List<IPlayer> sourceList) |
java.util.List<IPlayer> |
ThoughtModel.getPlayersAtMeList() |
java.util.List<IPlayer> |
ThoughtModel.getTeammatesAtBall() |
java.util.List<IPlayer> |
IFOCalculator.getTeammatesAtBall(java.util.List<IPlayer> sourceList) |
java.util.List<IPlayer> |
IFOCalculator.getTeammatesAtMe(java.util.List<IPlayer> sourceList) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IPlayer> |
IFOCalculator.getFilteredAndSortedList(java.util.List<IPlayer> sourceList,
magma.agent.thoughtmodel.impl.IFOCalculator.IFilter filter,
java.util.Comparator<? super IPlayer> comparator)
Returns a new list containing only the elements of the source list that
were accepted by the filter and are sorted using the passed comparator.
|
java.util.List<IPlayer> |
IFOCalculator.getFilteredAndSortedList(java.util.List<IPlayer> sourceList,
magma.agent.thoughtmodel.impl.IFOCalculator.IFilter filter,
java.util.Comparator<? super IPlayer> comparator)
Returns a new list containing only the elements of the source list that
were accepted by the filter and are sorted using the passed comparator.
|
java.util.List<IVisibleObject> |
IFOCalculator.getObstacles(java.util.List<IPlayer> sourceList,
IMoveableObject ball)
Retrieve a lit of obstacles
|
java.util.List<IPlayer> |
IFOCalculator.getOpponentsAtBall(java.util.List<IPlayer> sourceList) |
java.util.List<IPlayer> |
IFOCalculator.getOpponentsAtMe(java.util.List<IPlayer> sourceList) |
java.util.List<IPlayer> |
IFOCalculator.getPlayersAtBall(java.util.List<IPlayer> sourceList)
Filter all players currently near the ball out of the given list
|
java.util.List<IPlayer> |
IFOCalculator.getPlayersAtMe(java.util.List<IPlayer> sourceList) |
java.util.List<IPlayer> |
IFOCalculator.getTeammatesAtBall(java.util.List<IPlayer> sourceList) |
java.util.List<IPlayer> |
IFOCalculator.getTeammatesAtMe(java.util.List<IPlayer> sourceList) |
Modifier and Type | Method and Description |
---|---|
IRole |
IRoleManager.determineRole(IPlayer closestPlayerAtBall,
int playerId)
Dynamic role assignment to agents.
|
Modifier and Type | Method and Description |
---|---|
IRole |
RoleManager.determineRole(IPlayer closestPlayer,
int playerID) |
Modifier and Type | Interface and Description |
---|---|
interface |
IThisPlayer
Interface to access visible player information
|
Modifier and Type | Method and Description |
---|---|
IPlayer |
IGlobalMap.getVisiblePlayer(int id,
boolean ownTeam) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IPlayer> |
IGlobalMap.getVisiblePlayers()
Get a list of all visible players
|
Modifier and Type | Class and Description |
---|---|
class |
Player
Represents a player agent on the field
|
class |
ThisPlayer
Container for this agent's information that is unique to the player this
agent is representing
|
Modifier and Type | Method and Description |
---|---|
IPlayer |
GlobalMap.getVisiblePlayer(int id,
boolean ownTeam) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IPlayer> |
GlobalMap.getVisiblePlayers() |