- New algorithm to draw bindings between runs. Much cleaner.

This commit is contained in:
ccremers
2004-08-28 13:47:37 +00:00
parent b349b6cef2
commit 391c939b83
3 changed files with 104 additions and 38 deletions

View File

@@ -14,8 +14,8 @@
#include "termmap.h"
static System sys;
static int *graph;
static int nodes;
int *graph;
int nodes;
extern Protocol INTRUDER; // The intruder protocol
extern Role I_M; // special role; precedes all other events always
@@ -352,6 +352,8 @@ int
labels_ordered (Termmap runs, Termlist labels)
{
goal_graph_create ();
warshall (graph, nodes);
while (labels != NULL)
{
// Given this label, and the mapping of runs, we want to know if the order is okay. Thus, we need to know sendrole and readrole