Skip to content

Commit

Permalink
center content
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2Brownlee committed Dec 19, 2024
1 parent aa352b4 commit c074d70
Show file tree
Hide file tree
Showing 69 changed files with 148 additions and 134 deletions.
4 changes: 2 additions & 2 deletions docs/nature-inspired/acknowledgments.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -75,5 +75,5 @@ <h1><a name='acknowledgments'>Acknowledgments</a></h1>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -60,5 +60,5 @@ <h3>Advanced Topics</h3>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/advanced/new_algorithms.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -377,5 +377,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/advanced/paradigms.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -454,5 +454,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/advanced/problem_solving.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -469,5 +469,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/advanced/racing_algorithms.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -321,5 +321,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/advanced/testing_algorithms.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -237,5 +237,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/advanced/visualizing_algorithms.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -370,5 +370,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/appendix1.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -372,5 +372,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
14 changes: 14 additions & 0 deletions docs/nature-inspired/clever.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@

body {
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
}

.container {
width: 880px; /* Set the width of your content */
max-width: 100%; /* Ensures responsiveness for smaller screens */
margin: 0 auto; /* Center the container horizontally */
padding: 20px; /* Optional: Add some padding if needed */
box-sizing: border-box; /* Ensure padding doesn't affect width */
}


/* centre and bold captions for code listings */
.caption {
text-align: center;
Expand Down
2 changes: 1 addition & 1 deletion docs/nature-inspired/copyright.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down
4 changes: 2 additions & 2 deletions docs/nature-inspired/errata.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -75,5 +75,5 @@ <h2><a name='revision_1'>Revision 1</a></h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/evolution.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -237,5 +237,5 @@ <h3>Bibliography</h3>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/evolution/differential_evolution.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -277,5 +277,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/evolution/evolution_strategies.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -275,5 +275,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/evolution/evolutionary_programming.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -285,5 +285,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -311,5 +311,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/evolution/genetic_algorithm.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -309,5 +309,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/evolution/genetic_programming.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -397,5 +397,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/evolution/grammatical_evolution.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -358,5 +358,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -510,5 +510,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/evolution/nsga.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -364,5 +364,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
4 changes: 2 additions & 2 deletions docs/nature-inspired/evolution/spea.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="https://cleveralgorithms.com/nature-inspired/prettify.js"></script>
</head>
<!-- call to display ruby source nicely -->
<body onload="prettyPrint()"><!-- Start Header -->
<body onload="prettyPrint()"><div class="container"><!-- Start Header -->
<center>
<h1>Clever Algorithms: Nature-Inspired Programming Recipes</h1>
<em>A book by Jason Brownlee</em>
Expand Down Expand Up @@ -349,5 +349,5 @@ <h2>Bibliography</h2>
<!-- generate math images from latex math snippets -->
<script type="text/javascript" src="https://mathcache.s3.amazonaws.com/replacemath.js"></script>
<script type="text/javascript">replaceMath(document.body);</script>
</body>
</div></body>
</html>
Loading

0 comments on commit c074d70

Please sign in to comment.