完善项目安装配置 & 中途改进
This commit is contained in:
21
reactor.py
21
reactor.py
@@ -3,11 +3,24 @@ import particles as pt
|
||||
import pathlib
|
||||
import auxiliary as aux
|
||||
|
||||
class Parser():
|
||||
"""轻量级版本文件解析器, 用于文件管理器的记忆状态解析"""
|
||||
class Apparatus():
|
||||
"""反应器对象, 处理一个原子的记忆工作, 并反馈到布局"""
|
||||
def __init__(self, atom):
|
||||
self.electron = atom[0]
|
||||
self.nucleon = atom[1]
|
||||
|
||||
def report(self):
|
||||
pass
|
||||
|
||||
def assess(self):
|
||||
pass
|
||||
|
||||
def iterate(self):
|
||||
pass
|
||||
|
||||
|
||||
class Reactor():
|
||||
"""反应堆对象, 用于全面解析文件, 并处理和分配一次文件记忆流程的资源与策略"""
|
||||
"""反应堆对象, 处理和分配一次文件记忆流程的资源与策略"""
|
||||
def __init__(self, nucleon_file: pt.NucleonUnion, electron_file: pt.ElectronUnion, tasked_num):
|
||||
# 导入原子对象
|
||||
self.reported = set()
|
||||
@@ -65,8 +78,6 @@ class Reactor():
|
||||
2: "新记忆模式",
|
||||
3: "总复习模式"
|
||||
}
|
||||
print("Atoms New:", self.atoms_new)
|
||||
print("Atoms Review:", self.atoms_review)
|
||||
|
||||
processions = {
|
||||
1: self.atoms_review,
|
||||
|
Reference in New Issue
Block a user