fr.inrialpes.exmo.align.gen
Class NetworkCorrespondenceDropper
java.lang.Object
fr.inrialpes.exmo.align.gen.NetworkCorrespondenceDropper
- All Implemented Interfaces:
- OntologyNetworkWeakener
public class NetworkCorrespondenceDropper
- extends Object
- implements OntologyNetworkWeakener
NetworkCorrespondenceDropper
suppress n% of the correspondences at random in all alignments (globally)
n is a number between 0. and 1.
Returns a brand new BasicOntologyNetwork (with new alignments and cells)
the @threshold parameter tells if the corrrespondences are suppressed at random (false) of by suppressing the n% of lower confidence (true)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkCorrespondenceDropper
public NetworkCorrespondenceDropper()
weaken
public OntologyNetwork weaken(OntologyNetwork on,
int n,
Properties p)
throws AlignmentException
- Description copied from interface:
OntologyNetworkWeakener
- Weakens the ontology network of n units
- Specified by:
weaken
in interface OntologyNetworkWeakener
- Throws:
AlignmentException
weaken
public OntologyNetwork weaken(OntologyNetwork on,
double n,
Properties p)
throws AlignmentException
- Description copied from interface:
OntologyNetworkWeakener
- Weakens the ontology network of n%
- Specified by:
weaken
in interface OntologyNetworkWeakener
- Throws:
AlignmentException
(C) INRIA & friends, 2003-${curryear}