public abstract class DagLib extends Object
Constructor and Description |
---|
DagLib() |
Modifier and Type | Method and Description |
---|---|
static <Id,Node> Dag<Id,Node> |
dag(IdDag<Id> idDag,
com.google.common.collect.ImmutableBiMap<Id,Node> id__node)
Create a Dag from the nested IdDag (the arc structure) and the mapping between id and node.
|
static <Id,Node extends DownNode<Id>> |
down(com.google.common.collect.ImmutableSet<Node> nodeSet)
Create a Dag from an DownNode set.
|
static <Id,Node extends DownNode<Id>> |
down(Iterable<Node> nodeIterable)
Create a Dag from an DownNode iterable.
|
static <Id,Node extends DownNode<Id>> |
down(Node... nodeArray)
Create a Dag from an DownNode array.
|
static <Id,Node extends DownNode<Id>> |
down(Set<Node>... dags)
Create a Dag from the union of multiple DownNode sets (remember that Dag<Node>
extends Set<Node>).
|
static <Id,Node extends UpNode<Id>> |
up(com.google.common.collect.ImmutableSet<Node> nodeSet)
Create a Dag from an UpNode set.
|
static <Id,Node extends UpNode<Id>> |
up(Iterable<Node> nodeIterable)
Create a Dag from an UpNode iterable.
|
static <Id,Node extends UpNode<Id>> |
up(Node... nodeArray)
Create a Dag from an UpNode array.
|
static <Id,Node extends UpNode<Id>> |
up(Set<Node>... dags)
Create a Dag from the union of multiple UpNode sets (remember that Dag<Node> extends
Set<Node>).
|
public static <Id,Node> Dag<Id,Node> dag(IdDag<Id> idDag, com.google.common.collect.ImmutableBiMap<Id,Node> id__node)
public static <Id,Node extends UpNode<Id>> Dag<Id,Node> up(com.google.common.collect.ImmutableSet<Node> nodeSet)
public static <Id,Node extends UpNode<Id>> Dag<Id,Node> up(Iterable<Node> nodeIterable)
@SafeVarargs public static <Id,Node extends UpNode<Id>> Dag<Id,Node> up(Node... nodeArray)
@SafeVarargs public static <Id,Node extends UpNode<Id>> Dag<Id,Node> up(Set<Node>... dags)
public static <Id,Node extends DownNode<Id>> Dag<Id,Node> down(com.google.common.collect.ImmutableSet<Node> nodeSet)
public static <Id,Node extends DownNode<Id>> Dag<Id,Node> down(Iterable<Node> nodeIterable)
@SafeVarargs public static <Id,Node extends DownNode<Id>> Dag<Id,Node> down(Node... nodeArray)
@SafeVarargs public static <Id,Node extends DownNode<Id>> Dag<Id,Node> down(Set<Node>... dags)
Copyright © 2014. All rights reserved.