Package | Description |
---|---|
mas.agentsHempelsSofa.algorithms |
This package contains general algorithms used by the agents.
|
mas.agentsHempelsSofa.data.zone |
This package contains data structures to define a zone.
|
mas.agentsHempelsSofa.util |
This package contains technical utilities.
|
Modifier and Type | Method and Description |
---|---|
static LinkedList<Vertex> |
ZoneAlgorithms.testIsolated(Graph graph,
Zone zone,
String[] dominatingTeams,
Vertex start)
tests whether vertices in the zone is isolated by a frontier. this fails,
if there are no enemy vertices known yet.
|
Modifier and Type | Method and Description |
---|---|
Zone |
ZoneManager.getBiggestEnemyZone() |
Zone |
ZoneManager.getBiggestZone() |
Zone |
ZoneManager.getMostPreciousEnemyZone() |
Zone |
ZoneManager.getMostPreciousZone() |
Zone |
ZoneManager.getZone(AgentToken agent) |
Zone |
ZoneManager.getZone(Vertex vertex) |
Modifier and Type | Method and Description |
---|---|
LinkedList<Zone> |
ZoneManager.getZones() |
Modifier and Type | Method and Description |
---|---|
boolean |
Zone.isAdjacentTo(Zone z)
A zone is adjacent to another zone if one vertex out of the one zone is
adjacent to a vertex out of the other zone.
|
void |
Zone.union(Zone z)
unions two zones.
|
Modifier and Type | Method and Description |
---|---|
void |
ZoneManager.setZones(LinkedList<Zone> zones) |
Modifier and Type | Method and Description |
---|---|
eis.iilang.Action |
ActionGenerator.destroyZone(Zone targetZone)
generates an action which contributes to destroying a target zone
|
int |
ActionGenerator.determineConnectivity(Vertex vertex,
Zone zone)
this method tells with how many frontier agents of a zone a vertex is
connected when you call this method from an agents surrounding.
|
eis.iilang.Action |
ActionGenerator.determineExpansion(Zone zone)
determines whether an agent on the frontier of the zone should try to
expand, parry, survey or recharge
|
eis.iilang.Action |
ActionGenerator.expandZoneAtRandom(Zone zone)
generates a random goto action to the outside of the Zone if Agent is on
frontier agent @ inside of zone: -> move towards frontier agent @ outside
of zone: -> move towards frontier error: -> randomWalk()
|
eis.iilang.Action |
ActionGenerator.expandZoneBySize(Zone zone)
creates an goto action to a vertex outside that will expand the Zone by
moving to a Node outside of the Zone
|
eis.iilang.Action |
ActionGenerator.expandZoneByValue(Zone zone)
creates an gotoAction towards a probably very precious Vertex outside of
the Zone this vertex' value is guessed by the value of its neighbours
|
eis.iilang.Action |
ActionGenerator.stabilizeZone(Zone zone)
picks a vertex that is well connected to the current zone and goes
towards it
|
Copyright © 2013. All Rights Reserved.