edu.cmu.ml.rtw.pra.features.extractors

PraFeatureExtractor

class PraFeatureExtractor extends NodePairFeatureExtractor

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PraFeatureExtractor
  2. NodePairFeatureExtractor
  3. FeatureExtractor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PraFeatureExtractor(params: JValue)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def extractFeatures(instance: NodePairInstance, subgraph: Subgraph): Seq[String]

    Definition Classes
    PraFeatureExtractorFeatureExtractor
  11. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  13. def getFeatureMatcher(feature: String, startFromSourceNode: Boolean, graph: Graph): Option[FeatureMatcher[NodePairInstance]]

    This method essentially goes backward from a FeatureExtractor.

    This method essentially goes backward from a FeatureExtractor. FeatureExtractor.extractFeatures lets you take a subgraph and get features out. This method takes features in, then lets you filter the graph to only subgraphs that would have generated this feature.

    The default implementation here is to return None, and we will override it in the few cases where I've put in the effort to make feature matching work.

    I originally had this as part of FeatureExtractor, with this overriding a base method there. But, I need to have startFromSourceNode as part of this method, and it's not applicable to NodeInstances. So, I'm just putting it here on this class.

    feature

    A string description of the feature we're trying to match. If the extractor did not produce this string, or the feature is otherwise unmatchable, we will return None.

    startFromSourceNode

    We could be given either the source node or the target node and asked to match features; this tells us which one we're trying to match.

    graph

    The graph is necessary to go from the human-readable string representation of the feature to actual edge ids.

    Definition Classes
    PraFeatureExtractorNodePairFeatureExtractor
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. val includeNodes: Boolean

  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NodePairFeatureExtractor

Inherited from AnyRef

Inherited from Any

Ungrouped