Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.metaqtl
Interface IMetaAlgorithm

All Known Implementing Classes:
  ClustAlgorithm, MetaAlgorithm, MetaMapAlgorithm, QtlClustAlgorithm, QtlProjAlgorithm, QtlTreeAlgorithm

    public interface IMetaAlgorithm

This interface defines some methods which are common to data analysis algorithms.

Method Summary
`int` | `getWorkAmount()` Returns the amount of the work to do.
`int` | `getWorkProgress()` Returns the amount of work which have already been done.
`void` | `run()` Run the algorithm.
`void` | `setLogger(java.io.OutputStream stream)` Give a `OutputStream` to the algorithm in order to write out the log info.
`void` | `setLogger(java.io.Writer writer)` Give a `Writer` to the algorithm in order to write out the log info.

Method Detail

### run

    void run()

  Run the algorithm.

### getWorkAmount

    int getWorkAmount()

  Returns the amount of the work to do.

  Returns:

### getWorkProgress

    int getWorkProgress()

  Returns the amount of work which have already been done.

  Returns:

### setLogger

    void setLogger(java.io.Writer writer)

  Give a `Writer` to the algorithm in order to write out the log info. The user is responsible for closing the stream.

  Parameters:
    `writer` -

### setLogger

    void setLogger(java.io.OutputStream stream)

  Give a `OutputStream` to the algorithm in order to write out the log info. The user is responsible for closing the stream.

  Parameters:
    `stream` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD