Trait

edu.illinois.cs.cogcomp.saul.datamodel

DataModel

Related Doc: package datamodel

Permalink

trait DataModel extends Logging

Represents the data model that stores the data object graph. Extend this trait to define nodes and edges for representing data for a learning problem.

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

Type Members

  1. class PropertyApply[T <: AnyRef] extends AnyRef

    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. val PID: Symbol

    Permalink
  5. def addFromModel[T <: DataModel](dataModel: T): Unit

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clearInstances(): Unit

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val defaultDIFilePath: String

    Permalink
  10. def deriveInstances(): Unit

    Permalink
  11. def edge[A <: AnyRef, B <: AnyRef](a: Node[A], b: Node[B], name: Symbol = 'default): Edge[A, B]

    Permalink

    edges

  12. final val edges: ListBuffer[Edge[_, _]]

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. var hasDerivedInstances: Boolean

    Permalink

    Methods for caching Data Model

  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. lazy val internalLogger: Logger

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

    Permalink
    Definition Classes
    Any
  21. def join[A <: AnyRef, B <: AnyRef](a: Node[A], b: Node[B])(matcher: (A, B) ⇒ Boolean)(implicit tag: ClassTag[(A, B)]): Node[(A, B)]

    Permalink
  22. def load(filePath: String = defaultDIFilePath): Unit

    Permalink
  23. object logger

    Permalink
    Definition Classes
    Logging
  24. 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
  25. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def node[T <: AnyRef](keyFunc: (T) ⇒ Any)(implicit tag: ClassTag[T]): Node[T]

    Permalink
  27. def node[T <: AnyRef](implicit tag: ClassTag[T]): Node[T]

    Permalink

    node definitions

  28. final val nodes: ListBuffer[Node[_]]

    Permalink
  29. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  31. final val properties: ListBuffer[NodeProperty[_]]

    Permalink
  32. def property[T <: AnyRef](node: Node[T], name: String = "prop" + properties.size, cache: Boolean = false, ordered: Boolean = false): PropertyApply[T]

    Permalink
  33. def select[T <: AnyRef](node: Node[T], conditions: EvaluatedProperty[T, _]*): List[T]

    Permalink
  34. def symmEdge[A <: AnyRef](a: Node[A], b: Node[A], name: Symbol = 'default): Edge[A, A]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def write(filePath: String = defaultDIFilePath): Unit

    Permalink

Deprecated Value Members

  1. def getFromRelation[T <: AnyRef, HEAD <: AnyRef](name: Symbol, t: T)(implicit tag: ClassTag[T], headTag: ClassTag[HEAD]): Iterable[HEAD]

    Permalink
    Annotations
    @deprecated
    Deprecated
  2. def getFromRelation[FROM <: AnyRef, NEED <: AnyRef](t: FROM)(implicit tag: ClassTag[FROM], headTag: ClassTag[NEED]): Iterable[NEED]

    Permalink
    Annotations
    @deprecated
    Deprecated
  3. def getNodeWithType[T <: AnyRef](implicit tag: ClassTag[T]): Node[T]

    Permalink
    Annotations
    @deprecated
    Deprecated
  4. def getPropertiesForType[T <: AnyRef](implicit tag: ClassTag[T]): List[Property[T]]

    Permalink
    Annotations
    @deprecated
    Deprecated

    Use node.properties to get the properties for a specific node

  5. def getRelatedFieldsBetween[T <: AnyRef, U <: AnyRef](implicit fromTag: ClassTag[T], toTag: ClassTag[U]): Iterable[Link[T, U]]

    Permalink
    Annotations
    @deprecated
    Deprecated
  6. def populate[T <: AnyRef](node: Node[T], coll: Seq[T]): Unit

    Permalink
    Annotations
    @deprecated
    Deprecated

    Use node.populate() instead.

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped