Package org.graphwalker.core.condition
Class DependencyEdgeCoverage
java.lang.Object
org.graphwalker.core.condition.StopConditionBase
org.graphwalker.core.condition.DependencyCoverageStopConditionBase
org.graphwalker.core.condition.DependencyEdgeCoverage
- All Implemented Interfaces:
StopCondition
DependencyEdgeCoverage
The DependencyEdgeCoverage stop condition is fulfilled when all the edges with dependency greater than, or equal, to the dependency given as a parameter to the constructor, are visited.- Author:
- Miroslav Janeski
-
Field Summary
Fields inherited from interface org.graphwalker.core.condition.StopCondition
FULFILLMENT_LEVEL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.graphwalker.core.condition.DependencyCoverageStopConditionBase
getDependency, getDependencyAsDoubleMethods inherited from class org.graphwalker.core.condition.StopConditionBase
getContext, getValue, setContext, toString, toString
-
Constructor Details
-
DependencyEdgeCoverage
public DependencyEdgeCoverage(int dependency)
-
-
Method Details
-
isFulfilled
public boolean isFulfilled()- Specified by:
isFulfilledin interfaceStopCondition- Overrides:
isFulfilledin classStopConditionBase
-
getFulfilment
public double getFulfilment()
-