| 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 |
|
| 15 |
#ifdef __cplusplus |
| 16 |
extern "C" { |
| 17 |
#endif |
| 18 |
|
| 19 |
#ifdef DIGCOLA |
| 20 |
|
| 21 |
typedef struct { |
| 22 |
float **A; |
| 23 |
int n; |
| 24 |
float *fArray1; |
| 25 |
float *fArray2; |
| 26 |
float *fArray3; |
| 27 |
float *fArray4; |
| 28 |
int *ordering; |
| 29 |
int *levels; |
| 30 |
int num_levels; |
| 31 |
}CMajEnv; |
| 32 |
|
| 33 |
PRIVATE CMajEnv* initConstrainedMajorization(float *, int, int*, int*, int); |
| 34 |
|
| 35 |
PRIVATE void constrained_majorization_new_with_gaps(CMajEnv*, float*, float**, |
| 36 |
int, int, float); |
| 37 |
PRIVATE void deleteCMajEnv(CMajEnv *e); |
| 38 |
|
| 39 |
PRIVATE float** unpackMatrix(float * packedMat, int n); |
| 40 |
|
| 41 |
#endif |
| 42 |
|
| 43 |
#ifdef __cplusplus |
| 44 |
} |
| 45 |
#endif |