public class HypergraphReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
as_list
If
true , specifies that each line of input implicitly
represents a list of edges, where the first token specifies one endpoint,
and the subsequent tokens specify a sequence of opposite endpoints. |
protected UserDataContainer.CopyAction |
copy_action |
protected boolean |
edge_first |
static java.lang.Object |
LABEL |
protected boolean |
verbose |
Constructor and Description |
---|
HypergraphReader() |
HypergraphReader(boolean as_list,
boolean edge_first,
UserDataContainer.CopyAction copy_action) |
Modifier and Type | Method and Description |
---|---|
Hypergraph |
load(java.io.Reader reader) |
void |
setVerboseMode(boolean b) |
public static final java.lang.Object LABEL
protected boolean verbose
protected boolean as_list
If true
, specifies that each line of input implicitly
represents a list of edges, where the first token specifies one endpoint,
and the subsequent tokens specify a sequence of opposite endpoints.
Otherwise, each line of input represents a single edge.
protected boolean edge_first
protected UserDataContainer.CopyAction copy_action
public HypergraphReader(boolean as_list, boolean edge_first, UserDataContainer.CopyAction copy_action)
as_list
- edge_first
- copy_action
- public HypergraphReader()
public Hypergraph load(java.io.Reader reader) throws java.io.IOException
reader
- java.io.IOException
public void setVerboseMode(boolean b)