|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.opendse.model.Routings<T,R,L>
T - the type of taskR - the type of resourceL - the type of edge (in the architecture)public class Routings<T extends Task,R extends Resource,L extends Link>
The Routings maps Task elements to a subgraph of the
Architecture consisting of Resource vertices and Edge
edges.
| Field Summary | |
|---|---|
protected java.util.Map<T,Architecture<R,L>> |
map
|
| Constructor Summary | |
|---|---|
Routings()
|
|
| Method Summary | |
|---|---|
Architecture<R,L> |
get(T task)
Gets a routing for a task |
java.util.Collection<Architecture<R,L>> |
getRoutings()
Returns all routings. |
java.util.Set<T> |
getTasks()
Returns all tasks that have a routing. |
Architecture<R,L> |
remove(T task)
Removes the routing. |
void |
set(T task,
Architecture<R,L> routing)
Sets the routing for a task. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Map<T extends Task,Architecture<R extends Resource,L extends Link>> map
| Constructor Detail |
|---|
public Routings()
| Method Detail |
|---|
public void set(T task,
Architecture<R,L> routing)
task - the taskrouting - the routingpublic Architecture<R,L> get(T task)
task - the task
public Architecture<R,L> remove(T task)
task - the communication task
public java.util.Set<T> getTasks()
public java.util.Collection<Architecture<R,L>> getRoutings()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||