Class/Object

scroll.internal.graph

CachedScalaRoleGraph

Related Docs: object CachedScalaRoleGraph | package graph

Permalink

class CachedScalaRoleGraph extends ScalaRoleGraph with Memoiser

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CachedScalaRoleGraph
  2. Memoiser
  3. ScalaRoleGraph
  4. RoleGraph
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CachedScalaRoleGraph(checkForCycles: Boolean = true)

    Permalink

Type Members

  1. trait IdMemoised[T, U] extends MemoisedBase[T, U]

    Permalink
    Definition Classes
    Memoiser
  2. trait Memoised[T, U] extends MemoisedBase[T, U]

    Permalink
    Definition Classes
    Memoiser
  3. trait MemoisedBase[T, U] extends AnyRef

    Permalink
    Definition Classes
    Memoiser

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addBinding[P <: AnyRef, R <: AnyRef](player: P, role: R)(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[P], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[R]): Unit

    Permalink

    Adds a plays relationship between core and role.

    Adds a plays relationship between core and role.

    P

    type of the player

    R

    type of the role

    player

    the player instance to add the given role

    role

    the role instance to add

    Definition Classes
    CachedScalaRoleGraphScalaRoleGraphRoleGraph
  5. def allPlayers: Seq[Any]

    Permalink

    Returns a Seq of all players

    Returns a Seq of all players

    returns

    a Seq of all players

    Definition Classes
    ScalaRoleGraphRoleGraph
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def containsPlayer(player: Any): Boolean

    Permalink

    Checks if the role graph contains the given player.

    Checks if the role graph contains the given player.

    player

    the player instance to check

    returns

    true if the role graph contains the given player, false otherwise

    Definition Classes
    CachedScalaRoleGraphScalaRoleGraphRoleGraph
  9. def detach(other: RoleGraph): Unit

    Permalink

    Removes all players and plays-relationships specified in other from this RoleGraph.

    Removes all players and plays-relationships specified in other from this RoleGraph.

    other

    the RoleGraph all players and plays-relationships specified in should removed from this

    Definition Classes
    CachedScalaRoleGraphScalaRoleGraphRoleGraph
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getPredecessors(player: Any)(implicit dispatchQuery: DispatchQuery): List[Any]

    Permalink

    Returns a list of all predecessors of the given player, i.e.

    Returns a list of all predecessors of the given player, i.e. a transitive closure of its cores (deep roles).

    player

    the player instance to calculate the cores of

    dispatchQuery

    the strategy used to get all predecessors while traversing the role-playing graph, standard is DFS

    returns

    a list of all predecessors of the given player

    Definition Classes
    CachedScalaRoleGraphScalaRoleGraphRoleGraph
  15. def getRoles(player: Any)(implicit dispatchQuery: DispatchQuery): Set[Any]

    Permalink

    Returns a Set of all roles attached to the given player (core object).

    Returns a Set of all roles attached to the given player (core object).

    player

    the player instance to get the roles for

    dispatchQuery

    the strategy used to get all roles while traversing the role-playing graph, standard is DFS

    returns

    a Set of all roles of core

    Definition Classes
    CachedScalaRoleGraphScalaRoleGraphRoleGraph
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def merge(other: RoleGraph): Unit

    Permalink

    Merges this with another RoleGraph given as other.

    Merges this with another RoleGraph given as other.

    other

    the RoleGraph to merge with.

    Definition Classes
    CachedScalaRoleGraphScalaRoleGraphRoleGraph
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def removeBinding[P <: AnyRef, R <: AnyRef](player: P, role: R)(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[P], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[R]): Unit

    Permalink

    Removes a plays relationship between core and role.

    Removes a plays relationship between core and role.

    player

    the player instance to remove the given role from

    role

    the role instance to remove

    Definition Classes
    CachedScalaRoleGraphScalaRoleGraphRoleGraph
  23. def removePlayer[P <: AnyRef](player: P)(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[P]): Unit

    Permalink

    Removes the given player from the graph.

    Removes the given player from the graph. This should remove its binding too!

    player

    the player to remove

    Definition Classes
    CachedScalaRoleGraphScalaRoleGraphRoleGraph
  24. val store: SimpleDirectedGraph[Any, DefaultEdge]

    Permalink
    Definition Classes
    ScalaRoleGraphRoleGraph
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Memoiser

Inherited from ScalaRoleGraph

Inherited from RoleGraph

Inherited from AnyRef

Inherited from Any

Ungrouped