Packages

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

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ball
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Ball(srcGraph: Graph, center: Int, radius: Int)

    srcGraph

    the graph from which the ball will be created based upon center vertex and radius

    center

    the vertex picked as the center of the ball

    radius

    the radius of the ball

Value Members

  1. val borderNodes: Set[Int]
  2. val center: Int
  3. var chMap: Map[Int, Set[Int]]
  4. def getBallDiameter: Int

    Return the diameter of the ball.

  5. val nodesInBall: Set[Int]
  6. var paMap: Map[Int, Set[Int]]
  7. 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

  8. 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

  9. def printBall(): Unit

    Print the ball.

  10. def toString(): String

    Convert the ball into a string.

    Convert the ball into a string.

    Definition Classes
    Ball → AnyRef → Any