toggle menu
moonlight
1.0-SNAPSHOT
jvm
switch theme
search in API
engine
/
io.github.moonlightsuite.moonlight.io.parsing
/
AdjacencyExtractor
Adjacency
Extractor
public
class
AdjacencyExtractor
implements
ParsingStrategy
<
T
>
Parsing strategy that generates a GraphModel based on a String-based adjacency matrix
Members
Constructors
Adjacency
Extractor
Link copied to clipboard
public
void
AdjacencyExtractor
(
)
Functions
initialize
Link copied to clipboard
public
void
initialize
(
Array
<
String
>
header
)
Initialize the adjacency matrix constants (i.e.
process
Link copied to clipboard
public
void
process
(
Array
<
String
>
data
)
Takes a row of the adjacency matrix and generates related graph edges
result
Link copied to clipboard
public
ImmutableGraphModel
<
Double
>
result
(
)