Слияние веток 91 и path2pddl
This commit is contained in:
parent
44ee21414b
commit
e86914dba1
24 changed files with 732 additions and 0 deletions
11
sequence_generation/usecases/check_sequence_use_case.py
Normal file
11
sequence_generation/usecases/check_sequence_use_case.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from extensions.list import CoreList
|
||||
|
||||
class CheckSequenceUsecase(list):
|
||||
def isCorrectByParts(self, checkList) -> bool:
|
||||
parts = self[len(self) - 1]
|
||||
for part in parts:
|
||||
part = str(part)
|
||||
part = part[1:-1]
|
||||
|
||||
return CoreList(self).equal(checkList)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue