rules
Class Change

java.lang.Object
  extended byrules.Change

public class Change
extends java.lang.Object


Field Summary
static int ADDRULE
           
static int CHANGERANGE
           
static int CONDROP
           
static int CONREF
           
static boolean debug
           
static int DROPCON
           
static int DROPREF
           
static int DROPRULE
           
static boolean dumbDebug
           
static boolean langChangeCounts
           
static int REFCON
           
static int REFDROP
           
static int VARADD
           
static int VARREM
           
 
Constructor Summary
Change()
           
Change(AppRuleSet rs, AppRule newrule, AppRule oldrule)
           
Change(AppRuleSet rs, AppRule rule, int op)
           
Change(AppRuleSet rs, java.util.List newrules, AppRule oldrule)
           
Change(Change other)
           
 
Method Summary
 void apply(AppRuleSet rs)
           
 double calcLangChange(AppRuleSet rs)
           
 void debugDisplay()
           
 void doDebug()
           
 int egSizeChange()
           
 void finishScoring(java.util.Set orphans, AppRuleSet rs, AppRule newrule)
           
 void finishScoring(java.util.Set orphans, AppRuleSet rs, java.util.List newrules)
           
 void finishScoringNoise(java.util.Set orphans, AppRuleSet rs, AppRule newrule)
           
 void finishScoringNoise(java.util.Set orphans, AppRuleSet rs, java.util.List newrules)
           
 void finishScoringNoiseless(java.util.Set orphans, AppRuleSet rs)
           
 DeicticRef getDR()
           
 Lit getLit()
           
 int getOp()
           
 double getRatio()
           
 Term getTerm()
           
 void growOrphansAndRemList(java.util.Set orphans, AppRuleSet rs, AppRule newrule)
           
 void handleOverlaps(AppRuleSet rs, AppRule newrule)
           
 void handleOverlaps(AppRuleSet rs, java.util.List rules)
           
 int sizeChange()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

langChangeCounts

public static boolean langChangeCounts

debug

public static boolean debug

dumbDebug

public static boolean dumbDebug

DROPCON

public static int DROPCON

CONDROP

public static int CONDROP

REFCON

public static int REFCON

CONREF

public static int CONREF

DROPREF

public static int DROPREF

REFDROP

public static int REFDROP

VARADD

public static int VARADD

VARREM

public static int VARREM

CHANGERANGE

public static int CHANGERANGE

DROPRULE

public static int DROPRULE

ADDRULE

public static int ADDRULE
Constructor Detail

Change

public Change()

Change

public Change(Change other)

Change

public Change(AppRuleSet rs,
              AppRule rule,
              int op)

Change

public Change(AppRuleSet rs,
              AppRule newrule,
              AppRule oldrule)

Change

public Change(AppRuleSet rs,
              java.util.List newrules,
              AppRule oldrule)
Method Detail

handleOverlaps

public void handleOverlaps(AppRuleSet rs,
                           java.util.List rules)

handleOverlaps

public void handleOverlaps(AppRuleSet rs,
                           AppRule newrule)

growOrphansAndRemList

public void growOrphansAndRemList(java.util.Set orphans,
                                  AppRuleSet rs,
                                  AppRule newrule)

finishScoring

public void finishScoring(java.util.Set orphans,
                          AppRuleSet rs,
                          AppRule newrule)

finishScoring

public void finishScoring(java.util.Set orphans,
                          AppRuleSet rs,
                          java.util.List newrules)

finishScoringNoise

public void finishScoringNoise(java.util.Set orphans,
                               AppRuleSet rs,
                               AppRule newrule)

finishScoringNoise

public void finishScoringNoise(java.util.Set orphans,
                               AppRuleSet rs,
                               java.util.List newrules)

finishScoringNoiseless

public void finishScoringNoiseless(java.util.Set orphans,
                                   AppRuleSet rs)

doDebug

public void doDebug()

calcLangChange

public double calcLangChange(AppRuleSet rs)

sizeChange

public int sizeChange()

egSizeChange

public int egSizeChange()

getRatio

public double getRatio()

getLit

public Lit getLit()

getTerm

public Term getTerm()

getDR

public DeicticRef getDR()

getOp

public int getOp()

apply

public void apply(AppRuleSet rs)

debugDisplay

public void debugDisplay()