NOTE: the latest version is 1.0.3
Visual dashboard. We can use this as the main function in our application.
main
A whole appliaction could thus just look like this:
module Main exposing (..) import Problem.Example exposing (..) import Problem.Search.Dashboard as Dashboard exposing (Search(..), Visual(..)) main = Dashboard.document { problem = mediumEightPuzzle , problemStateToHtml = Just slidingPuzzleVisual , searches = [ UniformCost, BestFirst, Greedy ] , visuals = [ Scatter, Tree, TreeMap, Graph ] }
This is the complete code for the first example.
Helper type for easily creating a visual dashboard.
Visual dashboard. We can use this as the
mainfunction in our application.A whole appliaction could thus just look like this:
This is the complete code for the first example.