private static boolean isOnePassable ( List < BooleanEncodedValue > checkEncoders , IntsRef edgeFlags ) { for ( BooleanEncodedValue accessEnc : checkEncoders ) { if ( accessEnc . getBool ( false , edgeFlags ) || accessEnc . getBool ( true , edgeFlags ) ) return true ; } return false ; }
The nodeFlags store the encoders to check for accessibility in edgeFlags . E . g . if nodeFlags == 3 then the accessibility of the first two encoders will be check in edgeFlags