My Project
|
Static Public Member Functions | |
static boolean | includes (KnowledgeField a, KnowledgeField b) |
static boolean | isThereAnyIntersection (KnowledgeBase K1, KnowledgeBase K2) |
static double | getSimilarityIndex (KnowledgeBase K1, KnowledgeBase K2) |
static KnowledgeBase | dempsterShafer (KnowledgeBase startingEvidence, KnowledgeBase newEvidence, CommonKnowledge frame) |
Static Private Member Functions | |
static double | maxSimilaritySum (double simil[][], int n_rows, int n_columns, int pos_columns[], int r) |
Knowledge operators which:
implement Dempster-Shafer's combination rule.
|
inlinestatic |
Implements Dempster-Shafer's combination rule. Receives two bodies of knowledge that combines into one, which returns. Also needs common knowledge as argument.
startingEvidence | |
newEvidence | |
frame |
|
inlinestatic |
Evaluates and index of similarity of two knowledge bases. Needs CommonKnowledge. Yields values in [0,1] where 0 means no similarity, 1 means equality. Each knowledge field of a knowledge base is considered only once. Among its similarity values with all knowledge fields of the other knowledge base, the highest is taken. If a knowledge field has two equal similarity values with two other knowledge fields, the one intersection is chosen whose two knowledge fields have lowest similarity values elsewhere. In early versions, this was used to select rivals. In more recent version , it is only used in order to draw the similarity network.
K1 | |
K2 |
|
inlinestatic |
Checks whether two knowledge fields are included in one another.
a | |
b |
|
inlinestatic |
Checks whether two bodies of knowledge have any intersecting field. Needs CommonKnowledge.
K1 | |
K2 |
|
inlinestaticprivate |
simil = matrice delle intersezioni n_rows, n_colums numero di righe e colonne pos_columns la posizione di ogni colonna per ogni riga (la configurazione, è una disposizione di colonne per le righe) r,c riga e colonna alla quale siamo arrivati
simil | Intersections matrix |
n_rows | Rows number |
n_columns | Columns number |
pos_columns | Position of each column for each row (the configuration, is a disposition of of columns for rows) |
r | row where we are arrived |