Comments (4)
現在のアイディアとしては「先行列車の終着駅到着時刻をランダムに選ぶ」→「路線生成に伴って先行列車の動きがランダムに生成され、先行列車の始発駅出発時刻が決まる」→「先行列車の始発駅出発時刻に合わせて自車の始発駅出発時刻を選ぶ」という風にするとうまくいきそうな気がしている。このやり方をする場合、停車場リストファイルをかなりたくさん用意しておかないと自車が先行列車に追い付く確率が低くなる。
from bve-random-map.
あと上のやり方では停車場リストを init.txt
ではなく fin.txt
で読み込むことになる。(そうすること自体はできそう)
from bve-random-map.
停車場リストファイルのたくさんのバリエーションを用意するのがめんどいと思ったけど、中身が異なっていなければならない必要はないのでとりあえずたくさんコピペすればよいかな。
from bve-random-map.
以上を踏まえて 8567fb2 で実装
from bve-random-map.
Related Issues (7)
- CS-ATC 用車両
- 逆方向に路線を生成 HOT 2
- 信号インデックスの自動計算 HOT 4
- CS-ATC
- 制限速度 HOT 9
- CS-ATC: 地上子の配置を見直す HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bve-random-map.