This file is indexed.

/usr/share/doc/libevocosm-dev/html/a00016.html is in libevocosm-dev 4.0.2-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Evocosm</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<h1 align="center" color="#606080">
Evocosm - A C++ Framework for Evolutionary Computing
</h1>
<h2 align="center"><a href="index.html">Main Index</a></h2>
<p align="center">
Created by <a href="mailto:scott.ladd@@coyotegulch.com?subject=libevocosm">Scott Robert Ladd</a> at
<a href="http://www.coyotegulch.com">Coyote Gulch Productions</a>.
</p>
<hr>
<!-- Generated by Doxygen 1.8.1.1 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="a00060.html">libevocosm</a></li><li class="navelem"><a class="el" href="a00016.html">fuzzy_machine</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A finite state machine.  
 <a href="a00016.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00046_source.html">fuzzy_machine.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="a00016.png" usemap="#libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;_map" alt=""/>
  <map id="libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;_map" name="libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;_map">
<area href="a00017.html" title="Elements shared by all classes in Evocosm." alt="libevocosm::globals" shape="rect" coords="0,0,276,24"/>
<area href="a00021.html" alt="libevocosm::machine_tools" shape="rect" coords="286,0,562,24"/>
</map>
 </div></div>

<p><a href="a00075.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00037.html">tranout_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Defines a transition and output state pair.  <a href="a00037.html#details">More...</a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a066e77c950bf8f358b8303e6bd2abae7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a066e77c950bf8f358b8303e6bd2abae7">fuzzy_machine</a> (size_t a_size, double a_output_base, double a_output_range, double a_state_base, double a_state_range)</td></tr>
<tr class="memdesc:a066e77c950bf8f358b8303e6bd2abae7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creation constructor.  <a href="#a066e77c950bf8f358b8303e6bd2abae7"></a><br/></td></tr>
<tr class="memitem:aeabe5fca0e4707b7aa9d9c08d7a167cb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#aeabe5fca0e4707b7aa9d9c08d7a167cb">fuzzy_machine</a> (size_t a_size)</td></tr>
<tr class="memdesc:aeabe5fca0e4707b7aa9d9c08d7a167cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creation constructor.  <a href="#aeabe5fca0e4707b7aa9d9c08d7a167cb"></a><br/></td></tr>
<tr class="memitem:a76a46d6458b4a6311768046262474548"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a76a46d6458b4a6311768046262474548">fuzzy_machine</a> (const <a class="el" href="a00016.html">fuzzy_machine</a>&lt; InSize, OutSize &gt; &amp;a_parent1, const <a class="el" href="a00016.html">fuzzy_machine</a>&lt; InSize, OutSize &gt; &amp;a_parent2)</td></tr>
<tr class="memdesc:a76a46d6458b4a6311768046262474548"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct via bisexual crossover.  <a href="#a76a46d6458b4a6311768046262474548"></a><br/></td></tr>
<tr class="memitem:afc8e258be71adc9d4fd75ff1c6b599d8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#afc8e258be71adc9d4fd75ff1c6b599d8">fuzzy_machine</a> (const <a class="el" href="a00016.html">fuzzy_machine</a>&lt; InSize, OutSize &gt; &amp;a_source)</td></tr>
<tr class="memdesc:afc8e258be71adc9d4fd75ff1c6b599d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#afc8e258be71adc9d4fd75ff1c6b599d8"></a><br/></td></tr>
<tr class="memitem:a614d37a9f3d643d55a6fa0c1969fd5b3"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a614d37a9f3d643d55a6fa0c1969fd5b3">~fuzzy_machine</a> ()</td></tr>
<tr class="memdesc:a614d37a9f3d643d55a6fa0c1969fd5b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor.  <a href="#a614d37a9f3d643d55a6fa0c1969fd5b3"></a><br/></td></tr>
<tr class="memitem:afdec3f30b3990fb79bd3a7d08f7574e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00016.html">fuzzy_machine</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#afdec3f30b3990fb79bd3a7d08f7574e4">operator=</a> (const <a class="el" href="a00016.html">fuzzy_machine</a>&lt; InSize, OutSize &gt; &amp;a_source)</td></tr>
<tr class="memitem:aa75d2ae8cce7ff830c0acdd4c723bf7a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#aa75d2ae8cce7ff830c0acdd4c723bf7a">mutate</a> (double a_rate)</td></tr>
<tr class="memdesc:aa75d2ae8cce7ff830c0acdd4c723bf7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mutation.  <a href="#aa75d2ae8cce7ff830c0acdd4c723bf7a"></a><br/></td></tr>
<tr class="memitem:a2aa06f40b1fd522e1ae07d4c647d6b13"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a2aa06f40b1fd522e1ae07d4c647d6b13">transition</a> (size_t a_input)</td></tr>
<tr class="memdesc:a2aa06f40b1fd522e1ae07d4c647d6b13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cause state transition.  <a href="#a2aa06f40b1fd522e1ae07d4c647d6b13"></a><br/></td></tr>
<tr class="memitem:aae5c445c622e8e27afbaff397be27090"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#aae5c445c622e8e27afbaff397be27090">reset</a> ()</td></tr>
<tr class="memdesc:aae5c445c622e8e27afbaff397be27090"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset to start-up state.  <a href="#aae5c445c622e8e27afbaff397be27090"></a><br/></td></tr>
<tr class="memitem:afe47445693644f0bd689e1c1f5558eac"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#afe47445693644f0bd689e1c1f5558eac">size</a> () const </td></tr>
<tr class="memdesc:afe47445693644f0bd689e1c1f5558eac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get size.  <a href="#afe47445693644f0bd689e1c1f5558eac"></a><br/></td></tr>
<tr class="memitem:a0b3b5fad3a488bc24e273c6c0e732921"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="a00037.html">tranout_t</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a0b3b5fad3a488bc24e273c6c0e732921">get_transition</a> (size_t a_state, size_t a_input) const </td></tr>
<tr class="memdesc:a0b3b5fad3a488bc24e273c6c0e732921"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a transition from the internal state table.  <a href="#a0b3b5fad3a488bc24e273c6c0e732921"></a><br/></td></tr>
<tr class="memitem:ad2aa6dadfaaac9bff2b0deb5115a8b41"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#ad2aa6dadfaaac9bff2b0deb5115a8b41">num_input_states</a> () const </td></tr>
<tr class="memdesc:ad2aa6dadfaaac9bff2b0deb5115a8b41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get number of input states.  <a href="#ad2aa6dadfaaac9bff2b0deb5115a8b41"></a><br/></td></tr>
<tr class="memitem:a75c4cff480fe9b20dd681bab2d31c1b7"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a75c4cff480fe9b20dd681bab2d31c1b7">num_output_states</a> () const </td></tr>
<tr class="memdesc:a75c4cff480fe9b20dd681bab2d31c1b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get number of output states.  <a href="#a75c4cff480fe9b20dd681bab2d31c1b7"></a><br/></td></tr>
<tr class="memitem:afe4caa89c24d142ecf17e2cc2b692d59"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#afe4caa89c24d142ecf17e2cc2b692d59">init_state</a> () const </td></tr>
<tr class="memdesc:afe4caa89c24d142ecf17e2cc2b692d59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get initial state.  <a href="#afe4caa89c24d142ecf17e2cc2b692d59"></a><br/></td></tr>
<tr class="memitem:ae8f096f0a35e42570ab1f42cabac55a9"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#ae8f096f0a35e42570ab1f42cabac55a9">current_state</a> () const </td></tr>
<tr class="memdesc:ae8f096f0a35e42570ab1f42cabac55a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get current state.  <a href="#ae8f096f0a35e42570ab1f42cabac55a9"></a><br/></td></tr>
<tr class="memitem:acabb35dac4366c9dd021274f84a55e4f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00037.html">tranout_t</a> ***&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#acabb35dac4366c9dd021274f84a55e4f">state_table</a> ()</td></tr>
<tr class="memdesc:acabb35dac4366c9dd021274f84a55e4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get current transition table.  <a href="#acabb35dac4366c9dd021274f84a55e4f"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a784f498c3050c899e21496af111eb6af"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a784f498c3050c899e21496af111eb6af">set_mutation_weight</a> (<a class="el" href="a00021.html#a563ebfa0f0841c0ede9a43994f1d8dd3">mutation_id</a> a_type, double a_weight)</td></tr>
<tr class="memdesc:a784f498c3050c899e21496af111eb6af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a mutation weight.  <a href="#a784f498c3050c899e21496af111eb6af"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:af80d67010083aff90a33a41938e9e21a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af80d67010083aff90a33a41938e9e21a"></a>
<a class="el" href="a00037.html">tranout_t</a> ***&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#af80d67010083aff90a33a41938e9e21a">m_state_table</a></td></tr>
<tr class="memdesc:af80d67010083aff90a33a41938e9e21a"><td class="mdescLeft">&#160;</td><td class="mdescRight">State table (the machine definition) <br/></td></tr>
<tr class="memitem:a81b8d1f91738d4c32fdea880b92d1d8e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81b8d1f91738d4c32fdea880b92d1d8e"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a81b8d1f91738d4c32fdea880b92d1d8e">m_size</a></td></tr>
<tr class="memdesc:a81b8d1f91738d4c32fdea880b92d1d8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of states. <br/></td></tr>
<tr class="memitem:ac23ab9c4a034f7d86f0931d9b2d33414"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac23ab9c4a034f7d86f0931d9b2d33414"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#ac23ab9c4a034f7d86f0931d9b2d33414">m_init_state</a></td></tr>
<tr class="memdesc:ac23ab9c4a034f7d86f0931d9b2d33414"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initial state. <br/></td></tr>
<tr class="memitem:a3f5138f011fb06d410f090752f00eefb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f5138f011fb06d410f090752f00eefb"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a3f5138f011fb06d410f090752f00eefb">m_current_state</a></td></tr>
<tr class="memdesc:a3f5138f011fb06d410f090752f00eefb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current state. <br/></td></tr>
<tr class="memitem:ab7d4eee120e5db898cfe84791be3d854"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7d4eee120e5db898cfe84791be3d854"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#ab7d4eee120e5db898cfe84791be3d854">m_output_base</a></td></tr>
<tr class="memdesc:ab7d4eee120e5db898cfe84791be3d854"><td class="mdescLeft">&#160;</td><td class="mdescRight">base value for output weights <br/></td></tr>
<tr class="memitem:a5e6cec5c61f272ed1d2254f2c1ad4544"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e6cec5c61f272ed1d2254f2c1ad4544"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a5e6cec5c61f272ed1d2254f2c1ad4544">m_output_range</a></td></tr>
<tr class="memdesc:a5e6cec5c61f272ed1d2254f2c1ad4544"><td class="mdescLeft">&#160;</td><td class="mdescRight">range for output weights <br/></td></tr>
<tr class="memitem:af5e3f463434501ebc6e408bfdc75dee0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af5e3f463434501ebc6e408bfdc75dee0"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#af5e3f463434501ebc6e408bfdc75dee0">m_state_base</a></td></tr>
<tr class="memdesc:af5e3f463434501ebc6e408bfdc75dee0"><td class="mdescLeft">&#160;</td><td class="mdescRight">base value for state weights <br/></td></tr>
<tr class="memitem:a2328f31b5f00102ad2b2839f8ac1b9b0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2328f31b5f00102ad2b2839f8ac1b9b0"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a2328f31b5f00102ad2b2839f8ac1b9b0">m_state_range</a></td></tr>
<tr class="memdesc:a2328f31b5f00102ad2b2839f8ac1b9b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">range for state weights <br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a3f9e20a017bdc93dfc58e228ec2c6c1d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3f9e20a017bdc93dfc58e228ec2c6c1d"></a>
static <a class="el" href="a00022.html">mutation_selector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00016.html#a3f9e20a017bdc93dfc58e228ec2c6c1d">g_selector</a></td></tr>
<tr class="memdesc:a3f9e20a017bdc93dfc58e228ec2c6c1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Global mutation selector. <br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_a00017"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_a00017')"><img src="closed.png" alt="-"/>&nbsp;Static Protected Member Functions inherited from <a class="el" href="a00017.html">libevocosm::globals</a></td></tr>
<tr class="memitem:ae0fb3d77391329662f21d0f84e222602 inherit pub_static_methods_a00017"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0fb3d77391329662f21d0f84e222602"></a>
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#ae0fb3d77391329662f21d0f84e222602">set_seed</a> (uint32_t a_seed)</td></tr>
<tr class="memdesc:ae0fb3d77391329662f21d0f84e222602 inherit pub_static_methods_a00017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the seed for the random number generator. <br/></td></tr>
<tr class="memitem:a76f6dc798b18bd272e1ff3c1f8d9c4fd inherit pub_static_methods_a00017"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76f6dc798b18bd272e1ff3c1f8d9c4fd"></a>
static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#a76f6dc798b18bd272e1ff3c1f8d9c4fd">get_seed</a> ()</td></tr>
<tr class="memdesc:a76f6dc798b18bd272e1ff3c1f8d9c4fd inherit pub_static_methods_a00017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the seed for the random number generator. <br/></td></tr>
<tr class="memitem:acb9a2cde1cdf3f6c0dde4c4e11b74533 inherit pub_static_methods_a00017"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acb9a2cde1cdf3f6c0dde4c4e11b74533"></a>
static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#acb9a2cde1cdf3f6c0dde4c4e11b74533">version</a> ()</td></tr>
<tr class="memdesc:acb9a2cde1cdf3f6c0dde4c4e11b74533 inherit pub_static_methods_a00017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get version number. <br/></td></tr>
<tr class="memitem:a5e8897de95e0cccd71f0493586b48424 inherit pro_static_methods_a00017"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e8897de95e0cccd71f0493586b48424"></a>
static size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00017.html#a5e8897de95e0cccd71f0493586b48424">rand_index</a> (size_t n)</td></tr>
<tr class="memdesc:a5e8897de95e0cccd71f0493586b48424 inherit pro_static_methods_a00017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static function to allow use of g_random function pointer in random_shuffle. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;size_t InSize, size_t OutSize&gt;<br/>
class libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;</h3>

