void function ( TMutableNode arg0 ) { assert ( arg0 . getChildCount ( ) == 1 ) ; if ( ! arg0 . isRoot ( ) ) { TMutableNode loc0 = arg0 . getParent ( ) ; loc0 . removeChild ( arg0 , true ) ; } else { TMutableNode loc0 = arg0 . getChildren ( ) . iterator ( ) . next ( ) ; loc0 . makeRoot ( ) ; loc0 . removeChild ( arg0 , false ) ; } }
this function suppresses tree nodes that has only one child . this function assumes that node has only one child . this is checked before calling this function . concode_field_sep Network<T> _net concode_elem_sep List<NetworkCluster<T>> _clusters concode_elem_sep List<NetworkEdge<T>> _edges concode_field_sep void generateClusters concode_elem_sep Tree makeTree concode_elem_sep boolean equals concode_elem_sep NetworkCluster<T> getNodeCluster concode_elem_sep void removeOrphan concode_elem_sep Map<NetNode<T>,NetworkCluster<T>> generateNodeClusters concode_elem_sep Iterable<NetworkCluster<T>> getClusters