Graphviz 14.1.3~dev.20260207.0611
Loading...
Searching...
No Matches
neato.h
Go to the documentation of this file.
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
38typedef struct {
39 double **lu;
40 int *ps;
41} lu_t;
42
43PRIVATE int lu_decompose(lu_t *lu, double **a, int n);
44PRIVATE void lu_solve(const lu_t *lu, double *x, int bi, int n);
45
47PRIVATE void lu_free(lu_t *lu);
macro for API hiding/exposing
#define PRIVATE
Definition api.h:16
PRIVATE void lu_solve(const lu_t *lu, double *x, int bi, int n)
Definition lu.c:137
PRIVATE void lu_free(lu_t *lu)
release resources relating to LU decomposition
Definition lu.c:155
PRIVATE int lu_decompose(lu_t *lu, double **a, int n)
Definition lu.c:67
finds and smooths shortest paths
state for working on LU decomposition
Definition neato.h:38
double ** lu
composite of upper and lower triangular matrices
Definition neato.h:39
int * ps
pivot sequence
Definition neato.h:40