<p>The class defines an abstract fuzzy state machine that uses integer input and output types. </p>
<p>A fuzzy state machine differs from a finite state machine in the selection of state transitions and outputs. In a finite state machine, each input maps to specific output and state transitions for a given current state. The fuzzy state machine contains probability maps for outputs and inputs; for any given state an input, there is a probability that any valid output could be returned, for example. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">InSize</td><td>Number of input states </td></tr>
    <tr><td class="paramname">OutSize</td><td>Number of output states </td></tr>
  </table>
  </dd>
</dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a066e77c950bf8f358b8303e6bd2abae7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::<a class="el" href="a00016.html">fuzzy_machine</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>a_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>a_output_base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>a_output_range</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>a_state_base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>a_state_range</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new finite state machine with a given number of states. The four weight values define the range of weights assigned to outputs and state transitions; the actual roulette tables are randomized in the range (base,base+range). </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_size</td><td>- Initial number of states in this machine </td></tr>
    <tr><td class="paramname">a_output_base</td><td>- Minimum (base) value for an output roulette wheel weight </td></tr>
    <tr><td class="paramname">a_output_range</td><td>- Range for an output roulette wheel weight </td></tr>
    <tr><td class="paramname">a_state_base</td><td>- Minimum (base) value for a new roulette wheel weight </td></tr>
    <tr><td class="paramname">a_state_range</td><td>- Range for a new state roulette wheel weight </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="a00017.html#a2dd06cbfa61fdca09d03ec26837f7a7d">libevocosm::globals::g_random</a>, <a class="el" href="a00028.html#a3a9430e41fa1b6fdfd6c1ec44a578376">libevocosm::prng::get_real()</a>, <a class="el" href="a00016.html#a3f5138f011fb06d410f090752f00eefb">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_current_state</a>, <a class="el" href="a00016.html#ac23ab9c4a034f7d86f0931d9b2d33414">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_init_state</a>, <a class="el" href="a00016.html#a81b8d1f91738d4c32fdea880b92d1d8e">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_size</a>, <a class="el" href="a00016.html#af80d67010083aff90a33a41938e9e21a">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_state_table</a>, and <a class="el" href="a00017.html#a5e8897de95e0cccd71f0493586b48424">libevocosm::globals::rand_index()</a>.</p>

