cm_brainClasses.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:CrowdMaster 作者: johnroper100 项目源码 文件源码
def __init__(self, brain, bpyNode):
        self.brain = brain  # type: Brain
        self.neurons = self.brain.neurons  # type: List[Neuron]
        self.inputs = []  # type: List[str] - strings are names of neurons
        self.result = None  # type: None | ImpulseContainer - Cache for current
        self.resultLog = [(0, 0, 0), (0, 0, 0)]  # type: List[(int, int, int)]
        self.fillOutput = BoolProperty(default=True)
        self.bpyNode = bpyNode  # type: cm_bpyNodes.LogicNode
        self.settings = {}  # type: Dict[str, bpy.props.*]
        self.dependantOn = []  # type: List[str] - strings are names of neurons
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号