Skip to content

Graphs_and_Graphical_Models

Mahrud Sayrafi edited this page Mar 12, 2021 · 1 revision

title: Graphs and Graphical Models permalink: wiki/Graphs_and_Graphical_Models/ layout: wiki

Graphs.m2 needs

  • displayGraph needs fixing for type Graph --- o.k. for type Digraph
    • displayGraph works!
    • add options to change node shape, colors, etc.
  • documentation -- don't forget examples!
  • tests
  • ancestors and descendents need to work on more general digraph.
  • other formats for entering graphs, like incidence matrices.
  • Do we implement graphs with loops and multiple edges?

GraphicalModels.m2 needs

  • Bring into compliance with the new Graphs.m2 package.
    • Graphical models works fine with Digraphs given with numerical nodes, entered in a rigid way. However, digraph now allows for general node names and the functions do not yet work with that. TO DO --- get Graphical Models functions to work with general node names --- Two ways to do this: (1) Write a label conversion function, (2) fix the general code. Doing (1) first, then 2.
  • Documentation, examples and tests for the existing code for digraphs.
  • Code for graphical models that are not digraphs for discrete.
  • Garcia is working on Gaussian models.

Bugs

  • displayGraphs does not like nodes/vertices which are monomials (i.e. subscripts/superscripts)
Clone this wiki locally