private boolean canBePlacedAtPosition(final boolean requiresAllBound,final GroupNodeVarBindingInfo bindingInfo,final HashSet<IVariable<?>> knownBound,final Map<IVariable<?>,Integer> remainingMaybeBound,int i){
  final Set<IVariable<?>> leftToBeBound=bindingInfo.leftToBeBound(knownBound);
  if (leftToBeBound.isEmpty()) {
    return true;
  }
  if (!requiresAllBound) {
    boolean moreCanBeBound=false;
    final Set<IVariable<?>> canBeBound=remainingMaybeBound.keySet();
    for (    IVariable<?> leftToBeBoundVar : leftToBeBound) {
      moreCanBeBound|=canBeBound.contains(leftToBeBoundVar);
      if (moreCanBeBound) {
        break;
      }
    }
    if (!moreCanBeBound) {
      return true;
    }
  }
  return false;
}

private boolean canBePlacedAtPosition ( final boolean requiresAllBound , final GroupNodeVarBindingInfo bindingInfo , final HashSet < IVariable < ? > > knownBound , final Map < IVariable < ? > , Integer > remainingMaybeBound , int i ) { final Set < IVariable < ? > > leftToBeBound = bindingInfo . leftToBeBound ( knownBound ) ; if ( leftToBeBound . isEmpty ( ) ) { return true ; } if ( ! requiresAllBound ) { boolean moreCanBeBound = false ; final Set < IVariable < ? > > canBeBound = remainingMaybeBound . keySet ( ) ; for ( IVariable < ? > leftToBeBoundVar : leftToBeBound ) { moreCanBeBound |= canBeBound . contains ( leftToBeBoundVar ) ; if ( moreCanBeBound ) { break ; } } if ( ! moreCanBeBound ) { return true ; } } return false ; }
internal helper function to check whether a node can be placed at a given position if the passed parameter constellation is satisfied .
