|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.indiana.iucbrf.cbrsystem.CBRSystem edu.indiana.iucbrf.cbrsystem.DomainlessSystem
public class DomainlessSystem
A DomainlessSystem is a special kind of CBRSystem, designed specifically to be run on multiple domains. The designer must specify the components of a DomainlessSystem just as would be done for a CBRSystem. If any components of a DomainlessSystem make assumptions about the domain on which they act, then the designer must take care to test the DomainlessSystem only on compatible domains.
Field Summary |
---|
Fields inherited from class edu.indiana.iucbrf.cbrsystem.CBRSystem |
---|
adaptation, baseFilename, CB, currentContext, debugMode, DEFAULT_BASE_FILENAME, domain, episodeSummaryPanel, guiMode, maintenance, performanceMonitor, retrieval, title |
Constructor Summary | |
---|---|
protected |
DomainlessSystem()
|
|
DomainlessSystem(java.lang.String performanceMonitorType,
java.lang.String caseBaseType)
Creates new DomainlessSystem |
Method Summary | |
---|---|
void |
generateCB(int numCases)
Generate a case base for the system, for use in the current domain. |
void |
setDomain(Domain domain)
Set the currently active domain for this DomainlessSystem. |
static void |
setProblemSpaces(java.util.ArrayList domainList,
ProblemGenerator problemSpace)
This is a convenience method for testing multiple domains. |
java.util.ArrayList |
testDomains(java.util.ArrayList domainList,
SystemTest tester,
boolean doMaintenance,
int CBsize,
java.util.ArrayList savedCBs)
Test this system on a list of domains, according to a SystemTest instance. |
Methods inherited from class edu.indiana.iucbrf.cbrsystem.CBRSystem |
---|
close, finalize, getAdaptation, getBaseFilename, getCB, getContext, getDebugMode, getDomain, getGUIMode, getMaintenance, getPerformanceMonitor, getRetrieval, getTitle, loadCBFromFile, loadPerformanceMonitorFromFile, saveCBToFile, savePerformanceMonitorToFile, saveSystemToFile, setAdaptation, setBaseFilename, setCB, setContext, setDebugMode, setGUIMode, setMaintenance, setPerformanceMonitor, setRetrieval, setTitle, solve, solve |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected DomainlessSystem()
public DomainlessSystem(java.lang.String performanceMonitorType, java.lang.String caseBaseType)
performanceMonitorType
- A String indicating the class name of the performance monitor type used by the system.caseBaseType
- A String indicating the class name of the case base type used by the system.Method Detail |
---|
public java.util.ArrayList testDomains(java.util.ArrayList domainList, SystemTest tester, boolean doMaintenance, int CBsize, java.util.ArrayList savedCBs)
domainList
- The list of domains on which to test the system.tester
- The test to run on each domain.doMaintenance
- Set to true to do the maintenance specified for this system; false otherwise.CBsize
- Indicates the desired size of the case bases to be generated for each domain.savedCBs
- If the cases bases used for each domain are to be saved, send an ArrayList here in which to save them; otherwise send null.
public static void setProblemSpaces(java.util.ArrayList domainList, ProblemGenerator problemSpace)
domainList
- The list of domains on which to set assign the given problemSpace.problemSpace
- The problem space to be copied and adjusted for each domain in domainList.public void setDomain(Domain domain)
setDomain
in class CBRSystem
public void generateCB(int numCases)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |