lojix/logic/src/main/com/thesett/aima/logic/fol/FreeNonAnonymousVariablePredicate.java
public boolean evaluate(Term term)
    {
        if (term.isVar() && (term instanceof Variable))
        {
            Variable var = (Variable) term;

            return !var.isBound() && !var.isAnonymous();
        }

        return false;
    }
public boolean evaluate(Term term)
    {
        if (term.isVar() && (term instanceof Variable))
        {
            Variable var = (Variable) term;

            return !var.isBound() && !var.isAnonymous();
        }

        return false;
    }
public boolean evaluate ( Term term ) { if ( term . isVar ( ) && ( term instanceof Variable ) ) { Variable var = ( Variable ) term ; return ! var . isBound ( ) && ! var . isAnonymous ( ) ; } return false ; }
Determine whether a term is a free variable.

@param  term The object to test for predicate membership.

@return <tt>true</tt> if the term is a free variable, <tt>false</tt> otherwise.
Determine whether a term is a free variable .