| Modifier and Type | Method and Description |
|---|---|
void |
addEdge(BpmnElement from,
BpmnElement to,
int weight) |
void |
addEndNode(BpmnElement node) |
void |
addStartNode(BpmnElement node) |
void |
addVertex(BpmnElement v) |
protected void |
clearVertexInfo() |
List<Path> |
getAllInvalidPaths(BpmnElement source,
AnomalyContainer anomaly)
search all paths with variables, which has not been set
source: http://codereview.stackexchange.com/questions/45678/find-all-paths-from-source-to-destination
|
Edge |
getEdge(BpmnElement from,
BpmnElement to) |
Collection<List<Edge>> |
getEdges() |
Collection<BpmnElement> |
getEndNodes() |
Map<BpmnElement,List<AnomalyContainer>> |
getNodesWithAnomalies()
get nodes with data flow anomalies
|
String |
getProcessId() |
Collection<BpmnElement> |
getStartNodes() |
Collection<BpmnElement> |
getVertices() |
boolean |
hasEdge(BpmnElement from,
BpmnElement to) |
static Map<String,InOutState> |
intersection(Map<String,InOutState> mapA,
Map<String,InOutState> mapB)
generate intersection for variable maps and remind precedence rule for variable states
|
void |
removeEdge(BpmnElement from,
BpmnElement to) |
void |
setAnomalyInformation(BpmnElement source)
set anomaly information on data flow graph
|
String |
toString() |
static Map<String,InOutState> |
unionWithStatePrecedence(Map<String,InOutState> mapA,
Map<String,InOutState> mapB)
get union and remind precedence rule for variable states
|
public Graph(String processId)
public String getProcessId()
getProcessId in interface IGraphpublic void addStartNode(BpmnElement node)
addStartNode in interface IGraphpublic Collection<BpmnElement> getStartNodes()
getStartNodes in interface IGraphpublic void addEndNode(BpmnElement node)
addEndNode in interface IGraphpublic Collection<BpmnElement> getEndNodes()
getEndNodes in interface IGraphpublic void addVertex(BpmnElement v)
public Collection<BpmnElement> getVertices()
getVertices in interface IGraphpublic Collection<List<Edge>> getEdges()
public void addEdge(BpmnElement from, BpmnElement to, int weight)
public void removeEdge(BpmnElement from, BpmnElement to)
removeEdge in interface IGraphpublic boolean hasEdge(BpmnElement from, BpmnElement to)
public Edge getEdge(BpmnElement from, BpmnElement to)
public void setAnomalyInformation(BpmnElement source)
setAnomalyInformation in interface IGraphpublic Map<BpmnElement,List<AnomalyContainer>> getNodesWithAnomalies()
getNodesWithAnomalies in interface IGraphpublic List<Path> getAllInvalidPaths(BpmnElement source, AnomalyContainer anomaly)
getAllInvalidPaths in interface IGraphpublic String toString()
protected final void clearVertexInfo()
public static Map<String,InOutState> intersection(Map<String,InOutState> mapA, Map<String,InOutState> mapB)
mapA - mapAmapB - mapBpublic static Map<String,InOutState> unionWithStatePrecedence(Map<String,InOutState> mapA, Map<String,InOutState> mapB)
mapA - mapAmapB - mapBCopyright © 2018 viadee Unternehmensberatung GmbH. All rights reserved.