
com.thesett.aima.logic.fol.prolog.PrologCompiledClause Maven / Gradle / Ivy
/*
* Copyright The Sett Ltd, 2005 to 2014.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.thesett.aima.logic.fol.prolog;
import com.thesett.aima.logic.fol.Clause;
import com.thesett.aima.logic.fol.Functor;
import com.thesett.aima.logic.fol.Sentence;
import com.thesett.aima.logic.fol.VariableBindingContext;
/**
* PrologCompiledClause is a clause that has been compiled ready for evaluation by a {@link PrologResolver}. Such a
* clause is the same as an uncompiled {@link Clause} except that its variables have been allocated stack positions and
* transformed into {@link StackVariable}s.
*
*
CRC Card
* Responsibilities Collaborations
* Capture an optional head and optioanl body sequence of functors as a Horn clause.
*
*
* @author Rupert Smith
*/
public class PrologCompiledClause extends Clause© 2015 - 2025 Weber Informatics LLC | Privacy Policy