DOPs Framework 1.0 alpha

net.dops_framework.core
Interface Interpreter


public interface Interpreter

Interpreters provide the actual code that evaluates behavior schemes in behavior execution contexts.

Version:
$Id: Interpreter.java,v 1.1 2007/03/05 03:28:14 saiko Exp $
Author:
Kostas Saidis (saikos [at] gmail [dot] com)
See Also:
BehaviorExecutionContext

Method Summary
 Object evaluate(BehaviorScheme scheme)
          Evaluates the application of the given behavior scheme.
 void init(Properties props)
          Interpreter initialization.
 

Method Detail

init

void init(Properties props)
          throws Exception
Interpreter initialization. This method is automatically called by the DOPs framework to initialize the interpreter. Such an initialization is performed only once and the interpreter can exploit the supplied properties for parameterization purposes.

Throws:
Exception

evaluate

Object evaluate(BehaviorScheme scheme)
                throws Exception
Evaluates the application of the given behavior scheme. The instance upon which the evaluation takes place is encapsulated by the supplied BehaviorScheme object.

Throws:
Exception

Copyright (c) 2005-2007, Kostas Saidis.
Consult the license for terms and conditions of use.