def __init__(self,stateObjLea,chain): ''' initializes StateAlea instance's attributes corresponding to the probability distribution given in stateObjLea and referring to the given chain, instance of Chain ''' Alea.__init__(self,stateObjLea.getAlea().genVPs()) self._chain = chain