Class SimpleGapPenalty

java.lang.Object
org.biojava.nbio.alignment.SimpleGapPenalty
All Implemented Interfaces:
Serializable, GapPenalty

public class SimpleGapPenalty extends Object implements GapPenalty, Serializable
Implements a data structure for the gap penalties used during a sequence alignment routine.
Author:
Mark Chapman
See Also:
  • Constructor Details

    • SimpleGapPenalty

      Creates a new set of gap penalties using the defaults.
    • SimpleGapPenalty

      public SimpleGapPenalty(int gop, int gep)
      Creates a new set of gap penalties.
      Parameters:
      gop - the gap open penalty; should be nonnegative
      gep - the gap extension penalty; should be nonnegative
  • Method Details