Add individuals metadata

This commit is contained in:
2022-02-18 14:38:30 +08:00
parent c1dde87e30
commit b10b614113
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -1,11 +1,12 @@
import { Individual } from "./Individual"; import { Individual } from "./Individual";
import { LabelObject } from "./Label";
import type { Behavior } from "./Behavior"; import type { Behavior } from "./Behavior";
import type { Model } from "./Model"; import type { Model } from "./Model";
/** /**
* 群体类型 * 群体类型
*/ */
class Group { class Group extends LabelObject {
/** /**
* 所有个体 * 所有个体
+2
View File
@@ -80,3 +80,5 @@ class LabelObject {
return has; return has;
} }
} }
export { Label, LabelObject };