Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

joelib.process.types
Class DescBinning  view DescBinning download DescBinning.java

java.lang.Object
  extended byjoelib.process.SimpleProcess
      extended byjoelib.process.types.DescBinning
All Implemented Interfaces:
joelib.process.JOEProcess, joelib.util.PropertyAcceptor, java.io.Serializable

public class DescBinning
extends joelib.process.SimpleProcess
implements java.io.Serializable

Calling processor classes if the filter rule fits.


Field Summary
private  java.util.Hashtable bins
           
private  java.util.Vector desc2ignore
           
private static java.lang.String FILE_EXT
           
private static org.apache.log4j.Category logger
          Obtain a suitable logger.
private  int numberOfBins
           
private  DescStatistic statistic
           
 
Fields inherited from class joelib.process.SimpleProcess
 
Constructor Summary
DescBinning()
          Constructor for the DescSelectionWriter object
 
Method Summary
 boolean clear()
          Description of the Method
static boolean existsBinningFileFor(java.lang.String fileName)
          Description of the Method
 boolean fromFile(java.lang.String fileName)
          Description of the Method
 boolean fromFileFor(java.lang.String fileName)
           
static DescBinning getDescBinning(joelib.io.IOType inType, java.lang.String inFile)
          Gets the descBinning attribute of the DescBinning class
static DescBinning getDescBinning(joelib.io.IOType inType, java.lang.String inFile, int _numberOfBins)
           
static DescBinning getDescBinning(joelib.molecule.JOEMolVector molecules)
          Gets the descBinning attribute of the DescBinning class
 wsi.ra.tool.ArrayBinning getDescriptorBinning(java.lang.String descriptor)
          Gets the descriptorBinning attribute of the DescBinning object
 java.util.Enumeration getDescriptors()
          Gets the descriptors attribute of the DescBinning object
 DescStatistic getDescStatistic()
          Gets the descStatistic attribute of the DescBinning object
 void init(DescStatistic _statistic)
          Description of the Method
 void init(DescStatistic _statistic, int _numberOfBins)
          Description of the Method
 void init(joelib.io.IOType inType, java.lang.String inFile)
          Description of the Method
 void init(joelib.io.IOType inType, java.lang.String inFile, int _numberOfBins)
          Description of the Method
 joelib.util.JOEProperty[] neededProperties()
          Description of the Method
 int numberOfDescriptors()
          Description of the Method
 boolean process(joelib.molecule.JOEMol mol, java.util.Map properties)
          Description of the Method
 java.lang.String toString()
          Description of the Method
 void writeBinningFileFor(java.lang.String _inFile)
           
 
Methods inherited from class joelib.process.SimpleProcess
acceptedProperties, getProcessInfo, setProcessInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Category logger
Obtain a suitable logger.


FILE_EXT

private static final java.lang.String FILE_EXT
See Also:
Constant Field Values

statistic

private DescStatistic statistic

bins

private java.util.Hashtable bins

desc2ignore

private java.util.Vector desc2ignore

numberOfBins

private int numberOfBins
Constructor Detail

DescBinning

public DescBinning()
Constructor for the DescSelectionWriter object

Method Detail

getDescBinning

public static DescBinning getDescBinning(joelib.io.IOType inType,
                                         java.lang.String inFile)
Gets the descBinning attribute of the DescBinning class


getDescBinning

public static DescBinning getDescBinning(joelib.molecule.JOEMolVector molecules)
Gets the descBinning attribute of the DescBinning class


getDescBinning

public static DescBinning getDescBinning(joelib.io.IOType inType,
                                         java.lang.String inFile,
                                         int _numberOfBins)

getDescStatistic

public DescStatistic getDescStatistic()
Gets the descStatistic attribute of the DescBinning object


getDescriptorBinning

public wsi.ra.tool.ArrayBinning getDescriptorBinning(java.lang.String descriptor)
Gets the descriptorBinning attribute of the DescBinning object


getDescriptors

public java.util.Enumeration getDescriptors()
Gets the descriptors attribute of the DescBinning object


clear

public boolean clear()
Description of the Method

Specified by:
clear in interface joelib.process.JOEProcess

existsBinningFileFor

public static boolean existsBinningFileFor(java.lang.String fileName)
Description of the Method


fromFile

public boolean fromFile(java.lang.String fileName)
Description of the Method


fromFileFor

public boolean fromFileFor(java.lang.String fileName)

init

public void init(DescStatistic _statistic)
Description of the Method


init

public void init(DescStatistic _statistic,
                 int _numberOfBins)
Description of the Method


init

public void init(joelib.io.IOType inType,
                 java.lang.String inFile)
          throws java.lang.Exception
Description of the Method


init

public void init(joelib.io.IOType inType,
                 java.lang.String inFile,
                 int _numberOfBins)
          throws java.lang.Exception
Description of the Method


neededProperties

public joelib.util.JOEProperty[] neededProperties()
Description of the Method


numberOfDescriptors

public int numberOfDescriptors()
Description of the Method


process

public boolean process(joelib.molecule.JOEMol mol,
                       java.util.Map properties)
                throws joelib.process.JOEProcessException
Description of the Method

Specified by:
process in interface joelib.process.JOEProcess

toString

public java.lang.String toString()
Description of the Method


writeBinningFileFor

public void writeBinningFileFor(java.lang.String _inFile)