Package microsim.alignment.probability
Interface AlignmentProbabilityClosure<T>
public interface AlignmentProbabilityClosure<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidMethod specifying the sampling of the aligned probability to determine the outcome for the agent.doublegetProbability(T agent) Returns the unaligned probability of a 'positive' outcome for the agent (the user should define what the positive outcome is; it could be that something happens or does not happen).
-
Method Details
-
getProbability
Returns the unaligned probability of a 'positive' outcome for the agent (the user should define what the positive outcome is; it could be that something happens or does not happen).- Parameters:
agent-- Returns:
- the probability of a 'positive' outcome for the agent
-
align
Method specifying the sampling of the aligned probability to determine the outcome for the agent.- Parameters:
agent-alignedProbability-
-