09.09.2014 Views

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

13th International Conference on Membrane Computing - MTA Sztaki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using a kernel P system to solve the 3-Col problem<br />

Appendix<br />

/* <strong>Membrane</strong> type and object definiti<strong>on</strong> */<br />

typedef Compartment2 {<br />

int A[N] = 0;<br />

int Aij[NN] = 0;<br />

int B[N] = 0;<br />

int G[N] = 0;<br />

int R[N] = 0;<br />

int X = 0;<br />

int S = 0;<br />

int Y = 0;<br />

int isDisolved;<br />

int is<strong>Computing</strong>;<br />

}<br />

Fig. 2. Sample of membrane type and object specificati<strong>on</strong><br />

M1 instM1[MAX_M1_COUNT]; /* global array of membrane instances */<br />

Fig. 3. Sample of membrane instances global array<br />

257

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!