de.jstacs.motifDiscovery
Interface Mutable

All Known Implementing Classes:
MappingDiffSM, MarkovModelDiffSM, MarkovRandomFieldDiffSM, NormalizedDiffSM, StrandDiffSM

public interface Mutable

This interface allows to modify a motif model.

Author:
Jan Grau, Jens Keilwagen

Method Summary
 boolean modify(int offsetLeft, int offsetRight)
          Manually modifies the model.
 

Method Detail

modify

boolean modify(int offsetLeft,
               int offsetRight)
Manually modifies the model. The two offsets offsetLeft and offsetRight define how many positions the left or right border positions shall be moved. Negative numbers indicate moves to the left while positive numbers correspond to moves to the right.

Parameters:
offsetLeft - the offset on the left side
offsetRight - the offset on the right side
Returns:
true if the motif model was modified otherwise false