p3j.pppm
Interface IStochasticOccurrence

All Known Implementing Classes:
ParameterAssignment, Set

public interface IStochasticOccurrence

This is an interface for all objects that might occur by some probability. E.g., sets and parameter assignments. Created on January 21, 2007

Author:
Christina Bohk, Roland Ewald

Method Summary
 double getProbability()
          Get the probability that this entity will be chosen.
 void setProbability(double probability)
          Set probability for being chosen.
 

Method Detail

getProbability

double getProbability()
Get the probability that this entity will be chosen.

Returns:
probability to be chosen, in [0,1]

setProbability

void setProbability(double probability)
Set probability for being chosen.

Parameters:
probability - the probability (in [0,1])


Copyright © 2012. All Rights Reserved.