</div>
</div>
<a class="anchor" id="aeabe5fca0e4707b7aa9d9c08d7a167cb"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::<a class="el" href="a00016.html">fuzzy_machine</a> </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>a_size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new finite state machine with a given number of states. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_size</td><td>- Initial number of states in this machine </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="a00016.html#a3f5138f011fb06d410f090752f00eefb">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_current_state</a>, <a class="el" href="a00016.html#ac23ab9c4a034f7d86f0931d9b2d33414">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_init_state</a>, <a class="el" href="a00016.html#a81b8d1f91738d4c32fdea880b92d1d8e">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_size</a>, <a class="el" href="a00016.html#af80d67010083aff90a33a41938e9e21a">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_state_table</a>, and <a class="el" href="a00017.html#a5e8897de95e0cccd71f0493586b48424">libevocosm::globals::rand_index()</a>.</p>

</div>
</div>
<a class="anchor" id="a76a46d6458b4a6311768046262474548"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::<a class="el" href="a00016.html">fuzzy_machine</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00016.html">fuzzy_machine</a>&lt; InSize, OutSize &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_parent1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a00016.html">fuzzy_machine</a>&lt; InSize, OutSize &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_parent2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new <a class="el" href="a00016.html" title="A finite state machine.">fuzzy_machine</a> by combining the states of two parent machines. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_parent1</td><td>- The first parent organism </td></tr>
    <tr><td class="paramname">a_parent2</td><td>- The second parent organism </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="a00017.html#a2dd06cbfa61fdca09d03ec26837f7a7d">libevocosm::globals::g_random</a>, <a class="el" href="a00028.html#a3a9430e41fa1b6fdfd6c1ec44a578376">libevocosm::prng::get_real()</a>, <a class="el" href="a00016.html#a3f5138f011fb06d410f090752f00eefb">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_current_state</a>, <a class="el" href="a00016.html#ac23ab9c4a034f7d86f0931d9b2d33414">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_init_state</a>, <a class="el" href="a00016.html#a81b8d1f91738d4c32fdea880b92d1d8e">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_size</a>, <a class="el" href="a00016.html#af80d67010083aff90a33a41938e9e21a">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_state_table</a>, and <a class="el" href="a00017.html#a5e8897de95e0cccd71f0493586b48424">libevocosm::globals::rand_index()</a>.</p>

