📄 abstractsimilarity.java
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package gaknn.similarity;import gaknn.core.FastVector;/** * * @author Niro */public abstract class AbstractSimilarity { public FastVector m_Attributes; static double[] m_Weights; public AbstractSimilarity(FastVector attributes){ m_Attributes = attributes; } public void SetAttribute(FastVector attributes){ m_Attributes = attributes; } public void SetWeights(double[] weights){ m_Weights = weights; } public abstract double GetSimilarity(double[] attrbuteSet1, double[] attrbuteSet2); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -