class Ball extends AnyRef
The Ball
class provides an implementation for ball construction.
A ball consists of all vertices within a given radius of a given center.
- See also
ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6691601&tag=1&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2Fabs_all.jsp%3Farnumber%3D6691601%26tag%3D1
- Alphabetic
- By Inheritance
- Ball
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
- val borderNodes: Set[Int]
- val center: Int
- var chMap: Map[Int, Set[Int]]
-
def
getBallDiameter: Int
Return the diameter of the ball.
- val nodesInBall: Set[Int]
- var paMap: Map[Int, Set[Int]]
-
def
post(v: Int): Set[Int]
Return the set of children of vertex 'v'.
Return the set of children of vertex 'v'.
- v
the identifier of the input vertex
-
def
pre(v: Int): Set[Int]
Return the set of parents of vertex 'v'.
Return the set of parents of vertex 'v'.
- v
the identifier of the input vertex
-
def
printBall(): Unit
Print the ball.
-
def
toString(): String
Convert the ball into a string.
Convert the ball into a string.
- Definition Classes
- Ball → AnyRef → Any