Mac binaries
[jabaws.git] / website / archive / binaries / mac / src / tcoffee / t_coffee_source / util_domain_constraints_list.c
1 #include <stdlib.h>
2 #include <stdio.h>
3 #include <math.h>
4 #include <stdarg.h>
5 #include <string.h>
6
7 #include "io_lib_header.h"
8 #include "util_lib_header.h"
9 #include "define_header.h"
10
11 /*********************************************************************/
12 /*                                                                   */
13 /*                         MISCEANELLOUS                             */
14 /*                                                                   */
15 /*                                                                   */
16 /*********************************************************************/ 
17 int ** get_undefined_list (Constraint_list *CL)
18          {
19          int **list;
20          int a;
21          CLIST_TYPE x;
22          int *e;
23          list=declare_int ( (CL->S)->nseq+1, (CL->S)->max_len+1);
24
25
26          while (e=extract_entry (CL))
27            {
28              x=e[WE];
29              list[e[SEQ1]][e[R1]]=(x==UNDEFINED);
30              list[e[SEQ2]][e[R2]]=(x==UNDEFINED);
31            }
32          return list;
33          }
34
35
36
37 /******************************COPYRIGHT NOTICE*******************************/
38 /*© Centro de Regulacio Genomica */
39 /*and */
40 /*Cedric Notredame */
41 /*Fri Feb 18 08:27:45 CET 2011 - Revision 596. */
42 /*All rights reserved.*/
43 /*This file is part of T-COFFEE.*/
44 /**/
45 /*    T-COFFEE is free software; you can redistribute it and/or modify*/
46 /*    it under the terms of the GNU General Public License as published by*/
47 /*    the Free Software Foundation; either version 2 of the License, or*/
48 /*    (at your option) any later version.*/
49 /**/
50 /*    T-COFFEE is distributed in the hope that it will be useful,*/
51 /*    but WITHOUT ANY WARRANTY; without even the implied warranty of*/
52 /*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the*/
53 /*    GNU General Public License for more details.*/
54 /**/
55 /*    You should have received a copy of the GNU General Public License*/
56 /*    along with Foobar; if not, write to the Free Software*/
57 /*    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*/
58 /*...............................................                                                                                      |*/
59 /*  If you need some more information*/
60 /*  cedric.notredame@europe.com*/
61 /*...............................................                                                                                                                                     |*/
62 /**/
63 /**/
64 /*      */
65 /******************************COPYRIGHT NOTICE*******************************/