protected boolean areCompatibleEdges( int v1, int v2, int v3, int v4 )
{
List<ScopeExpression> matchers = matchGraph.getAllEdgesList( v1, v2 );
if( matchers.size() == 1 && matchers.get( 0 ).acceptsAll() )
{
if( LOG.isDebugEnabled() )
debugCompatibleEdges( elementGraph.getAllEdgesList( v3, v4 ), v1, v2, matchers );
return true;
}
List<Scope> scopes = elementGraph.getAllEdgesList( v3, v4 );
Collection<Scope> results = areCompatibleEdges( plannerContext, elementGraph.getElementGraph(), matchers, scopes );
if( LOG.isDebugEnabled() && results != null )
debugCompatibleEdges( results, v1, v2, matchers );
return results != null;
}