edu
.
cmu
.
ml
.
rtw
.
pra
.
features
NodePairBfsPathFinder
class
NodePairBfsPathFinder
extends
BfsPathFinder
[
NodePairInstance
]
Linear Supertypes
BfsPathFinder
[
NodePairInstance
],
PathFinder
[
NodePairInstance
],
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
NodePairBfsPathFinder
BfsPathFinder
PathFinder
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
NodePairBfsPathFinder
(
params:
JValue
,
relation:
String
,
relationMetadata:
RelationMetadata
,
outputter:
Outputter
,
fileUtil:
FileUtil
=
new com.mattg.util.FileUtil()
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
val
allowedKeys
:
Seq
[
String
]
Definition Classes
BfsPathFinder
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
bfsFromNode
(
graph:
Graph
,
factory:
PathTypeFactory
,
source:
Int
,
target:
Int
,
unallowedRelations:
Set
[
Int
]
,
resultsByPathType:
HashMap
[
PathType
,
HashSet
[(
Int
,
Int
)]]
)
:
Map
[
Int
,
HashSet
[
PathType
]]
Definition Classes
BfsPathFinder
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
createPathTypeFactory
(
params:
JValue
,
graph:
Graph
)
:
PathTypeFactory
Definition Classes
BfsPathFinder
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
factoryParams
:
JValue
Definition Classes
BfsPathFinder
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
findPaths
(
data:
Dataset
[
NodePairInstance
]
)
:
Unit
Definition Classes
BfsPathFinder
→
PathFinder
def
finished
()
:
Unit
Definition Classes
BfsPathFinder
→
PathFinder
implicit
val
formats
:
DefaultFormats
.type
Definition Classes
BfsPathFinder
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getLocalSubgraph
(
instance:
NodePairInstance
)
:
Subgraph
Definition Classes
BfsPathFinder
→
PathFinder
def
getLocalSubgraphs
()
:
Map
[
NodePairInstance
,
Subgraph
]
Definition Classes
BfsPathFinder
→
PathFinder
def
getPathCountMap
()
:
Map
[
NodePairInstance
,
Map
[
PathType
,
Integer
]]
Definition Classes
BfsPathFinder
→
PathFinder
def
getPathCounts
()
:
Map
[
PathType
,
Integer
]
Definition Classes
BfsPathFinder
→
PathFinder
def
getSubgraphForInstance
(
instance:
NodePairInstance
)
:
Map
[
PathType
,
Set
[(
Int
,
Int
)]]
Definition Classes
NodePairBfsPathFinder
→
BfsPathFinder
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
logLevel
:
Int
Definition Classes
BfsPathFinder
val
maxFanOut
:
Int
Definition Classes
BfsPathFinder
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
nodePairMatchesInstance
(
pair: (
Int
,
Int
)
,
instance:
NodePairInstance
)
:
Boolean
Definition Classes
NodePairBfsPathFinder
→
BfsPathFinder
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
numSteps
:
Int
Definition Classes
BfsPathFinder
var
results
:
Map
[
NodePairInstance
,
Subgraph
]
Definition Classes
BfsPathFinder
def
runBfs
(
data:
Dataset
[
NodePairInstance
]
)
:
Map
[
NodePairInstance
,
Subgraph
]
Definition Classes
BfsPathFinder
def
shouldSkip
(
source:
Int
,
target:
Int
,
node1:
Int
,
node2:
Int
,
relation:
Int
,
exclude:
Set
[
Int
]
)
:
Boolean
Definition Classes
BfsPathFinder
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
BfsPathFinder
[
NodePairInstance
]
Inherited from
PathFinder
[
NodePairInstance
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped