public interface ReasoningEngine extends java.lang.Runnable, StopableObject
Runnable
and StopableObject
as well.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_FILE_SOURCE_KEY
The property key which leads to the path where the reasoning engine properties are stored.
|
Modifier and Type | Method and Description |
---|---|
void |
dump()
If this method is called, the reasoner dumps its current internal state using the
OutputUtil.info(String) method. |
java.util.Map<ReachabilityGroup,ReachabilityStatus> |
getEstimatedReachability()
Returns the current estimated state of reachability of all registered groups as hash map.
|
ReachabilityStatus |
getEstimatedReachability(ReachabilityGroup group)
Returns the current estimated state of reachability for a certain group from the reasoner.
|
void |
handleFeedback(ReachabilityGroup group,
ReachabilityStatus status)
Handles the user feedback from a user interface supplied via the ActiveMQ for a certain
ReachabilityGroup
and the users estimation of his ReachabilityStatus related to this group. |
void |
start()
This method of
Thread has been added to the interface to make it public. |
isActive, shutDown
static final java.lang.String PROPERTY_FILE_SOURCE_KEY
ReachabilityStatus getEstimatedReachability(ReachabilityGroup group)
group
- A ReachabilityGroup
for which the state of reachability is requested.ReachabilityStatus
.java.util.Map<ReachabilityGroup,ReachabilityStatus> getEstimatedReachability()
ReachabilityGroup
and its currently estimated state of
reachability as ReachabilityStatus
.void handleFeedback(ReachabilityGroup group, ReachabilityStatus status)
ReachabilityGroup
and the users estimation of his ReachabilityStatus
related to this group.group
- A ReachabilityGroup
for which the feedback is meant.status
- The ReachabilityStatus
as users estimation related to the specified group.void dump()
OutputUtil.info(String)
method.void start()
Thread
has been added to the interface to make it public.