</div>
</div>
<a class="anchor" id="afc8e258be71adc9d4fd75ff1c6b599d8"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::<a class="el" href="a00016.html">fuzzy_machine</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00016.html">fuzzy_machine</a>&lt; InSize, OutSize &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Creates a new <a class="el" href="a00016.html" title="A finite state machine.">fuzzy_machine</a> identical to an existing one. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_source</td><td>- Object to be copied </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a614d37a9f3d643d55a6fa0c1969fd5b3"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::~<a class="el" href="a00016.html">fuzzy_machine</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Does nothing in the base class; exists to allow destruction of derived class objects through base class (<a class="el" href="a00016.html" title="A finite state machine.">fuzzy_machine</a>) pointers. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae8f096f0a35e42570ab1f42cabac55a9"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::current_state </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the current (active) state. </p>
<dl class="section return"><dt>Returns:</dt><dd>The current state </dd></dl>

</div>
</div>
<a class="anchor" id="a0b3b5fad3a488bc24e273c6c0e732921"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="a00016.html">fuzzy_machine</a>&lt; InSize, OutSize &gt;::<a class="el" href="a00037.html">tranout_t</a> &amp; <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::get_transition </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>a_state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>a_input</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get a transition from the internal state table. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_state</td><td>- Target state </td></tr>
    <tr><td class="paramname">a_input</td><td>- State information to return </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>A transition from the internal state table. </dd></dl>

