|
Graphviz
2.29.20120523.0446
|
00001 /* $Id$ $Revision$ */ 00002 /* vim:set shiftwidth=4 ts=8: */ 00003 00004 /************************************************************************* 00005 * Copyright (c) 2011 AT&T Intellectual Property 00006 * All rights reserved. This program and the accompanying materials 00007 * are made available under the terms of the Eclipse Public License v1.0 00008 * which accompanies this distribution, and is available at 00009 * http://www.eclipse.org/legal/epl-v10.html 00010 * 00011 * Contributors: See CVS logs. Details at http://www.graphviz.org/ 00012 *************************************************************************/ 00013 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif 00017 00018 00019 00020 #ifndef EMBED_GRAPH_H_ 00021 #define EMBED_GRAPH_H_ 00022 00023 #ifdef __cplusplus 00024 00025 void embed_graph(vtx_data * graph, int n, int dim, 00026 DistType ** (&coords), int); 00027 void center_coordinate(DistType ** coords, int n, int dim); 00028 void PCA(DistType ** coords, int dim, int n, double **(&new_coords), 00029 int new_dim); 00030 void PCA(DistType ** coords, int dim, int n, double **(&new_coords), 00031 int dim1, int dim2, boolean recompute); 00032 void PCA_orthog(DistType ** coords, int dim, int n, 00033 double **(&new_coords), int new_dim, double *orthog); 00034 void iterativePCA(DistType ** coords, int dim, int n, 00035 double **(&new_coords)); 00036 00037 #else 00038 #include <defs.h> 00039 00040 extern void embed_graph(vtx_data * graph, int n, int dim, DistType ***, 00041 int); 00042 extern void center_coordinate(DistType **, int, int); 00043 00044 #endif 00045 00046 #endif 00047 00048 #ifdef __cplusplus 00049 } 00050 #endif
1.7.5