This rep, created by Si-yu Derrick ZHANG and matined by CV&AI group of Artinx@SUSTech, is nothing other than a mathematical modeling for the strategy of shooting.
Two parts are contained in this rep:
- Mathematical Models, both for HP_lose because of a over heating gun and for damage on enemy
- Optimization Algorithm : At present, only PSO is included. (which is bascially because I'm not familiar with any other optimization method )
Two optimization algorithm are provided now
- Naive PSO, as its name, is for naive optimization problems.
- MOPSO (superposition) is a improved PSO algorithm with feasible area method.
Noice
In both algorithms, there are some problems with mutation operator and the running time increase a lot when mutation operator is used.
If you are interesetd in the optimization algorithm, you might want to take a look at my previous work at : https://github.com/DeriZSY/hybrid_mopso
- Continuous shooting without a pause.
- 100% on-target rate
- Minimize HP lost due to over heat
- Maximize Damage
- Bounded shooting frequency and bounded shooting frequency.
The HP lost increases with the increase of either shooting frequency and shooting speed; while the damage only increases with the incrase of shooting frequency. Obviously, to maximize the damage and minize HP lost, we should first set shooting frequency to the maximum possible value, and then adjust the shooting speed to the maximum possible value with 0 HP lost.
PSO Algorithm used in this rep cannot find the exact global optima. Instead, it will reach somewhere nearby; I personally believe that this algorithm has some advancement as the requirement of modeling become more and more complex
- Real boundary for shooting paramters, and real control model for shooting paramters (e.g. a process of acceleartion might need to be taken into consider )
- Time gaps between shooting
- Real on-target rate
- Real shooting range (e.g. might include a model for long range shooting and a model for short range shooting )
- Using HP lost as a penlaty (instead of an objective )
- Maximize neat damage
- Shooting with pause model
- Real shooting model
- Real shooting range