org.drools.examples.jiahvac.control.rules
Class HeatingVentOpenFloorWarmEnough

java.lang.Object
  extended by org.drools.examples.jiahvac.control.rules.HeatingVentOpenFloorWarmEnough

public class HeatingVentOpenFloorWarmEnough
extends java.lang.Object

 

Constructor Summary
HeatingVentOpenFloorWarmEnough()
           
 
Method Summary
 void consequence(Vent vent)
           
 boolean isPumpHeating(HeatPump pump)
           
 boolean isSameFloor(Vent vent, Thermometer thermometer, HeatPump pump)
           
 boolean isVentOpen(Vent vent)
           
 boolean isWarmEnough(Thermometer thermometer, TempuratureControl control)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeatingVentOpenFloorWarmEnough

public HeatingVentOpenFloorWarmEnough()
Method Detail

isPumpHeating

public boolean isPumpHeating(HeatPump pump)

isVentOpen

public boolean isVentOpen(Vent vent)

isSameFloor

public boolean isSameFloor(Vent vent,
                           Thermometer thermometer,
                           HeatPump pump)

isWarmEnough

public boolean isWarmEnough(Thermometer thermometer,
                            TempuratureControl control)

consequence

public void consequence(Vent vent)