de.fzi.kadmos.api
Interface Correspondence<T extends OWLEntity>

All Superinterfaces:
Cloneable, Evaluable
All Known Implementing Classes:
ForwardingCorrespondence

public interface Correspondence<T extends OWLEntity>
extends Cloneable, Evaluable

Interface for classes that represent a simple correspondence of OWLEntity objects.

Since:
1.0.0
Version:
1.3.0
Author:
Juergen Bock
See Also:
CorrespondenceFactory

Method Summary
 Correspondence<T> clone()
          Creates a clone of this correspondence.
 double getConfidence()
          Gets the confidence of this correspondence.
 T getEntity1()
          Gets the first entity of this correspondence.
 T getEntity2()
          Gets the second entity of this correspondence.
 void setConfidence(double confidence)
          Sets the confidence of this correspondence.
 

Method Detail

getEntity1

T getEntity1()
Gets the first entity of this correspondence.

Returns:
Entity 1.
Since:
1.0.0

getEntity2

T getEntity2()
Gets the second entity of this correspondence.

Returns:
Entity 2.
Since:
1.0.0

getConfidence

double getConfidence()
Gets the confidence of this correspondence. The confidence is a value between 0 and 1.

Returns:
The confidence value.
Since:
1.0.0

setConfidence

void setConfidence(double confidence)
Sets the confidence of this correspondence. Values greater than 1 will be set to 1, values less than 0 will be set to 0.

Parameters:
confidence - The confidence value.
Since:
1.0.0

clone

Correspondence<T> clone()
Creates a clone of this correspondence.

Returns:
Clone of this correspondence.
Since:
1.0.0


Copyright © 2012. All Rights Reserved.