</div>
</div>
<a class="anchor" id="afe4caa89c24d142ecf17e2cc2b692d59"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::init_state </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the initial (start up) state. </p>
<dl class="section return"><dt>Returns:</dt><dd>The initial state </dd></dl>

</div>
</div>
<a class="anchor" id="aa75d2ae8cce7ff830c0acdd4c723bf7a"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::mutate </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>a_rate</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Mutates a finite state machine object. The four mutations supported are:</p>
<ul>
<li>Change a random output symbol</li>
<li>Change a random state transition</li>
<li>Swap two randomly-selected states</li>
<li>Randomly change the initial state Why not store the input and output sets in the machine itself? That would duplicate information across every machine of a given type, greatly increasing the memory footprint of each <a class="el" href="a00016.html" title="A finite state machine.">fuzzy_machine</a>. The same principle holds for the mutation selector. <dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_rate</td><td>- Chance that any given state will mutate </td></tr>
  </table>
  </dd>
</dl>
</li>
</ul>

</div>
</div>
<a class="anchor" id="ad2aa6dadfaaac9bff2b0deb5115a8b41"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::num_input_states </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the number of input states </p>
<dl class="section return"><dt>Returns:</dt><dd>The number of input states </dd></dl>

</div>
</div>
<a class="anchor" id="a75c4cff480fe9b20dd681bab2d31c1b7"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::num_output_states </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the number of output states </p>
<dl class="section return"><dt>Returns:</dt><dd>The number of output states </dd></dl>

