edu
.
cmu
.
ml
.
rtw
.
pra
.
graphs
GraphDensifier
Related Doc:
package graphs
class
GraphDensifier
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
GraphDensifier
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
GraphDensifier
(
praBase:
String
,
graphDir:
String
,
name:
String
,
outputter:
Outputter
,
fileUtil:
FileUtil
=
new FileUtil
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
createSparseVector
(
relations:
Set
[
Int
]
)
:
SparseVector
[
Double
]
def
densifyGraph
(
params:
JValue
)
:
Unit
val
edge_dict
:
MutableConcurrentDictionary
def
emptyMatrixBuilder
()
:
Builder
[
Double
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
implicit
val
formats
:
DefaultFormats
.type
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getNameFromEmbeddings
(
params:
JValue
)
:
String
def
getSimilarityMatrixFile
(
params:
JValue
)
:
String
def
getTestEdges
(
graph_dir:
String
,
split_name:
String
,
metadata:
String
)
:
Set
[(
Int
,
Int
,
Int
)]
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
inProgressFile
:
String
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
matrixDir
:
String
val
maxMatrixFileSize
:
Int
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
node_dict
:
MutableConcurrentDictionary
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
paramFile
:
String
def
readGraphEdges
(
edge_file:
String
,
test_edges:
Set
[(
Int
,
Int
,
Int
)]
)
:
Map
[(
Int
,
Int
),
SparseVector
[
Double
]]
def
readSimilarityMatrix
(
filename:
String
)
:
CSCMatrix
[
Double
]
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
(
...
)
def
writeEdgesSoFar
(
_start_relation:
Int
,
end_relation:
Int
,
edges_to_write:
Seq
[
Set
[(
Int
,
Int
,
Double
)]]
)
:
Unit
Inherited from
AnyRef
Inherited from
Any
Ungrouped