📄 rule.java
字号:
import ItemSet;public class Rule{ private ItemSet myLhs; private ItemSet myRhs; private int mySupport; private float myConfidence; Rule( ItemSet lhs, ItemSet rhs, int support, float confidence ) { myLhs = lhs; myRhs = rhs; mySupport = support; myConfidence = confidence; } public ItemSet getLhs() { return myLhs; } public ItemSet getRhs() { return myRhs; } public int getSupport() { return mySupport; } public float getConfidence() { return myConfidence; } public String toString() { return( myLhs+"==>"+myRhs+" (confidence="+myConfidence+" support="+mySupport+")"); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -