public class GraphNode extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
Vector<GraphSimulationAgentState> |
agents |
int |
gridX |
int |
gridY |
String |
name |
static String |
NODE_NAME_PREFIX |
int |
weight |
int |
x |
int |
y |
Constructor and Description |
---|
GraphNode(int nameNr,
int weight,
int gridX,
int gridY,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Two nodes are considered equal if they have the same name or the same raw coordinates.
|
String |
getDominatorTeam() |
void |
setDominatorTeam(String dominatorTeam) |
public static final String NODE_NAME_PREFIX
public String name
public int x
public int y
public int weight
public Vector<GraphSimulationAgentState> agents
public int gridX
public int gridY
public GraphNode(int nameNr, int weight, int gridX, int gridY, int x, int y)
public boolean equals(Object obj)
public String getDominatorTeam()
public void setDominatorTeam(String dominatorTeam)
dominatorTeam
- the dominatorTeam to setCopyright © 2013. All Rights Reserved.