org.mindswap.utils
Class ProcessUtils

java.lang.Object
  extended by org.mindswap.utils.ProcessUtils

public class ProcessUtils
extends java.lang.Object

Author:
Evren Sirin

Constructor Summary
ProcessUtils()
           
 
Method Summary
static java.util.Map getAllowedValues(OWLKnowledgeBase kb, Process process, ValueMap initialBinding)
          Given a partial input binding, returns a map from inputs to a set of values which show the allowed values for that input that are found in the KB (there might be other allowed values that are not in the KB).
static java.util.Map getAllowedValues(Process process)
          Returns a map from inputs to a set of values which show the allowed values for that input that are found in the KB.
static java.util.Map getAllowedValues(Process process, ValueMap initialBinding)
          Given a partial input binding, returns a map from inputs to a set of values which show the allowed values for that input that are found in the KB.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessUtils

public ProcessUtils()
Method Detail

getAllowedValues

public static java.util.Map getAllowedValues(Process process)
Returns a map from inputs to a set of values which show the allowed values for that input that are found in the KB. Only the KB that the process belongs to is searched (there might be other allowed values that are not in the KB).

Parameters:
process -
Returns:

getAllowedValues

public static java.util.Map getAllowedValues(Process process,
                                             ValueMap initialBinding)
Given a partial input binding, returns a map from inputs to a set of values which show the allowed values for that input that are found in the KB. Only the KB that the process belongs to is searched (there might be other allowed values that are not in the KB). There is no entry in the map for the inputs that are already bound in the given binding.

Parameters:
process -
initialBinding -
Returns:

getAllowedValues

public static java.util.Map getAllowedValues(OWLKnowledgeBase kb,
                                             Process process,
                                             ValueMap initialBinding)
Given a partial input binding, returns a map from inputs to a set of values which show the allowed values for that input that are found in the KB (there might be other allowed values that are not in the KB). There is no entry in the map for the inputs that are already bound in the given binding.

Parameters:
kb -
process -
initialBinding -
Returns:


Copyright © 2004 Evren Sirin. All Rights Reserved.