@Override public final int weight(Tuple<NodeId> pattern) { for ( int i = 0 ; i < tupleLength ; i++ ) { NodeId X = colMap.fetchSlot(i, pattern) ; if ( undef(X) ) // End of fixed terms return i ; } return tupleLength ; }
@Override public final int weight(Tuple<NodeId> pattern) { for ( int i = 0 ; i < tupleLength ; i++ ) { NodeId X = colMap.fetchSlot(i, pattern) ; if ( undef(X) ) // End of fixed terms return i ; } return tupleLength ; }