Debian Codegraph @

SYMPHONY/Applications/SPP/src/DrawGraph/spp_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 Set Partitioning Problem. */
6 /* */
7 /* (c) Copyright 2005-2007 Marta Eso and Ted Ralphs. All Rights Reserved. */
8 /* */
9 /* This application was originally developed by Marta Eso and was modified */
10 /* 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 <stdlib.h>
19
20 /* SYMPHONY include files */
21 #include "sym_constants.h"
22 #include "sym_macros.h"
23 #include "sym_dg.h"
24 #include "sym_dg_u.h"
25
26 /*===========================================================================*/
27
28 /*===========================================================================*\
29 * This file contains the user-written functions for the drawgraph process.
30 \*===========================================================================*/
31
32 int user_dg_process_message(void *user, window *win, FILE *write_to)
33 {
34 return(USER_NO_PP);
35 }
36
37 /*===========================================================================*/
38
39 int user_dg_init_window(void **user, window *win)
40 {
41 *user = NULL;
42
43 return(USER_NO_PP);
44 }
45
46 /*===========================================================================*/
47
48 int user_dg_free_window(void **user, window *win)
49 {
50 FREE(*user);
51
52 return(USER_NO_PP);
53 }
54
55 /*===========================================================================*/
56
57 int user_initialize_dg(void **user)
58 {
59 return(USER_NO_PP);
60 }
61
62 /*===========================================================================*/
63
64 int user_free_dg(void **user)
65 {
66 return(USER_NO_PP);
67 }
68
69 /*===========================================================================*/
70
71 int user_interpret_text(void *user, int text_length, char *text,
72 int owner_tid)
73 {
74 return(USER_NO_PP);
75 }