set_state# SemiGrandCanonicalEventGenerator.set_state( self: SemiGrandCanonicalEventGenerator, state: IsingState, ) → None# Set the current Monte Carlo state used to propose and apply events.