Skip to content

Commit 4a58221

Browse files
committed
Delete sidebar icons (will be replaced with better code later)
Complete creating efd tut
1 parent 17f9e32 commit 4a58221

File tree

94 files changed

+692
-774
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+692
-774
lines changed

docs/modding-tools/achive-compilers-decompilers/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "Achive Compilers/Decompilers",
3+
"link": {
4+
"type": "generated-index",
5+
"description": "Modding Tools related to Achive Compilers/Decompilers."
6+
}
7+
}

docs/modding-tools/ai/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "AI",
3+
"link": {
4+
"type": "generated-index",
5+
"description": "Modding Tools related to AI."
6+
}
7+
}

docs/modding-tools/ai/evaluation-function-constructor.md

Lines changed: 141 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,21 @@ Program for creating evaluation functions.
5959
<tr>
6060
<td>-c[d]</td>
6161
<td>
62-
Convert text to binary data and generate initial patterns. <br />d - Show duplicates being found in text data
62+
Convert text to binary data and generate initial patterns. <br /><ul>d - Show duplicates being found in text data</ul>
6363
</td>
6464
</tr>
6565
<tr>
6666
<td>
6767
-g\{{"c,p\[s],b"}}
6868
</td>
6969
<td>
70-
gc - Generate configurations from atomic features based on test data. <br />gp - generate patterns from configurations being generated. <br />gps - Show all configurations during generation. <br />gb - Generate pattern basis from patterns being generated
70+
<ul>gc - Generate configurations from atomic features based on test data. <br />gp - generate patterns from configurations being generated. <br />gps - Show all configurations during generation. <br />gb - Generate pattern basis from patterns being generated</ul>
7171
</td>
7272
</tr>
7373
<tr>
7474
<td>-f[p,u]</td>
7575
<td>
76-
Fit weights of pattern configurations. <br />p - Force to use probabilistic weight fitting algorithm. <br />u - Force to use previous parameters if exist
76+
Fit weights of pattern configurations. <br /><ul>p - Force to use probabilistic weight fitting algorithm. <br />u - Force to use previous parameters if exist</ul>
7777
</td>
7878
</tr>
7979
<tr>
@@ -91,7 +91,7 @@ Program for creating evaluation functions.
9191
<tr>
9292
<td>-b[f]</td>
9393
<td>
94-
Build evaluation function. <br />f - Save parameters in float (default is double)
94+
Build evaluation function. <br /><ul>f - Save parameters in float (default is double)</ul>
9595
</td>
9696
</tr>
9797
<tr>
@@ -108,3 +108,140 @@ Program for creating evaluation functions.
108108
</tr>
109109
</tbody>
110110
</table>
111+
112+
## Config file
113+
114+
Parameters contained in `efc.ini`.
115+
116+
### File Names
117+
118+
| Key | Description |
119+
|---|---|
120+
| LogData | Dual output log file |
121+
| TextData | Human-readable training data |
122+
| BinaryData | Binary test data with duplicates removed |
123+
| ConfigData | Configurations organized by cardinality |
124+
| PatternData | Filtered pattern specifications |
125+
| CoreData | Complete specification (test + patterns) |
126+
| ParametersData | Optimized double-precision weights |
127+
| EFData | Final packaged evaluation function |
128+
129+
### Weight Fitting Parameters
130+
131+
These four parameters control the gradient descent optimization algorithm that learns pattern weights from training data. The algorithm implements momentum-based gradient descent with configurable convergence criteria.
132+
133+
| Key | Description |
134+
|---|---|
135+
| Epsilon | Convergence Threshold. Defines the minimum per-test-example improvement in squared error required to continue optimization |
136+
| Alpha | Learning Rate. Scales the gradient magnitude during parameter updates. Larger values take bigger steps in parameter space |
137+
| Beta | Momentum Coefficient. Weights the previous update direction in the current update, enabling momentum to accelerate convergence and escape shallow local minima. |
138+
| MaxIterationCount | Safety Limit. Hard upper bound on optimization iterations to prevent infinite loops or excessive runtime |
139+
140+
### Probabilistic Weight Fitting Parameters
141+
142+
These parameters enable stochastic perturbation during optimization to escape local minima. When active, random subsets of parameters are temporarily frozen while others are updated, creating exploration dynamics.
143+
144+
<table><thead>
145+
<tr>
146+
<th>Key</th>
147+
<th>Description</th>
148+
</tr></thead>
149+
<tbody>
150+
<tr>
151+
<td>RandomFactor</td>
152+
<td rowspan="2">Exploration Rate. Together determine the fraction of parameters randomly frozen during each update cycle. Each parameter has RandomProbability / RandomFactor chance of being frozen</td>
153+
</tr>
154+
<tr>
155+
<td>RandomProbability</td>
156+
</tr>
157+
<tr>
158+
<td>RandomUpdate</td>
159+
<td>Refresh Interval. Controls how many iterations use the same random mask before regenerating. Lower values increase variability, higher values provide stability</td>
160+
</tr>
161+
<tr>
162+
<td>RandomStartSeed</td>
163+
<td>Reproducibility. Initializes the pseudo-random number generator for reproducible experiments. Same seed produces identical random sequences</td>
164+
</tr>
165+
</tbody>
166+
</table>
167+
168+
### Configuration Generation Parameters
169+
170+
These parameters control the complexity and filtering of patterns generated during the configuration and pattern generation stages. They determine which variable combinations are considered as features for the evaluation function.
171+
172+
| Key | Description |
173+
|---|---|
174+
| MatchThreshold | Minimum Pattern Frequency. Defines the minimum number of test examples in which a configuration must appear to be considered as a viable pattern. Acts as a frequency filter during configuration generation |
175+
| MaxCardinality | Pattern Complexity Limit. Limits the maximum number of variables that can be combined in a single pattern. Controls the combinatorial explosion during configuration generation |
176+
177+
### Patterns Generation Parameters
178+
179+
| Key | Description |
180+
|---|---|
181+
| PatternExistanceCoefficient | Coverage Threshold. Filters patterns based on their coverage ratio: count / complexity. A pattern must appear in at least this fraction of its possible instantiations to be kept |
182+
183+
### Function Types
184+
185+
#### Primary Functions
186+
187+
| Key | Description |
188+
|---|---|
189+
| Distance | |
190+
| GraphPointType0 | |
191+
| EquipmentType | |
192+
| ItemDeterioration | |
193+
| EquipmentPreference | |
194+
| MainWeaponType | |
195+
| MainWeaponPreference | |
196+
| ItemValue | |
197+
| WeaponAmmo | |
198+
| DetectorType | |
199+
| PersonalHealth | |
200+
| PersonalMorale | |
201+
| PersonalCreatureType | |
202+
| PersonalWeaponType | |
203+
| PersonalAccuracy | |
204+
| PersonalIntelligence | |
205+
| PersonalRelation | |
206+
| PersonalGreed | |
207+
| PersonalAggressiveness | |
208+
| PersonalEyeRange | |
209+
| PersonalMaxHealth | |
210+
| EnemyHealth | |
211+
| EnemyCreatureType | |
212+
| EnemyWeaponType | |
213+
| EnemyEquipmentCost | |
214+
| EnemyRukzakWeight | |
215+
| EnemyAnomality | |
216+
| EnemyEyeRange | |
217+
| EnemyMaxHealth | |
218+
| EnemyAnomalyType | |
219+
| EnemyDistanceToGraphPoint | |
220+
221+
#### Complex Functions
222+
223+
| Key | Description |
224+
|---|---|
225+
| WeaponEffectiveness | |
226+
| CreatureEffectiveness | |
227+
| IntCreatureEffectiveness | |
228+
| AccWeaponEffectiveness | |
229+
| FinCreatureEffectiveness | |
230+
| VictoryProbability | |
231+
| EntityCost | |
232+
| Expediency | |
233+
| SurgeDeathProbability | |
234+
| EquipmentValue | |
235+
| MainWeaponValue | |
236+
| SmallWeaponValue | |
237+
| TerrainType | |
238+
| WeaponAttackTimes | |
239+
| WeaponSuccessProbability | |
240+
| EnemyDetectability | |
241+
| EnemyDetectProbability | |
242+
| AnomalyDetectProbability | |
243+
| AnomalyInteractProbability | |
244+
| AnomalyRetreatProbability | |
245+
| BirthPercentage | |
246+
| BirthProbability | |
247+
| BirthSpeed | |

docs/modding-tools/animations/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "Animations",
3+
"link": {
4+
"type": "generated-index",
5+
"description": "Modding Tools related to Animations."
6+
}
7+
}

docs/modding-tools/audio-video/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"label": "Audio-Video",
3+
"link": {
4+
"type": "generated-index",
5+
"description": "Modding Tools related to Audio-Video."
6+
}
7+
}

docs/modding-tools/coding/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)