(defun demo-task3 () (do32)) (defun do32 () (let ((charts) (num 3)) ;size(3, 300) culture(0, 100) criticality(0, 4) dynamisim(0, 40) team-alpha(0, .35) (clampValue '((size 30) (culture 20) (criticality 0) (dynamisim 3) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 20) (criticality 0) (dynamisim 3) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 20) (criticality 0) (dynamisim 35) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 20) (criticality 0) (dynamisim 35) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 20) (criticality 4) (dynamisim 3) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 20) (criticality 4) (dynamisim 3) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 20) (criticality 4) (dynamisim 35) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 20) (criticality 4) (dynamisim 35) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 80) (criticality 0) (dynamisim 3) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 80) (criticality 0) (dynamisim 3) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 80) (criticality 0) (dynamisim 35) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 80) (criticality 0) (dynamisim 35) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 80) (criticality 4) (dynamisim 3) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 80) (criticality 4) (dynamisim 3) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 80) (criticality 4) (dynamisim 35) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 30) (culture 80) (criticality 4) (dynamisim 35) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 20) (criticality 0) (dynamisim 3) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 20) (criticality 0) (dynamisim 3) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 20) (criticality 0) (dynamisim 35) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 20) (criticality 0) (dynamisim 35) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 20) (criticality 4) (dynamisim 3) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 20) (criticality 4) (dynamisim 3) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 20) (criticality 4) (dynamisim 35) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 20) (criticality 4) (dynamisim 35) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 80) (criticality 0) (dynamisim 3) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 80) (criticality 0) (dynamisim 3) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 80) (criticality 0) (dynamisim 35) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 80) (criticality 0) (dynamisim 35) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 80) (criticality 4) (dynamisim 3) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 80) (criticality 4) (dynamisim 3) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 80) (criticality 4) (dynamisim 35) (team-alpha 0.05)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (clampValue '((size 200) (culture 80) (criticality 4) (dynamisim 35) (team-alpha .35)) :reset t) (multiple-value-bind (chartrandom number) (POM2 num t) (push (list chartrandom number (getClamp)) charts)) (makeChartFile charts))) (defun makeChartFile (charts) (with-open-file (out "/home/bryanl/public_html/AI/index.html" :direction :output :if-exists :supersede :if-does-not-exist :create) (format out "POM2 Charts

POM2 Charts

See POM1 Charts
") (dolist (chart charts) (format out "Static Values: ") (dolist (clamp (third chart)) (format out "~A=~A, " (first clamp) (second clamp))) (format out "
") (dotimes (x (second chart)) (format out "" (first chart) (1+ x) (first chart) (1+ x))) (format out "
")) (format out "")))