int function ( ) { for ( int loc0 = 1 ; loc0 <= n ; ++ loc0 ) if ( getHead ( loc0 ) == 0 ) return loc0 ; return 0 ; }
get the index of the node which is the root of the parse i.e. , that node which has the root node as its head . concode_field_sep List<Integer> head concode_elem_sep List<String> label concode_elem_sep int counter concode_elem_sep int n concode_field_sep void add concode_elem_sep boolean equal concode_elem_sep boolean isTree concode_elem_sep void print concode_elem_sep void set concode_elem_sep String getLabel concode_elem_sep boolean visitTree concode_elem_sep int getHead concode_elem_sep boolean isProjective concode_elem_sep boolean isSingleRoot