public class CompetenceModel extends Object
| Constructor and Description |
|---|
CompetenceModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
computeCompetenceModel(SolvesFunction solves,
KNNClassificationConfig knnConfig,
Collection<CBRCase> cases)
Computes the competence model for the given cases using
the given solves function.
|
Collection<CBRCase> |
getCoverageSet(CBRCase c)
Returns the coverage set of the given case.
|
Map<CBRCase,Collection<CBRCase>> |
getCoverageSets()
Returns the coverage sets of the case base.
|
Collection<CBRCase> |
getLiabilitySet(CBRCase c)
Returns the liability set of the given case.
|
Map<CBRCase,Collection<CBRCase>> |
getLiabilitySets()
Returns the liability sets of the case base.
|
Collection<CBRCase> |
getReachabilitySet(CBRCase c)
Returns the reachability set of the given case.
|
Map<CBRCase,Collection<CBRCase>> |
getReachabilitySets()
Returns the reachability sets of the case base.
|
public CompetenceModel()
public void computeCompetenceModel(SolvesFunction solves, KNNClassificationConfig knnConfig, Collection<CBRCase> cases)
solves - the function to use to find which cases
solve a query case.knnConfig - cases - the cases for which the competence model
is being computed.public Collection<CBRCase> getCoverageSet(CBRCase c) throws InitializingException
c - the case whose coverage set is being retrieved.InitializingException - Indicates that the competence
model has not yet been computed.public Collection<CBRCase> getReachabilitySet(CBRCase c) throws InitializingException
c - the case whose reachability set is being retrieved.InitializingException - Indicates that the competence
model has not yet been computed.public Collection<CBRCase> getLiabilitySet(CBRCase c) throws InitializingException
c - the case whose liability set is being retrieved.InitializingException - Indicates that the competence
model has not yet been computed.public Map<CBRCase,Collection<CBRCase>> getCoverageSets()
public Map<CBRCase,Collection<CBRCase>> getReachabilitySets()
public Map<CBRCase,Collection<CBRCase>> getLiabilitySets()
Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.