org.semanticweb.elk.reasoner.saturation.rules
Class RuleApplicationTimer

java.lang.Object
  extended by org.semanticweb.elk.reasoner.saturation.rules.RuleApplicationTimer

public class RuleApplicationTimer
extends Object

An object which can be used to measure time spent within a methods of a RuleApplicationVisitor. The fields of the timer correspond to the methods of RuleApplicationVisitor.

Author:
"Yevgeny Kazakov"

Field Summary
 int timeSubClassOfAxiomCompositionRule
          timer for IndexedSubClassOfAxiom.ThisCompositionRule
 
Constructor Summary
RuleApplicationTimer()
           
 
Method Summary
 void add(RuleApplicationTimer timer)
          Add the values the corresponding values of the given timer
 int getTotalRuleAppTime()
           
 void reset()
          Reset all timers to zero.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeSubClassOfAxiomCompositionRule

public int timeSubClassOfAxiomCompositionRule
timer for IndexedSubClassOfAxiom.ThisCompositionRule

Constructor Detail

RuleApplicationTimer

public RuleApplicationTimer()
Method Detail

reset

public void reset()
Reset all timers to zero.


add

public void add(RuleApplicationTimer timer)
Add the values the corresponding values of the given timer

Parameters:
timer -

getTotalRuleAppTime

public int getTotalRuleAppTime()


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.