-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgraph.h
66 lines (36 loc) · 1.67 KB
/
graph.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*********************************************************************
* (C) Copyright 1999 Albert Ludwigs University Freiburg
* Institute of Computer Science
*
* All rights reserved. Use of this software is permitted for
* non-commercial research purposes, and it may be copied only
* for that use. All copies must include this copyright message.
* This software is made available AS IS, and neither the authors
* nor the Albert Ludwigs University Freiburg make any warranty
* about the software or its performance.
*********************************************************************/
/*********************************************************************
* File: instantiateII.h
* Description: headers for graph
*
* Author: Joerg Hoffmann 2002
*
*********************************************************************/
#ifndef _GRAPH_H
#define _GRAPH_H
Bool build_graph( int *min_time );
void build_graph_evolution_step( void );
Bool apply_operator( int time, int op );
Bool are_there_non_exclusive( int time, BitVector *bits, int *F, int num_F );
Bool get_them_non_exclusive( int time, BitVector *bits, int *F, int num_F, BitVector **bit_P_exclusives );
void copy_graph_layer( int time );
void find_mutex_ops( int time );
Bool interfere( int op1, int op2 );
Bool competing_needs( int time, int op1, int op2 );
void find_mutex_fts( int time );
Bool facts_are_exclusive( int time, int ft1, int ft2 );
void MAKE_OPS_EXCLUSIVE( int time, int op1, int op2 );
void MAKE_OPS_UNEXCLUSIVE( int time, int op1, int op2 );
void MAKE_FTS_EXCLUSIVE( int time, int ft1, int ft2 );
void MAKE_FTS_UNEXCLUSIVE( int time, int ft1, int ft2 );
#endif /* _GRAPH_H */