* configure.ac, Makefile.am, src/Makefile.am, doc/Makefile.am,
examples/Makefile.am, examples/Makefile.def, examples/adder/Makefile.am, examples/calculator/Makefile.am, examples/cmilner/Makefile.am, examples/fdd/Makefile.am, examples/internal/Makefile.am, examples/milner/Makefile.am, examples/money/Makefile.am, examples/queen/Makefile.am, examples/solitar/Makefile.am, m4/debug.m4, m4/gccwarns.m4, ChangeLog, INSTALL: New files. * config, makefile, src/makefile, doc/makefile, examples/adder/makefile, examples/calculator/makefile examples/cmilner/makefile, examples/fdd/makefile, examples/internal/makefile, examples/milner/makefile, examples/money/makefile, examples/queen/makefile, examples/solitare/makefile : Delete. * examples/adder/adder.cxx, examples/fdd/statespace.cxx, examples/internal/bddtest.cxx, examples/milner/milner.cxx, examples/money/money.cxx, examples/queen/queen.cxx, examples/solitare/solitare.cxx: Include iostream. * examples/calculator/parser.y: Rename as ... * examples/calculator/parser.yxx: ... this. Remove spurious comas in %token, %right, and %left arguments. * examples/calculator/parser.h: Rename as ... * examples/calculator/parser_.h: ... this, because the bison rule with output parser.h (not tokens.h) from parser.y. * examples/calculator/lexer.l: Rename as ... * examples/calculator/lexer.lxx: ... this. Include parser.h instead of tokens.h. * examples/calculator/slist.h (voidSList::voisSListElem, SList::ite): Fix friend usage. * src/kernel.h (DEFAULT_CLOCK): Default to 60 if not already defined. * README: Update build instruction, and file listing.
This commit is contained in:
parent
cf5dd46350
commit
605dce2aac
79 changed files with 768 additions and 669 deletions
3
buddy/examples/milner/.cvsignore
Normal file
3
buddy/examples/milner/.cvsignore
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Makefile.in
|
||||
Makefile
|
||||
.deps
|
||||
4
buddy/examples/milner/Makefile.am
Normal file
4
buddy/examples/milner/Makefile.am
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
include ../Makefile.def
|
||||
EXTRA_DIST = readme
|
||||
check_PROGRAMS = milner
|
||||
milner_SOURCES = milner.cxx
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
# --------------------------------
|
||||
# Makefile for milner test example
|
||||
# --------------------------------
|
||||
|
||||
# --- Compiler flags
|
||||
CFLAGS = -g -pedantic -Wall -ansi -L../../src -I../../src
|
||||
|
||||
# --- C++ compiler
|
||||
CPP = g++
|
||||
|
||||
# --- C compiler
|
||||
CC = gcc
|
||||
|
||||
|
||||
# --- Do not touch ---
|
||||
|
||||
.SUFFIXES: .cxx .c
|
||||
|
||||
.cxx.o:
|
||||
$(CPP) $(CFLAGS) -c $<
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
milner: milner.o bddlib
|
||||
$(CPP) $(CFLAGS) milner.o -o milner -lbdd -lm
|
||||
|
||||
bddlib:
|
||||
cd ../../src; make
|
||||
|
||||
clean:
|
||||
rm -f *~
|
||||
rm -f *.o
|
||||
rm -f milner
|
||||
|
||||
milner.o: ../../src/bdd.h
|
||||
|
|
@ -3,6 +3,8 @@
|
|||
#include <time.h>
|
||||
#include <math.h>
|
||||
#include "bdd.h"
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int N; // Number of cyclers
|
||||
bdd normvar; // Current state variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue