com.twitter.cassovary.graph

labels

package labels

Visibility
  1. Public
  2. All

Type Members

  1. class ArrayBasedLabel[L] extends Label[Int, L] with HasMaxId

    A subtype of Label that uses an underlying array to map an integer id to the value associated with that id.

  2. class ArrayBasedPartialLabel[L] extends ArrayBasedLabel[L] with BitSetBasedPartialLabel[L]

    Backed by an array, but allows some ids to have undefined ('None') value (the ids present are tracked by a bitset).

  3. class BitSetBasedFlagLabel extends TrueLabel[Int] with BitSetBasedPartialLabel[Boolean] with HasMaxId

    A partially defined flag label backed by a bitset.

  4. trait BitSetBasedPartialLabel[L] extends PartialLabel[Int, L]

    A partially defined label containing values of type L.

  5. class FlagLabel[ID] extends TrueLabel[ID] with PartialLabel[ID, Boolean]

    This label is suitable to keep a 'flag' type label which some ids have and others don't.

  6. trait HasMaxId extends AnyRef

  7. trait Label[ID, L] extends Map[ID, L]

    A trait to support adding labels to nodes and edges.

  8. class Labels[ID] extends AnyRef

  9. class MapBasedLabel[ID, L] extends HashMap[ID, L] with Label[ID, L]

  10. trait PartialLabel[ID, L] extends Label[ID, L]

  11. abstract class TrueLabel[ID] extends Label[ID, Boolean]

Ungrouped