fr.jussieu.gla.wasa.core
Class DefaultCustomizer
java.lang.Object
|
+--fr.jussieu.gla.wasa.core.DefaultCustomizer
- All Implemented Interfaces:
- java.lang.Cloneable, ICustomizer
- public class DefaultCustomizer
- extends java.lang.Object
- implements ICustomizer
Default (and trivial) implementation of a customizer.
- Version:
- $Revision: 1.7 $ $Date: 2002/04/17 15:24:05 $
- Author:
- Laurent Caillette, Florent Selva
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DefaultCustomizer
public DefaultCustomizer()
processUninitialized
public void processUninitialized(Problem problem)
throws EngineException
- Reconfigures the buisness objects with a rate of 1 and clear the
TabuList
.
- Specified by:
processUninitialized
in interface ICustomizer
- See Also:
ICustomizer
processNoErrorAssigned
public void processNoErrorAssigned(Problem problem)
throws EngineException
- Does nothing.
- Specified by:
processNoErrorAssigned
in interface ICustomizer
- See Also:
ICustomizer
processNoVarFound
public void processNoVarFound(Problem problem)
throws EngineException
- Reconfigures the buisness objects with a rate of 1 and clear the
TabuList
.
- Specified by:
processNoVarFound
in interface ICustomizer
- See Also:
ICustomizer
processNoImprovementFound
public void processNoImprovementFound(Problem problem)
throws EngineException
- Reconfigures the buisness objects with a rate of 1 and clear the
TabuList
, only when the TabuList is full.
- Specified by:
processNoImprovementFound
in interface ICustomizer
- See Also:
ICustomizer
processImprovementFound
public void processImprovementFound(Problem problem)
throws EngineException
- Clears the
TabuList
.
- Specified by:
processImprovementFound
in interface ICustomizer
- See Also:
ICustomizer
createCustomizerEditor
public fr.jussieu.gla.wasa.core.ICustomizerEditor createCustomizerEditor()
- Description copied from interface:
ICustomizer
- Creates an
ICustomizer.ICustomizerEditor
instance bound to
this.
The program using ICustomizerEditor should take care of hiding
its visual component after the user entered parameters, and work on a clone
of the ICustomizer parametrized instance. Otherwise, it could lead
to unclear situations, where ICustomizer state is not reflected by
GUI.
- Specified by:
createCustomizerEditor
in interface ICustomizer
- Following copied from interface:
fr.jussieu.gla.wasa.core.ICustomizer
- Returns:
- an ICustomizerEditor instance.
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone
in interface ICustomizer
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object