public abstract class InContextLocalSimilarityFunction extends Object implements LocalSimilarityFunction
StandardGlobalSimilarityFunction| Modifier and Type | Field and Description |
|---|---|
protected CBRCase |
_case
case that this attribute belongs to
|
protected CBRQuery |
_query
query that this attribute belongs to
|
protected String |
attribute
name of the attribute
|
protected CaseComponent |
componentOfCase
component of the case that this attribute belongs to
|
protected CaseComponent |
componentOfQuery
component of the query that this attribute belongs to
|
| Constructor and Description |
|---|
InContextLocalSimilarityFunction() |
| Modifier and Type | Method and Description |
|---|---|
void |
setContext(CaseComponent componentOfCase,
CaseComponent componentOfQuery,
CBRCase _case,
CBRQuery _query,
String attributeName)
Method used by the StandardGlobalSimilarityFunction (or any other future implementation of the GlobalSimilarityFunction)
to set the context of this LocalSimilarityFunction.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, isApplicableprotected CaseComponent componentOfCase
protected CaseComponent componentOfQuery
public InContextLocalSimilarityFunction()
public void setContext(CaseComponent componentOfCase, CaseComponent componentOfQuery, CBRCase _case, CBRQuery _query, String attributeName)
componentOfCase - that this attribute belongs tocomponentOfQuery - that this attribute belongs to_case - that this attribute belongs to_query - that this attribute belongs toattributeName - is the name of the attributeCopyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.