jcreek.representation.inference
Class TaskTooComplexException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjcreek.util.CreekException
              extended byjcreek.representation.inference.TaskTooComplexException
All Implemented Interfaces:
java.io.Serializable

public class TaskTooComplexException
extends CreekException

Thrown when a task is too complex according to some measure. Used to control NP-hard or tasks that can not be guaranteed to return in finite time.

Version:
1.0
Author:
Frode Sørmo
See Also:
Serialized Form

Constructor Summary
TaskTooComplexException(java.lang.String msg, int complexity)
           
 
Method Summary
 int getComplexity()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskTooComplexException

public TaskTooComplexException(java.lang.String msg,
                               int complexity)
Method Detail

getComplexity

public int getComplexity()


Created at IDI, NTNU by the Artificial Intelligence and Learning group