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