Portability | portable |
---|---|
Stability | experimental |
Maintainer | amy@nualeargais.ie |
Safe Haskell | None |
Definitions related to artificial genes.
- class PairedGene g where
- express :: g -> g -> g
- decodeAndExpress :: (PairedGene g, Eq n) => Code g n -> ([n], [n]) -> (Maybe g, ([n], [n]))
Documentation
class PairedGene g whereSource
A paired instruction for building an agent.
decodeAndExpress :: (PairedGene g, Eq n) => Code g n -> ([n], [n]) -> (Maybe g, ([n], [n]))Source
Read the next pair of PairedGenes from a two sequences of nucleotides, and return the resulting PairedGene (after taking into account any dominance relationship) and the remaining (unread) portion of the two nucleotide strands.