1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head><meta http-equiv=
"Content-Type" content=
"text/html;charset=iso-8859-1">
3 <title>findv.c Source File
</title>
4 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css">
6 <!-- Generated by Doxygen 1.2.15 -->
8 <a class=
"qindex" href=
"main.html">Main Page
</a> <a class=
"qindex" href=
"annotated.html">Compound List
</a> <a class=
"qindex" href=
"files.html">File List
</a> <a class=
"qindex" href=
"functions.html">Compound Members
</a> <a class=
"qindex" href=
"globals.html">File Members
</a> </center>
9 <hr><h1>findv.c
</h1><a href=
"findv_8c.html">Go to the documentation of this file.
</a><div class=
"fragment"><pre>00001 <font class=
"preprocessor">#include
<stdio.h
></font>
10 00002 <font class=
"preprocessor">#include
<stdlib.h
></font>
12 00004 <font class=
"preprocessor">#include
<polylib/polylib.h
></font>
14 <a name=
"l00006"></a><a class=
"code" href=
"findv_8c.html#a0">00006</a> <font class=
"keywordtype">int
</font> <a class=
"code" href=
"c2p_8c.html#a1">main
</a>() {
17 00009 Polyhedron *A, *B;
18 00010 Param_Polyhedron *PA;
19 00011 <font class=
"keywordtype">char
</font> **param_name;
21 00013 a =
<a class=
"code" href=
"matrix_8c.html#a4">Matrix_Read
</a>();
22 00014 A =
<a class=
"code" href=
"polyhedron_8c.html#a24">Constraints2Polyhedron
</a>(a,
200);
23 00015 <a class=
"code" href=
"matrix_8c.html#a1">Matrix_Free
</a>(a);
25 00017 b =
<a class=
"code" href=
"matrix_8c.html#a4">Matrix_Read
</a>();
26 00018 B =
<a class=
"code" href=
"polyhedron_8c.html#a24">Constraints2Polyhedron
</a>(b,
200);
27 00019 <a class=
"code" href=
"matrix_8c.html#a1">Matrix_Free
</a>(b);
29 00021 <font class=
"comment">/* Read the name of the parameters */
</font>
30 00022 param_name =
<a class=
"code" href=
"param_8c.html#a0">Read_ParamNames
</a>(stdin,B-
>Dimension);
31 00023 PA =
<a class=
"code" href=
"polyparam_8c.html#a35">Polyhedron2Param_Vertices
</a>(A,B,
500);
32 00024 <a class=
"code" href=
"polyparam_8c.html#a40">Param_Vertices_Print
</a>(stdout,PA-
>V,param_name);
33 00025 <a class=
"code" href=
"polyhedron_8c.html#a19">Domain_Free
</a>(A);
34 00026 <a class=
"code" href=
"polyhedron_8c.html#a19">Domain_Free
</a>(B);
35 00027 <a class=
"code" href=
"polyparam_8c.html#a44">Param_Polyhedron_Free
</a>( PA );
36 00028 free(param_name);
37 00029 <font class=
"keywordflow">return
</font> 0;
38 00030 }
<font class=
"comment">/* main */
</font>
42 </pre></div><hr><address align=
"right"><small>Generated on Fri Nov
8 12:
10:
06 2002 for Polylib by
43 <a href=
"http://www.doxygen.org/index.html">
44 <img src=
"doxygen.png" alt=
"doxygen" align=
"middle" border=
0
45 width=
110 height=
53></a>1.2.15 </small></address>