|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.upv.dsic.gti_ia.argAgents.SimilarityAlgorithms
public class SimilarityAlgorithms
This class contains algorithms to calculate similarity measures between cases.
| Constructor Summary | |
|---|---|
SimilarityAlgorithms()
|
|
| Method Summary | |
|---|---|
static ArrayList<SimilarDomainCase> |
normalizedEuclideanSimilarity(HashMap<Integer,Premise> premises,
ArrayList<DomainCase> candidateCases)
Returns a list of the candidate domain-cases with a similarity degree to the given domain-cases. |
static ArrayList<SimilarDomainCase> |
normalizedTverskySimilarity(HashMap<Integer,Premise> premises,
ArrayList<DomainCase> candidateCases)
Returns a list of the candidate domain-cases with a similarity degree to the given domain-cases. |
static ArrayList<SimilarDomainCase> |
weightedEuclideanSimilarity(HashMap<Integer,Premise> premises,
ArrayList<DomainCase> candidateCases)
Returns a list of the candidate domain-cases with a similarity degree to the given domain-cases. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimilarityAlgorithms()
| Method Detail |
|---|
public static ArrayList<SimilarDomainCase> normalizedEuclideanSimilarity(HashMap<Integer,Premise> premises,
ArrayList<DomainCase> candidateCases)
premises - HashMap of Premise to calculate the similarity with the candidate domain-casescandidateCases - The domain-cases that can be similar to the domain-case to solve
SimilarDomainCase ArrayList with the candidate domain-cases and its similarity degree to the domain-case to solve
public static ArrayList<SimilarDomainCase> weightedEuclideanSimilarity(HashMap<Integer,Premise> premises,
ArrayList<DomainCase> candidateCases)
premises - HashMap of Premise to calculate the similarity with the candidate domain-casescandidateCases - The domain-cases that can be similar to the domain-case to solve
SimilarDomainCase ArrayList with the candidate domain-cases and its similarity degree to the domain-case to solve
public static ArrayList<SimilarDomainCase> normalizedTverskySimilarity(HashMap<Integer,Premise> premises,
ArrayList<DomainCase> candidateCases)
premises - HashMap of Premise to calculate the similarity with the candidate domain-casescandidateCases - The domain-cases that can be similar to the domain-case to solve
SimilarDomainCase ArrayList with the candidate domain-cases and its similarity degree to the domain-case to solve
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||