public class ZoneAlgorithms extends Object
Constructor and Description |
---|
ZoneAlgorithms() |
Modifier and Type | Method and Description |
---|---|
static LinkedList<Vertex> |
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.
|
public static LinkedList<Vertex> testIsolated(Graph graph, Zone zone, String[] dominatingTeams, Vertex start)
graph
- the graph the zone is created on.zone
- the zone which shall be checked.dominatingTeams
- an array of dominating teams which follows the
mapping graph.vertices(i) -> dominatingTeams(i).start
- the vertex the vertices shall be expanded from.Copyright © 2013. All Rights Reserved.