satyros-0.3.1.4: Step-by-step SAT solver for educational purposes
Safe HaskellNone
LanguageHaskell2010

Satyros.BellmanFord.Effect

Documentation

newtype BellmanFord a Source #

Instances

Instances details
Monad BellmanFord Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Methods

(>>=) :: BellmanFord a -> (a -> BellmanFord b) -> BellmanFord b #

(>>) :: BellmanFord a -> BellmanFord b -> BellmanFord b #

return :: a -> BellmanFord a #

Functor BellmanFord Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Methods

fmap :: (a -> b) -> BellmanFord a -> BellmanFord b #

(<$) :: a -> BellmanFord b -> BellmanFord a #

Applicative BellmanFord Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Methods

pure :: a -> BellmanFord a #

(<*>) :: BellmanFord (a -> b) -> BellmanFord a -> BellmanFord b #

liftA2 :: (a -> b -> c) -> BellmanFord a -> BellmanFord b -> BellmanFord c #

(*>) :: BellmanFord a -> BellmanFord b -> BellmanFord b #

(<*) :: BellmanFord a -> BellmanFord b -> BellmanFord a #

Show1 BellmanFord Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> BellmanFord a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [BellmanFord a] -> ShowS #

MonadState Storage BellmanFord Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

MonadFree BellmanFordF BellmanFord Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Show a => Show (BellmanFord a) Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Generic (BellmanFord a) Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Associated Types

type Rep (BellmanFord a) :: Type -> Type #

Methods

from :: BellmanFord a -> Rep (BellmanFord a) x #

to :: Rep (BellmanFord a) x -> BellmanFord a #

Generic1 BellmanFord Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Associated Types

type Rep1 BellmanFord :: k -> Type #

Methods

from1 :: forall (a :: k). BellmanFord a -> Rep1 BellmanFord a #

to1 :: forall (a :: k). Rep1 BellmanFord a -> BellmanFord a #

type Rep (BellmanFord a) Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

type Rep (BellmanFord a) = D1 ('MetaData "BellmanFord" "Satyros.BellmanFord.Effect" "satyros-0.3.1.4-3YwMxGnZD0k1OVgpDx5SHB" 'True) (C1 ('MetaCons "BellmanFord" 'PrefixI 'True) (S1 ('MetaSel ('Just "runBellmanFord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (FreeT BellmanFordF (State Storage) a))))
type Rep1 BellmanFord Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

type Rep1 BellmanFord = D1 ('MetaData "BellmanFord" "Satyros.BellmanFord.Effect" "satyros-0.3.1.4-3YwMxGnZD0k1OVgpDx5SHB" 'True) (C1 ('MetaCons "BellmanFord" 'PrefixI 'True) (S1 ('MetaSel ('Just "runBellmanFord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 (FreeT BellmanFordF (State Storage)))))

data BellmanFordF r Source #

Instances

Instances details
Functor BellmanFordF Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Methods

fmap :: (a -> b) -> BellmanFordF a -> BellmanFordF b #

(<$) :: a -> BellmanFordF b -> BellmanFordF a #

Show1 BellmanFordF Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Methods

liftShowsPrec :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> BellmanFordF a -> ShowS #

liftShowList :: (Int -> a -> ShowS) -> ([a] -> ShowS) -> [BellmanFordF a] -> ShowS #

MonadFree BellmanFordF BellmanFord Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Show r => Show (BellmanFordF r) Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Generic (BellmanFordF r) Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Associated Types

type Rep (BellmanFordF r) :: Type -> Type #

Methods

from :: BellmanFordF r -> Rep (BellmanFordF r) x #

to :: Rep (BellmanFordF r) x -> BellmanFordF r #

Generic1 BellmanFordF Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

Associated Types

type Rep1 BellmanFordF :: k -> Type #

Methods

from1 :: forall (a :: k). BellmanFordF a -> Rep1 BellmanFordF a #

to1 :: forall (a :: k). Rep1 BellmanFordF a -> BellmanFordF a #

type Rep (BellmanFordF r) Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

type Rep (BellmanFordF r) = D1 ('MetaData "BellmanFordF" "Satyros.BellmanFord.Effect" "satyros-0.3.1.4-3YwMxGnZD0k1OVgpDx5SHB" 'False) ((C1 ('MetaCons "PropagationCheck" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (IDLGraphVertex, IDLGraphVertex)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 r)) :+: (C1 ('MetaCons "PropagationFindShorter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IDLGraphVertex) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (IDLGraphVertex, Int)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 r))) :+: C1 ('MetaCons "PropagationNth" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 r)))) :+: ((C1 ('MetaCons "PropagationEnd" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NegativeCycleCheck" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (IDLGraphVertex, IDLGraphVertex)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 r))) :+: (C1 ('MetaCons "NegativeCycleFind" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Expressed])) :+: C1 ('MetaCons "NegativeCyclePass" 'PrefixI 'False) (U1 :: Type -> Type))))
type Rep1 BellmanFordF Source # 
Instance details

Defined in Satyros.BellmanFord.Effect

type Rep1 BellmanFordF = D1 ('MetaData "BellmanFordF" "Satyros.BellmanFord.Effect" "satyros-0.3.1.4-3YwMxGnZD0k1OVgpDx5SHB" 'False) ((C1 ('MetaCons "PropagationCheck" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (IDLGraphVertex, IDLGraphVertex)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1) :+: (C1 ('MetaCons "PropagationFindShorter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IDLGraphVertex) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (IDLGraphVertex, Int)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1)) :+: C1 ('MetaCons "PropagationNth" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1))) :+: ((C1 ('MetaCons "PropagationEnd" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NegativeCycleCheck" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (IDLGraphVertex, IDLGraphVertex)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) Par1)) :+: (C1 ('MetaCons "NegativeCycleFind" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Expressed])) :+: C1 ('MetaCons "NegativeCyclePass" 'PrefixI 'False) (U1 :: Type -> Type))))