public abstract class AMapping extends Object implements IMapping
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,HashMap<String,Double>> |
map |
protected String |
predicate |
protected HashMap<Double,HashMap<String,TreeSet<String>>> |
reversedMap |
protected int |
size |
| Constructor and Description |
|---|
AMapping() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
add(String key,
HashMap<String,Double> hashMap) |
abstract void |
add(String key,
String value,
double confidence) |
abstract boolean |
contains(String key,
String value) |
boolean |
equals(Object obj) |
abstract AMapping |
getBestOneToNMapping() |
AMapping |
getBestOneToOneMappings(AMapping m)
Returns the best one to one mapping with a bias towards the source Should
actually be solved with Hospital residents
|
abstract double |
getConfidence(String key,
String value) |
HashMap<String,HashMap<String,Double>> |
getMap() |
abstract int |
getNumberofMappings() |
abstract int |
getNumberofPositiveMappings() |
abstract AMapping |
getOnlyPositiveExamples() |
String |
getPredicate() |
String |
getPredicateURI() |
HashMap<Double,HashMap<String,TreeSet<String>>> |
getReversedMap()
Get the predicate URI, which defaults to OWL.sameAs.
|
int |
getSize() |
abstract AMapping |
getSubMap(double threshold) |
int |
hashCode() |
abstract AMapping |
reverseSourceTarget() |
void |
setMap(HashMap<String,HashMap<String,Double>> map) |
void |
setPredicate(String mappingPredicate) |
void |
setSize(int size) |
abstract int |
size() |
protected int size
protected String predicate
public abstract int size()
public abstract AMapping reverseSourceTarget()
public abstract int getNumberofMappings()
public abstract int getNumberofPositiveMappings()
public abstract AMapping getOnlyPositiveExamples()
public abstract AMapping getBestOneToNMapping()
public abstract AMapping getSubMap(double threshold)
public AMapping getBestOneToOneMappings(AMapping m)
m, - the input mappingpublic HashMap<Double,HashMap<String,TreeSet<String>>> getReversedMap()
public String getPredicateURI()
public int getSize()
public void setSize(int size)
public String getPredicate()
public void setPredicate(String mappingPredicate)
Copyright © 2018. All rights reserved.