</div>
</div>
<a class="anchor" id="afdec3f30b3990fb79bd3a7d08f7574e4"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00016.html">fuzzy_machine</a>&lt; InSize, OutSize &gt; &amp; <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="a00016.html">fuzzy_machine</a>&lt; InSize, OutSize &gt; &amp;&#160;</td>
          <td class="paramname"><em>a_source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Sets an existing <a class="el" href="a00016.html" title="A finite state machine.">fuzzy_machine</a> to duplicate another. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_source</td><td>- Object to be copied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Reference to target object </dd></dl>

<p>References <a class="el" href="a00016.html#a3f5138f011fb06d410f090752f00eefb">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_current_state</a>, <a class="el" href="a00016.html#ac23ab9c4a034f7d86f0931d9b2d33414">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_init_state</a>, <a class="el" href="a00016.html#ab7d4eee120e5db898cfe84791be3d854">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_output_base</a>, <a class="el" href="a00016.html#a5e6cec5c61f272ed1d2254f2c1ad4544">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_output_range</a>, <a class="el" href="a00016.html#a81b8d1f91738d4c32fdea880b92d1d8e">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_size</a>, <a class="el" href="a00016.html#af5e3f463434501ebc6e408bfdc75dee0">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_state_base</a>, and <a class="el" href="a00016.html#a2328f31b5f00102ad2b2839f8ac1b9b0">libevocosm::fuzzy_machine&lt; InSize, OutSize &gt;::m_state_range</a>.</p>

</div>
</div>
<a class="anchor" id="aae5c445c622e8e27afbaff397be27090"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Prepares the FSM to start running from its initial state. </p>

</div>
</div>
<a class="anchor" id="a784f498c3050c899e21496af111eb6af"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::set_mutation_weight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00021.html#a563ebfa0f0841c0ede9a43994f1d8dd3">mutation_id</a>&#160;</td>
          <td class="paramname"><em>a_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>a_weight</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Sets the weight value associated with a specific mutation; this changes the relative chance of this mutation happening. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_type</td><td>- ID of the weight to be changed </td></tr>
    <tr><td class="paramname">a_weight</td><td>- New weight to be assigned </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afe47445693644f0bd689e1c1f5558eac"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the size of a <a class="el" href="a00016.html" title="A finite state machine.">fuzzy_machine</a>. </p>
<dl class="section return"><dt>Returns:</dt><dd>The size, in number of states </dd></dl>

</div>
</div>
<a class="anchor" id="acabb35dac4366c9dd021274f84a55e4f"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00037.html">tranout_t</a>*** <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::state_table </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the state transition table pointer.</p>
<p>This is a very dangerous function, as it gives unrestricted access to the transition table that defines a machine. Given the complexity of fuzzy state machines, I implemented this function for debugging purposes; it is not intended as a tool for directly altering the transition table. /return Pointer to the transition table for the target machine </p>

</div>
</div>
<a class="anchor" id="a2aa06f40b1fd522e1ae07d4c647d6b13"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;size_t InSize, size_t OutSize&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="a00016.html">libevocosm::fuzzy_machine</a>&lt; InSize, OutSize &gt;::transition </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>a_input</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Based on an input symbol, this function changes the state of an <a class="el" href="a00016.html" title="A finite state machine.">fuzzy_machine</a> and returns an output symbol. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_input</td><td>- An input symbol </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>Output value resulting from transition </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00046_source.html">fuzzy_machine.h</a></li>
</ul>
</div><!-- contents -->
<hr>
<p align="center"><small>
&copy; 1996-2005 Scott Robert Ladd. All rights reserved.<br>
HTML documentation generated by Dimitri van Heesch's excellent <a href="http://www.doxygen.org">Doxygen</a> tool.
</small>
</p>
</body>
</html>