thea graph from which the ball will be created based upon center vertex and radius
the vertex picked as center
the radius of the ball
Get the ball in a string format.
Returns the diameter of the ball.
Returns the set of children of vertex 'v'.
Returns the set of children of vertex 'v'.
the identifier of the input vertex
Returns the set of parents of vertex 'v'.
Returns the set of parents of vertex 'v'.
the identifier of the input vertex
Print the ball.
The
Ball
class provides an implementation for ball construction. A ball consists of all vertices within a given radius of a given center.http://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