def decorate_places_preset_trans(net):
    """
    Decorate places with information useful for the replay

    Parameters
    -------------
    net
        Petri net
    """
    for place in net.places:
        place.ass_trans = set()
    for trans in net.transitions:
        for place in trans.sub_marking:
            place.ass_trans.add(trans)
