@FunctionalInterface public interface FragmentSetOptimisation
EquivalentFragmentSets.| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Collection<EquivalentFragmentSet> fragmentSets,
GraknTx tx)
Apply the optimisation to the given
EquivalentFragmentSets using the given GraknTx. |
boolean apply(Collection<EquivalentFragmentSet> fragmentSets, GraknTx tx)
EquivalentFragmentSets using the given GraknTx.
The strategy may modify the collection. If it does, it will return true, otherwise it will return
false.
fragmentSets - a mutable collection of EquivalentFragmentSetstx - the GraknTx that these EquivalentFragmentSets are going to operate againstfragmentSets was modifiedCopyright © 2017 Grakn Labs Ltd. All rights reserved.