public class PathListColoring extends Object implements ColoringScheme
| Constructor and Description |
|---|
PathListColoring(de.tum.ei.lkn.eces.core.Controller controller)
Creates a new PathListColoring.
|
PathListColoring(de.tum.ei.lkn.eces.core.Controller controller,
int maxValue)
Creates a new PathListColoring.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getColor(de.tum.ei.lkn.eces.graph.Edge edge)
Gets the color of an edge.
|
boolean |
isPolling(de.tum.ei.lkn.eces.graph.Edge edge)
Whether the server should poll for updates
|
public PathListColoring(de.tum.ei.lkn.eces.core.Controller controller,
int maxValue)
controller - Controller responsible for handling this scheme.maxValue - maxValue to be used by the coloring class.public PathListColoring(de.tum.ei.lkn.eces.core.Controller controller)
controller - Controller responsible for handling this scheme.public String getColor(de.tum.ei.lkn.eces.graph.Edge edge)
ColoringSchemegetColor in interface ColoringSchemeedge - Given Edge.public boolean isPolling(de.tum.ei.lkn.eces.graph.Edge edge)
ColoringSchemeisPolling in interface ColoringSchemeedge - Given Edge.Copyright © 2021. All rights reserved.