Class LinearEquationModel

  • All Implemented Interfaces:
    Model, elki.result.textwriter.TextWriteable

    public class LinearEquationModel
    extends java.lang.Object
    implements Model, elki.result.textwriter.TextWriteable
    Cluster model containing a linear equation system for the cluster.
    Since:
    0.2
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private elki.math.linearalgebra.LinearEquationSystem les
      Equation system
      • Fields inherited from interface elki.data.model.Model

        TYPE
    • Constructor Summary

      Constructors 
      Constructor Description
      LinearEquationModel​(elki.math.linearalgebra.LinearEquationSystem les)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      elki.math.linearalgebra.LinearEquationSystem getLes()
      Get assigned Linear Equation System
      void setLes​(elki.math.linearalgebra.LinearEquationSystem les)
      Assign new Linear Equation System.
      void writeToText​(elki.result.textwriter.TextWriterStream out, java.lang.String label)
      Default implementation of TextWriteable.writeToText(elki.result.textwriter.TextWriterStream, java.lang.String).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • les

        private elki.math.linearalgebra.LinearEquationSystem les
        Equation system
    • Constructor Detail

      • LinearEquationModel

        public LinearEquationModel​(elki.math.linearalgebra.LinearEquationSystem les)
        Constructor
        Parameters:
        les - equation system
    • Method Detail

      • getLes

        public elki.math.linearalgebra.LinearEquationSystem getLes()
        Get assigned Linear Equation System
        Returns:
        linear equation system
      • setLes

        public void setLes​(elki.math.linearalgebra.LinearEquationSystem les)
        Assign new Linear Equation System.
        Parameters:
        les - new linear equation system
      • writeToText

        public void writeToText​(elki.result.textwriter.TextWriterStream out,
                                java.lang.String label)
        Description copied from interface: Model
        Default implementation of TextWriteable.writeToText(elki.result.textwriter.TextWriterStream, java.lang.String). Note: we deliberately do not implement TextWriteable!
        Specified by:
        writeToText in interface Model
        Specified by:
        writeToText in interface elki.result.textwriter.TextWriteable
        Parameters:
        out - Output steam
        label - Optional label to prefix