Skip to content

sphaso/exekiel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exekiel

Run arbitrary code on arbitrary graphs!

Given a degree sequence and a GenServer, Exekiel:

  • does an initial check to see if the sequence is graphical (Havel-Hakimi algorithm)
  • builds the undirected, unlabeled graph
  • adds each vertex to a DynamicSupervisor (PoolManager)
  • sends to each vertex its adjacency list of pids (see below: :set_node_list)
  • can run arbitrary on one or all nodes of the graph

Please add

  def handle_call(:localstate, _, state) do
    {:reply, state, state}
  end

  def handle_cast({:set_node_list, pids}, state) do
    {:noreply, {state, pids}}
  end

to your GenServer.

alt exekiel

About

Run arbitrary code on arbitrary graphs!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages