Alignment API and Server 4.2.${version.update}

fr.inrialpes.exmo.align.gen
Class NetworkAlignmentDropper

java.lang.Object
  extended by fr.inrialpes.exmo.align.gen.NetworkAlignmentDropper
All Implemented Interfaces:
OntologyNetworkWeakener

public class NetworkAlignmentDropper
extends Object
implements OntologyNetworkWeakener

NetworkAlignmentDropper randomly drops n% of all alignments n is a number between 0. and 1. Returns a brand new BasicOntologyNetwork (with the initial alignments)


Constructor Summary
NetworkAlignmentDropper()
           
 
Method Summary
 OntologyNetwork weaken(OntologyNetwork on, double n, Properties p)
          Weakens the ontology network of n%
 OntologyNetwork weaken(OntologyNetwork on, int n, Properties p)
          Weakens the ontology network of n units
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkAlignmentDropper

public NetworkAlignmentDropper()
Method Detail

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

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

Alignment API and Server 4.2.${version.update}

(C) INRIA & friends, 2003-${curryear}