slib.sglib.utils
Class WalkConstraintUtils
java.lang.Object
slib.sglib.utils.WalkConstraintUtils
public class WalkConstraintUtils
- extends Object
- Author:
- Harispe Sébastien
Method Summary |
static slib.sglib.model.graph.utils.WalkConstraint |
copy(slib.sglib.model.graph.utils.WalkConstraint walkConstraint)
|
static slib.sglib.model.graph.utils.WalkConstraint |
getInverse(slib.sglib.model.graph.utils.WalkConstraint wc,
boolean includeBOTHpredicate)
Build a WalkConstraint object corresponding to the inverse of the
current object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WalkConstraintUtils
public WalkConstraintUtils()
getInverse
public static slib.sglib.model.graph.utils.WalkConstraint getInverse(slib.sglib.model.graph.utils.WalkConstraint wc,
boolean includeBOTHpredicate)
- Build a
WalkConstraint
object corresponding to the inverse of the
current object.
Definition of an inverse follows:
- Accepted Predicate are unchanged
- Direction associated to accepted predicate are the inverse of those
defined: IN -> OUT, OUT -> IN, BOTH -> BOTH (if boolean
includeBOTHpredicate is set to true)
- Parameters:
includeBOTHpredicate
- defines if the predicated associated to a
direction Direction.BOTH
must also be included
- Returns:
- a
WalkConstraint
object corresponding to the inverse of
this one, see definition below
copy
public static slib.sglib.model.graph.utils.WalkConstraint copy(slib.sglib.model.graph.utils.WalkConstraint walkConstraint)
Copyright © 2013. All Rights Reserved.