/**
* Copyright (C) 2001-3, Anthony Harrison anh23@pitt.edu This library is free
* software; you can redistribute it and/or modify it under the terms of the GNU
* Lesser General Public License as published by the Free Software Foundation;
* either version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details. You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.jactr.core.production.five;
import java.util.Collection;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.jactr.core.model.IModel;
import org.jactr.core.production.CannotInstantiateException;
import org.jactr.core.production.IInstantiation;
import org.jactr.core.production.ISubsymbolicProduction;
import org.jactr.core.production.ISymbolicProduction;
import org.jactr.core.production.VariableBindings;
import org.jactr.core.production.basic.AbstractProduction;
import org.jactr.core.production.condition.ICondition;
/**
* Description of the Class
*
* @author harrison
* @created February 5, 2003
*/
public class DefaultProduction5 extends AbstractProduction
{
private static transient Log LOGGER = LogFactory
.getLog(DefaultProduction5.class
.getName());
/**
* Constructor for the DefaultProduction5 object
*
* @param m
* Description of Parameter
* @since
*/
public DefaultProduction5(IModel m)
{
super(m);
}
@Override
protected IInstantiation createInstantiation(AbstractProduction parent,
Collection<ICondition> boundConditions, VariableBindings bindings)
throws CannotInstantiateException
{
return new DefaultInstantiation5(parent, boundConditions, bindings);
}
@Override
protected ISubsymbolicProduction createSubsymbolicProduction(
AbstractProduction production, IModel model)
{
return new DefaultSubsymbolicProduction5(this, model);
}
@Override
protected ISymbolicProduction createSymbolicProduction(
AbstractProduction production, IModel model)
{
return new DefaultSymbolicProduction5(this, model);
}
}