Class ParseClanTree
- java.lang.Object
-
- repast.simphony.visualization.cgd.util.ParseClanTree
-
public class ParseClanTree extends Object
-
-
Field Summary
Fields Modifier and Type Field Description double
centerx
Clan
clan
boolean
dummy
double
extraheight
ParseClanTree
firstChild
int
heightInTree
ParseClanTree
leftSibling
double
maxx
double
minx
ParseClanTree
nextSibling
ParseClanTree
parent
Point2D.Double
position
Point2D.Double
size
-
Constructor Summary
Constructors Constructor Description ParseClanTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(ParseClanTree newnode)
void
addClan(Clan clan)
void
fixLinear(TreeSet node_subset, TreeSet[] child_relation, TreeSet[] parent_relation)
void
reduce()
void
reorder()
void
setId(int _id)
String
toString()
String
toString(CGDGraph graph)
-
-
-
Field Detail
-
parent
public ParseClanTree parent
-
firstChild
public ParseClanTree firstChild
-
nextSibling
public ParseClanTree nextSibling
-
clan
public Clan clan
-
minx
public double minx
-
maxx
public double maxx
-
centerx
public double centerx
-
leftSibling
public ParseClanTree leftSibling
-
size
public Point2D.Double size
-
position
public Point2D.Double position
-
extraheight
public double extraheight
-
dummy
public boolean dummy
-
heightInTree
public int heightInTree
-
-
Method Detail
-
addClan
public void addClan(Clan clan)
-
addChild
public void addChild(ParseClanTree newnode)
-
fixLinear
public void fixLinear(TreeSet node_subset, TreeSet[] child_relation, TreeSet[] parent_relation)
-
reduce
public void reduce()
-
setId
public void setId(int _id)
-
reorder
public void reorder()
-
-