pandoc-symreg-0.2.0.0: A tool to convert symbolic regression expressions into different formats.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.ParseSR

Synopsis

Documentation

parseSR :: SRAlgs -> ByteString -> Bool -> ByteString -> Either String (Fix SRTree) Source #

Calls the corresponding parser for a given SRAlgs

showOutput :: Output -> Fix SRTree -> String Source #

Returns the corresponding function from Data.SRTree.Print for a given Output.

data SRAlgs Source #

Supported algorithms.

Constructors

TIR 
HL 
OPERON 
BINGO 
GOMEA 
PYSR 
SBP 
EPLEX 

Instances

Instances details
Bounded SRAlgs Source # 
Instance details

Defined in Text.ParseSR

Enum SRAlgs Source # 
Instance details

Defined in Text.ParseSR

Read SRAlgs Source # 
Instance details

Defined in Text.ParseSR

Show SRAlgs Source # 
Instance details

Defined in Text.ParseSR

data Output Source #

Supported outputs.

Constructors

PYTHON 
MATH 
TIKZ 
LATEX 

Instances

Instances details
Bounded Output Source # 
Instance details

Defined in Text.ParseSR

Enum Output Source # 
Instance details

Defined in Text.ParseSR

Read Output Source # 
Instance details

Defined in Text.ParseSR

Show Output Source # 
Instance details

Defined in Text.ParseSR