|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.indiana.iucbrf.adaptation.Adaptation
edu.indiana.iucbrf.adaptation.NullAdapter
public class NullAdapter
This class is a filler for when no adaptation is desired. That is, the solution to the best retrieved case is returned unaltered.
| Field Summary |
|---|
| Fields inherited from class edu.indiana.iucbrf.adaptation.Adaptation |
|---|
debugMode, wts |
| Constructor Summary | |
|---|---|
NullAdapter()
Creates new NullAdapter. |
|
NullAdapter(boolean debugMode)
Creates new NullAdapter |
|
| Method Summary | |
|---|---|
Solution |
adaptTo(RetrievalResults retrieved,
Problem currentProblem,
Domain domain)
Return the unaltered solution of the best retrieved case as the "adapted" solution. |
| Methods inherited from class edu.indiana.iucbrf.adaptation.Adaptation |
|---|
setDebugMode, setWeights |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullAdapter()
public NullAdapter(boolean debugMode)
debugMode - Set to true to print debugging information, false otherwise.| Method Detail |
|---|
public Solution adaptTo(RetrievalResults retrieved,
Problem currentProblem,
Domain domain)
adaptTo in class AdaptationRetrieved - A RetrievalResults of Case objects deemed relevant to this problemProblem - The Problem to which this adaptation will apply. This parameter is ignored in this method implementation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||