Source code for immuneML.simulation.motif_instantiation_strategy.MotifInstantiationStrategy

import abc

from immuneML.simulation.implants.MotifInstance import MotifInstance


[docs] class MotifInstantiationStrategy(metaclass=abc.ABCMeta):
[docs] @abc.abstractmethod def instantiate_motif(self, base) -> MotifInstance: pass
[docs] @abc.abstractmethod def get_max_gap(self) -> int: pass