lojix/search/src/main/com/thesett/aima/search/util/TreeSearchState.java
public TreeSearchState<E> getChildStateForOperator(Operator<Tree<E>> op)
    {
        /*log.fine("public Traversable getChildStateForOperator(Operator op): called");*/

        // Extract the child tree from the operator and create a new tree search state from it.
        return new TreeSearchState<E>(op.getOp());
    }
public TreeSearchState<E> getChildStateForOperator(Operator<Tree<E>> op)
    {
        /*log.fine("public Traversable getChildStateForOperator(Operator op): called");*/

        // Extract the child tree from the operator and create a new tree search state from it.
        return new TreeSearchState<E>(op.getOp());
    }
public TreeSearchState < E > getChildStateForOperator ( Operator < Tree < E > > op ) { /*log.fine("public Traversable getChildStateForOperator(Operator op): called");*/ // Extract the child tree from the operator and create a new tree search state from it. return new TreeSearchState < E > ( op . getOp ( ) ) ; }
Returns the state obtained by applying the specified operation. If the operation is not valid then this should
return null.

@param  op The operator to apply to the traversable state.

@return The new traversable state generated by applying the specified operator.
Returns the state obtained by applying the specified operation . If the operation is not valid then this should return null .