91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 0.02M
    文件類型: .py
    金幣: 1
    下載: 0 次
    發布日期: 2021-03-03
  • 語言: Python
  • 標簽: 強化學習??學習??

資源簡介

強化學習與仿真的結合

資源截圖

代碼片段和文件信息

“““
This?module?contains?the?basic?event?types?used?in?SimPy.

The?base?class?for?all?events?is?:class:‘Event‘.?Though?it?can?be?directly
used?there?are?several?specialized?subclasses?of?it.

..?autosummary::

????~simpy.events.Event
????~simpy.events.Timeout
????~simpy.events.Process
????~simpy.events.AnyOf
????~simpy.events.AllOf

“““
from?simpy._compat?import?PY2
from?simpy.exceptions?import?Interrupt?StopProcess

if?PY2:
????import?sys


PENDING?=?object()
“““Unique?object?to?identify?pending?values?of?events.“““

URGENT?=?0
“““Priority?of?interrupts?and?process?initialization?events.“““
NORMAL?=?1
“““Default?priority?used?by?events.“““


class?Event(object):
????“““An?event?that?may?happen?at?some?point?in?time.

????An?event

????-?may?happen?(:attr:‘triggered‘?is?‘‘False‘‘)
????-?is?going?to?happen?(:attr:‘triggered‘?is?‘‘True‘‘)?or
????-?has?happened?(:attr:‘processed‘?is?‘‘True‘‘).

????Every?event?is?bound?to?an?environment?*env*?and?is?initially?not
????triggered.?Events?

評論

共有 條評論