Debian Codegraph @

SYMPHONY/Applications/MPP/src/DrawGraph/mpp_dg.c

raw
1 /*===========================================================================*/
2 /* */
3 /* This file is part of a demonstration application for use with the */
4 /* SYMPHONY Branch, Cut, and Price Library. This application is a solver for */
5 /* the Mixed Postman Problem. */
6 /* */
7 /* (c) Copyright 2005-2007 Lehigh University. All Rights Reserved. */
8 /* */
9 /* This application was originally developed by Andrew Hofmann and was */
10 /* modified by Ted Ralphs ([email protected]) */
11 /* */
12 /* This software is licensed under the Eclipse Public License. Please see */
13 /* accompanying file for terms. */
14 /* */
15 /*===========================================================================*/
16
17 /* system include files */
18 #include <string.h>
19 #include <stdio.h>
20 #include <math.h>
21 #include <stdlib.h>
22
23 /* SYMPHONY include files */
24 #include "sym_constants.h"
25 #include "sym_proccomm.h"
26 #include "sym_dg_params.h"
27 #include "sym_macros.h"
28 #include "sym_dg.h"
29
30 /*===========================================================================*/
31
32 /*===========================================================================*\
33 * This file contains the user-written functions for the drawgraph process.
34 \*===========================================================================*/
35
36 int user_dg_process_message(void *user, window *win, FILE *write_to)
37 {
38 return(USER_NO_PP);
39 }
40
41 /*===========================================================================*/
42
43 int user_dg_init_window(void **user, window *win)
44 {
45 *user = NULL;
46
47 return(USER_NO_PP);
48 }
49
50 /*===========================================================================*/
51
52 int user_dg_free_window(void **user, window *win)
53 {
54 FREE(*user);
55
56 return(USER_NO_PP);
57 }
58
59 /*===========================================================================*/
60
61 int user_initialize_dg(void **user)
62 {
63 return(USER_NO_PP);
64 }
65
66 /*===========================================================================*/
67
68 int user_free_dg(void **user)
69 {
70 return(USER_NO_PP);
71 }
72
73 /*===========================================================================*/
74
75 int user_interpret_text(void *user, int text_length, char *text,
76 int owner_tid)
77 {
78 return(USER_NO_PP);
79 }