summaryrefslogtreecommitdiff
path: root/lib/cluster.h
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-04-23 18:32:49 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-04-23 18:32:49 -0400
commitfbbc4d9655835c0d6fdf58f231e59d7007a99407 (patch)
treecf534240022ef4f3f39f3e865dbfa6032666f04e /lib/cluster.h
parentc9f253b3987ee3e5ae88a99ddd2757801026efb2 (diff)
downloadc++-fbbc4d9655835c0d6fdf58f231e59d7007a99407.tar.gz
c++-fbbc4d9655835c0d6fdf58f231e59d7007a99407.tar.bz2
c++-fbbc4d9655835c0d6fdf58f231e59d7007a99407.zip
lots of changes
Diffstat (limited to 'lib/cluster.h')
-rw-r--r--lib/cluster.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/cluster.h b/lib/cluster.h
index 2de17e5..d118735 100644
--- a/lib/cluster.h
+++ b/lib/cluster.h
@@ -22,6 +22,7 @@
#include "orthogonal.h"
#include "dihedral.h"
#include "dihinf.h"
+#include "yule_walker.h"
typedef struct {
graph_t *g;
@@ -62,6 +63,13 @@ typedef struct {
q_t n;
} vector_state_t;
+typedef enum {
+ VECTOR,
+ MODULATED,
+ CUBIC,
+ QUADRATIC
+} vector_field_t;
+
v_t flip_cluster(ising_state_t *s, v_t v0, q_t s1, gsl_rng *r);
v_t flip_cluster_vector(vector_state_t *s, v_t v0, double *rot, gsl_rng *r);