Class

edu.illinois.cs.cogcomp.saul.datamodel.node

Node

Related Doc: package node

Permalink

class Node[T <: AnyRef] extends Logging

Represents an node in the data model graph.

T

Type of the data represented in the node.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Node
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Node(keyFunc: (T) ⇒ Any = (x: T) => x, tag: ClassTag[T])

    Permalink

    keyFunc

    Key function to distinguish between different objects in the collection.

    tag

    ClassTag

Type Members

  1. type NT = NodeInstance[T]

    Permalink
  2. type instanceType = T

    Permalink

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 addInstance(instance: T, train: Boolean = true, populateEdge: Boolean = true): Unit

    Permalink

    Adds an instance to the the Node.

    Adds an instance to the the Node.

    instance

    Node instance.

    train

    If the instance is a training instance.

    populateEdge

    If populating edges from the current Node.

  5. def apply(ts: Iterable[T]): BasicSet[T]

    Permalink
  6. def apply(t: T): SingletonSet[T]

    Permalink
  7. def apply(): NodeSet[T]

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def between(t1: T, t2: T, filter: Iterable[(T) ⇒ Any]): List[Option[T]]

    Permalink
  10. def clear(): Unit

    Permalink
  11. def clearPropertyCache(): Unit

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def contains(t: T): Boolean

    Permalink
  14. def deriveInstances(properties: List[Property[_]]): Unit

    Permalink
  15. val derivedInstances: HashMap[Int, FeatureVector]

    Permalink
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def filterNode(property: DiscreteProperty[T], value: String): Node[T]

    Permalink
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def getAllInstances: Iterable[T]

    Permalink
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getTestingInstances: Iterable[T]

    Permalink
  23. def getTrainingInstances: Iterable[T]

    Permalink
  24. def getWithRelativePosition(t: T, relativePos: Int, filters: Iterable[(T) ⇒ Any]): Option[T]

    Permalink
  25. def getWithRelativePosition(t: T, relativePos: Int): Option[T]

    Permalink
  26. def getWithWindow(t: T, before: Int, after: Int, filters: Iterable[(T) ⇒ Any]): List[Option[T]]

    Permalink
  27. def getWithWindow(t: T, before: Int, after: Int, filterSym: (T) ⇒ Any): List[Option[T]]

    Permalink
  28. def getWithWindow(t: T, before: Int, after: Int): List[Option[T]]

    Permalink
  29. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  30. val incoming: ArrayBuffer[Edge[_, T]]

    Permalink
  31. lazy val internalLogger: Logger

    Permalink
    Definition Classes
    Logging
  32. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  33. val joinNodes: ArrayBuffer[JoinNode[_, _]]

    Permalink
  34. val keyFunc: (T) ⇒ Any

    Permalink

    Key function to distinguish between different objects in the collection.

  35. def loadDerivedInstances(in: ExceptionlessInputStream): Unit

    Permalink
  36. object logger

    Permalink
    Definition Classes
    Logging
  37. object loggerConfig

    Permalink

    Simple logback configuration.

    Simple logback configuration. Hopefully this will be discoverable by just typing loggerConfig.[TAB]

    Examples: format: OFF

    loggerConfig.Logger("org.apache.spark").setLevel(Level.WARN)
    
    loggerConfig.Logger().addAppender(
      loggerConfig.newPatternLayoutEncoder("%-5level [%thread]: %message%n"),
      loggerConfig.newConsoleAppender
    )

    format: ON

    Definition Classes
    Logging
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. def nextOf(t: T, filters: List[Symbol]): Option[T]

    Permalink
  40. val nodeOfTypeT: Node[T]

    Permalink

    Relational operators

  41. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  43. val orderingMap: Map[Int, NodeInstance[T]]

    Permalink
  44. val outgoing: ArrayBuffer[Edge[T, _]]

    Permalink
  45. def populate(ts: Iterable[T], train: Boolean = true, populateEdge: Boolean = true): Unit

    Permalink

    Operator for adding a sequence of T into my table.

  46. def populateFrom(n: Node[_]): Unit

    Permalink
  47. def prevOf(t: T, filters: List[Symbol]): Option[T]

    Permalink
  48. val properties: ArrayBuffer[NodeProperty[T]]

    Permalink
  49. final val propertyCacheList: ListBuffer[HashMap[_, Any]]

    Permalink

    list of hashmaps used inside properties for caching sensor values

  50. val reverseOrderingMap: Map[NodeInstance[T], Int]

    Permalink
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  52. val tag: ClassTag[T]

    Permalink

    ClassTag

  53. val testingSet: LinkedHashSet[NodeInstance[T]]

    Permalink
  54. def toNT(t: T): NT

    Permalink
  55. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  56. val trainingSet: LinkedHashSet[NodeInstance[T]]

    Permalink
  57. def underSameParent(t: T, x: T, filters: Iterable[(T) ⇒ Any]): Boolean

    Permalink
  58. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. def writeDerivedInstances(out: ExceptionlessOutputStream): Unit

    Permalink

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped