Click or drag to resize
DiagonalSimilarityMatrix Class
Diagonal similarity matrix is a special case and needs its own class. It does not have an actual matrix, instead using a test "if (col == row)" and returning the diagonal value if true, and the off diagonal value if false.
Inheritance Hierarchy
SystemObject
  Bio.SimilarityMatricesSimilarityMatrix
    Bio.SimilarityMatricesDiagonalSimilarityMatrix

Namespace: Bio.SimilarityMatrices
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public class DiagonalSimilarityMatrix : SimilarityMatrix

The DiagonalSimilarityMatrix type exposes the following members.

Constructors
  NameDescription
Public methodDiagonalSimilarityMatrix
Initializes a new instance of the DiagonalSimilarityMatrix class. Creates a SimilarityMatrix with one value for match and one for mis-match.
Top
Properties
  NameDescription
Public propertyDiagonalValue
Gets or sets the diagonal value (match value) for the diagonal similarity matrix.
Public propertyItem
Returns value of diagonal similarity matrix at [row,col].
(Overrides SimilarityMatrixItemInt32, Int32.)
Public propertyMatrix
Gets or sets similarity matrix values in a 2-D integer array.
(Inherited from SimilarityMatrix.)
Public propertyName
Gets or sets descriptive name of the particular SimilarityMatrix being used.
(Inherited from SimilarityMatrix.)
Public propertyOffDiagonalValue
Gets or sets the off diagonal value (mis-match value for the diagonal similarity matrix.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateSequence
Confirms that there is a symbol in the similarity matrix for every symbol in the sequence.
(Inherited from SimilarityMatrix.)
Top
Fields
  NameDescription
Protected fieldsupportedAlphabets
(Inherited from SimilarityMatrix.)
Top
See Also