org.openl.ie.constrainer.ConstraintImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.openl.rules.constrainer Show documentation
Show all versions of org.openl.rules.constrainer Show documentation
OpenL Constraint Programming engine
package org.openl.ie.constrainer;
///////////////////////////////////////////////////////////////////////////////
/*
* Copyright Exigen Group 1998, 1999, 2000
* 320 Amboy Ave., Metuchen, NJ, 08840, USA, www.exigengroup.com
*
* The copyright to the computer program(s) herein
* is the property of Exigen Group, USA. All rights reserved.
* The program(s) may be used and/or copied only with
* the written permission of Exigen Group
* or in accordance with the terms and conditions
* stipulated in the agreement/contract under which
* the program(s) have been supplied.
*/
///////////////////////////////////////////////////////////////////////////////
/**
* A generic abstract implementation of the Constraint interface.
*
* Any specific subclass of the ConstraintImpl should implement:
*
* - A special constructor that saves the variables constrained by this constraint.
*
*
* @see Constraint
* @see Goal
* @see Observer
*/
public abstract class ConstraintImpl extends GoalImpl implements Constraint {
/**
* Constructor with a given constrainer.
*/
public ConstraintImpl(Constrainer c) {
this(c, "Constraint");
}
/**
* Constructor with a given constrainer and name.
*/
public ConstraintImpl(Constrainer c, String name) {
super(c, name);
}
} // ~ConstraintImpl
© 2015 - 2024 Weber Informatics LLC | Privacy Policy