filter

abstract fun filter(matches: List<Map<HashString, ITreeNode<out Any>>>, validNodes: List<ILsaNode>, retrieved: List<Map<ILsaNode, List<ILsaMolecule>>>): Boolean(source)

When this method is called, the condition must filter the current matches and allowed nodes.

Return

true if the condition is valid, false otherwise

Parameters

matches

current matches. This map may be modified

validNodes

the list of the valid neighbors. This list may be modified

retrieved

the list of the the molecules removed for each node for each possible binding