Uses of Class
ifs.solution.Solution

Packages that use Solution
ifs.dbt Dynamic backtracking extension of IFS solver 
ifs.example.tt Simple Timetabling Problem. 
ifs.extension IFS Extensions (conflict-based statistics, maintenance of arc consistency) 
ifs.heuristics IFS Heuristics (value and variable selection criteria) 
ifs.perturbations Minimal Perturbation Problem: counting of perturbations 
ifs.solution IFS Solution (also contains solution comparator) 
ifs.solver IFS Solver 
ifs.termination IFS Termination (termination condition) 
ttsolver Purdue University Timetabling. 
ttsolver.heuristics Purdue University Timetabling: Heuristics. 
 

Uses of Solution in ifs.dbt
 

Methods in ifs.dbt with parameters of type Solution
 Value DbtValueSelection.selectValue(Solution solution, Variable selectedVariable)
          Value selection
 Variable DbtVariableSelection.selectVariable(Solution solution)
          Variable selection
 

Uses of Solution in ifs.example.tt
 

Methods in ifs.example.tt with parameters of type Solution
 void TimetableModel.saveAsXML(DataProperties cfg, boolean gen, Solution solution, File outFile)
           
 

Uses of Solution in ifs.extension
 

Methods in ifs.extension with parameters of type Solution
 void ConflictStatistics.bestCleared(Solution solution)
           
 void ConflictStatistics.bestRestored(Solution solution)
           
 void ConflictStatistics.bestSaved(Solution solution)
           
 void ConflictStatistics.getInfo(Solution solution, Dictionary info)
           
 void ConflictStatistics.solutionUpdated(Solution solution)
           
 

Uses of Solution in ifs.heuristics
 

Methods in ifs.heuristics with parameters of type Solution
 Value GeneralValueSelection.selectValue(Solution solution, Variable selectedVariable)
          Value selecion
 Value ValueSelection.selectValue(Solution solution, Variable selectedVariable)
          Value selection
 Variable GeneralVariableSelection.selectVariable(Solution solution)
          Variable selection
 Variable VariableSelection.selectVariable(Solution solution)
          Variable selection
 

Uses of Solution in ifs.perturbations
 

Methods in ifs.perturbations with parameters of type Solution
 void DefaultPerturbationsCounter.getInfo(Dictionary info, Solution solution)
           
 void PerturbationsCounter.getInfo(Dictionary info, Solution solution)
          Some (perturbation) information about the solution might be returned here.
 double DefaultPerturbationsCounter.getPerturbationPenalty(Solution solution)
           
 double PerturbationsCounter.getPerturbationPenalty(Solution solution)
          Returns perturbation penalty, i.e., the distance between current solution and the solution of the initial problem (see Variable.getInitialAssignment()).
 double DefaultPerturbationsCounter.getPerturbationPenalty(Solution solution, Value selectedValue, Collection conflicts)
           
 double PerturbationsCounter.getPerturbationPenalty(Solution solution, Value selectedValue, Collection conflicts)
          Returns perturbation penalty of the solution which become from the current solution when given conflicting values are unassigned and the selected value is assigned.
 

Uses of Solution in ifs.solution
 

Methods in ifs.solution with parameters of type Solution
 void SolutionListener.bestCleared(Solution solution)
          Called by the solution when method clearBest() is called.
 void SolutionListener.bestRestored(Solution solution)
          Called by the solution when method restoreBest() is called.
 void SolutionListener.bestSaved(Solution solution)
          Called by the solution when method saveBest() is called.
 void SolutionListener.getInfo(Solution solution, Dictionary info)
          Called by the solution when it is asked to produce info table, see getInfo().
 boolean GeneralSolutionComparator.isBetterThanBestSolution(Solution currentSolution)
           
 boolean MPPSolutionComparator.isBetterThanBestSolution(Solution currentSolution)
           
 boolean SolutionComparator.isBetterThanBestSolution(Solution currentSolution)
          Compares two solutions.
 void SolutionListener.solutionUpdated(Solution solution)
          Called by the solution when it is updated, see update(double).
 

Uses of Solution in ifs.solver
 

Fields in ifs.solver declared as Solution
protected  Solution Solver.iCurrentSolution
          current solution
protected  Solution Solver.iLastSolution
          last solution (after IFS Solver finishes)
 

Methods in ifs.solver that return Solution
 Solution Solver.currentSolution()
          Current solution (during the search)
 Solution Solver.lastSolution()
          Last solution (when solver finishes)
 

Methods in ifs.solver with parameters of type Solution
 void Solver.setInitalSolution(Solution solution)
          Sets initial solution
 

Uses of Solution in ifs.termination
 

Methods in ifs.termination with parameters of type Solution
 boolean GeneralTerminationCondition.canContinue(Solution currentSolution)
           
 boolean MPPTerminationCondition.canContinue(Solution currentSolution)
           
 boolean TerminationCondition.canContinue(Solution currentSolution)
          Returns true when the solver can continue with the next iteration
 

Uses of Solution in ttsolver
 

Methods in ttsolver that return Solution
protected  Solution TimetableSaver.getSolution()
          Solution to be saved
 

Methods in ttsolver with parameters of type Solution
 void Test.bestCleared(Solution solution)
           
 void Test.bestRestored(Solution solution)
           
 void Test.bestSaved(Solution solution)
           
 void Test.getInfo(Solution solution, Dictionary info)
           
 void Test.notify(Solution solution)
           
 void TimetableXMLSaver.setSolution(Solution solution)
           
 void Test.solutionUpdated(Solution solution)
           
 

Constructors in ttsolver with parameters of type Solution
TimetableSaver(Solution solution)
          Constructor
TimetableXMLSaver(Solution solution)
           
 

Uses of Solution in ttsolver.heuristics
 

Methods in ttsolver.heuristics with parameters of type Solution
 Hashtable UniversalPerturbationsCounter.getCompactInfo(Solution solution, boolean includeZero, boolean weighted)
           
 void UniversalPerturbationsCounter.getInfo(Dictionary info, Solution solution)
           
 boolean TimetableComparator.isBetterThanBestSolution(Solution currentSolution)
           
 Value PlacementSelection.selectValue(Solution solution, Variable selectedVariable)
           
 Variable LectureSelection.selectVariable(Solution solution)
           
 



Copyright © 2005 Tomáš Müller