java.lang.Object
de.grogra.xl.impl.base.FirstLastScale
This class contains the first and last nodes of a produced graph at a particular scale.
This class is part of the extension of XL for multiscale modelling.
- Since:
- 18-04-2013
- Author:
- yongzhi ong
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFirstDeepNode
(Object node) void
int
getDepth()
boolean
int
void
int
void
popNoEncoarse
(Object node) void
pushIStack
(int value) void
pushNoEncoarse
(Object node) void
pushOStack
(Object obj) void
setFirstNode
(Object node) void
setFirstPart
(boolean isFirstPart) void
setLastNode
(Object node) void
setPrevNode
(Object node) void
setStdEdgeType
(int stdEdgeType)
-
Constructor Details
-
FirstLastScale
Constructor- Parameters:
model
-currDepth
- - depth of production when this FirstLastScale is added
-
-
Method Details
-
getPrevNode
-
setPrevNode
-
getFirstNode
-
setFirstNode
-
getLastNode
-
setLastNode
-
incrementDepth
public void incrementDepth() -
decrementDepth
public void decrementDepth() -
getDepth
public int getDepth() -
addFirstDeepNode
-
getFirstDeepNodes
-
getFirstPart
public boolean getFirstPart() -
setFirstPart
public void setFirstPart(boolean isFirstPart) -
pushIStack
public void pushIStack(int value) -
popIStack
public int popIStack() -
pushOStack
-
popOStack
-
getStdEdgeType
public int getStdEdgeType() -
setStdEdgeType
public void setStdEdgeType(int stdEdgeType) -
pushNoEncoarse
-
popNoEncoarse
-
getNoEncoarseNodes
-