Package elki.data.model
Class LinearEquationModel
- java.lang.Object
-
- elki.data.model.LinearEquationModel
-
- All Implemented Interfaces:
Model
,TextWriteable
public class LinearEquationModel extends java.lang.Object implements Model, 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 LinearEquationSystem
les
Equation system
-
Constructor Summary
Constructors Constructor Description LinearEquationModel(LinearEquationSystem les)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinearEquationSystem
getLes()
Get assigned Linear Equation Systemvoid
setLes(LinearEquationSystem les)
Assign new Linear Equation System.void
writeToText(TextWriterStream out, java.lang.String label)
Default implementation ofTextWriteable.writeToText(elki.result.textwriter.TextWriterStream, java.lang.String)
.
-
-
-
Field Detail
-
les
private LinearEquationSystem les
Equation system
-
-
Constructor Detail
-
LinearEquationModel
public LinearEquationModel(LinearEquationSystem les)
Constructor- Parameters:
les
- equation system
-
-
Method Detail
-
getLes
public LinearEquationSystem getLes()
Get assigned Linear Equation System- Returns:
- linear equation system
-
setLes
public void setLes(LinearEquationSystem les)
Assign new Linear Equation System.- Parameters:
les
- new linear equation system
-
writeToText
public void writeToText(TextWriterStream out, java.lang.String label)
Description copied from interface:Model
Default implementation ofTextWriteable.writeToText(elki.result.textwriter.TextWriterStream, java.lang.String)
. Note: we deliberately do not implement TextWriteable!- Specified by:
writeToText
in interfaceModel
- Specified by:
writeToText
in interfaceTextWriteable
- Parameters:
out
- Output steamlabel
- Optional label to prefix
-
-