cellmil.interfaces.MIL

Classes

MILType(value)

An enumeration.

RouteType(value)

An enumeration.

class cellmil.interfaces.MIL.MILType(value)[source]

Bases: str, Enum

An enumeration.

clam = 'clam'
standard = 'standard'
transmil = 'transmil'
histobistro = 'histobistro'
graphmil = 'graphmil'
ours = 'ours'
attention = 'attention'
head4type = 'head4type'
multifocus = 'multifocus'
classmethod values()[source]
_generate_next_value_(start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None

class cellmil.interfaces.MIL.RouteType(value)[source]

Bases: str, Enum

An enumeration.

mil = "['clam', 'standard', 'transmil', 'histobistro', 'attention', 'ours', 'head4type', 'multifocus']"
gnn_mil = "['graphmil']"
_generate_next_value_(start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None