private static int [ ] lift ( int [ ] path , int [ ] mapping ) { for ( int i = 0 ; i < path . length ; i ++ ) { path [ i ] = mapping [ path [ i ] ] ; } return path ; }
Internal - lifts a path in a subgraph back to the original graph .