Class

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

OneSidedPathOnlyFeatureExtractor

Related Doc: package extractors

Permalink

class OneSidedPathOnlyFeatureExtractor extends NodePairFeatureExtractor

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OneSidedPathOnlyFeatureExtractor
  2. NodePairFeatureExtractor
  3. FeatureExtractor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OneSidedPathOnlyFeatureExtractor(outputter: Outputter)

    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. final def asInstanceOf[T0]: T0

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

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

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

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

    Permalink
  9. def finalize(): Unit

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

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

    Permalink

    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
    NodePairFeatureExtractor
  12. def hashCode(): Int

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

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

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

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

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

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

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

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

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

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

Inherited from NodePairFeatureExtractor

Inherited from AnyRef

Inherited from Any

Ungrouped