| 1 |
/************************************************************************* |
| 2 |
* Copyright (c) 2011 AT&T Intellectual Property |
| 3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Eclipse Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
| 6 |
* https://www.eclipse.org/legal/epl-v10.html |
| 7 |
* |
| 8 |
* Contributors: Details at https://graphviz.org |
| 9 |
*************************************************************************/ |
| 10 |
|
| 11 |
#pragma once |
| 12 |
|
| 13 |
#include <util/api.h> |
| 14 |
#include "config.h" |
| 15 |
|
| 16 |
#define MODEL_SHORTPATH 0 |
| 17 |
#define MODEL_CIRCUIT 1 |
| 18 |
#define MODEL_SUBSET 2 |
| 19 |
#define MODEL_MDS 3 |
| 20 |
|
| 21 |
#define MODE_KK 0 |
| 22 |
#define MODE_MAJOR 1 |
| 23 |
#define MODE_HIER 2 |
| 24 |
#define MODE_IPSEP 3 |
| 25 |
#define MODE_SGD 4 |
| 26 |
|
| 27 |
#define INIT_ERROR -1 |
| 28 |
#define INIT_SELF 0 |
| 29 |
#define INIT_REGULAR 1 |
| 30 |
#define INIT_RANDOM 2 |
| 31 |
|
| 32 |
#include "render.h" |
| 33 |
#include "pathplan.h" |
| 34 |
#include <neatogen/neatoprocs.h> |
| 35 |
#include <neatogen/adjust.h> |
| 36 |
|
| 37 |
PRIVATE int lu_decompose(double **a, int n); |
| 38 |
PRIVATE void lu_solve(double *x, double *b, int n); |