pigy-genetics
Safe HaskellNone
LanguageHaskell2010

Pigy.Image.Types

Description

Types for pig images.

Synopsis

Documentation

type Chromosome = String Source #

The chromosome.

class Upgradeable g h where Source #

An upgradeable object.

Methods

upgrade Source #

Arguments

:: g

The original object.

-> h

The upgraded object.

Upgrade an object.

Instances

Instances details
Upgradeable Genotype Genotype Source # 
Instance details

Defined in Pigy.Image.V1

Upgradeable Genotype Genotype Source # 
Instance details

Defined in Pigy.Image.V0

Upgradeable Genotype Genotype Source # 
Instance details

Defined in Pigy.Image

Upgradeable Genotype Genotype Source # 
Instance details

Defined in Pigy.Image

data Phenotype Source #

The phenotype for pig images.

Constructors

Phenotype 

Fields

Instances

Instances details
Eq Phenotype Source # 
Instance details

Defined in Pigy.Image.Types

Methods

(==) :: Phenotype -> Phenotype -> Bool

(/=) :: Phenotype -> Phenotype -> Bool

Ord Phenotype Source # 
Instance details

Defined in Pigy.Image.Types

Methods

compare :: Phenotype -> Phenotype -> Ordering

(<) :: Phenotype -> Phenotype -> Bool

(<=) :: Phenotype -> Phenotype -> Bool

(>) :: Phenotype -> Phenotype -> Bool

(>=) :: Phenotype -> Phenotype -> Bool

max :: Phenotype -> Phenotype -> Phenotype

min :: Phenotype -> Phenotype -> Phenotype

Show Phenotype Source # 
Instance details

Defined in Pigy.Image.Types

Methods

showsPrec :: Int -> Phenotype -> ShowS

show :: Phenotype -> String

showList :: [Phenotype] -> ShowS

class Phenable g where Source #

Conversion to phenotype.

Methods

toPhenotype Source #

Arguments

:: g

The datum.

-> Phenotype

The phenotype.

Convert to a phenotype.

Instances

Instances details
Phenable Genotype Source # 
Instance details

Defined in Pigy.Image.V1

Phenable Genotype Source # 
Instance details

Defined in Pigy.Image.V0

Phenable Genotype Source # 
Instance details

Defined in Pigy.Image