public class DisconnectedPredicate extends Object implements HGAtomPredicate, HGQueryCondition
A predicate that returns true
if the incidence set of a given atom
is empty and false
otherwise.
Constructor and Description |
---|
DisconnectedPredicate() |
public boolean satisfies(HyperGraph graph, HGHandle handle)
HGAtomPredicate
Check whether a given Object
satisfies this
query condition.
satisfies
in interface HGAtomPredicate
graph
- The HyperGraph
instance.handle
- The atom on which to test the query condition.true
if the passed in parameter satisfies
the condition and false
otherwise.Copyright © 2015. All rights reserved.