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