summaryrefslogtreecommitdiff
path: root/lib/cluster.h
diff options
context:
space:
mode:
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);