Comments (3)
The current idea:
I do not set a hard limit on how long it should wait, but I have a separate curve X that will change as things change. When X intersects with T, then it means we have "found a solution", and the bus can depart.
X is a function of the "progress distance" to the previous bus in the line. If the distance is low (ie, previous bus has just departed), then X is large, and it decreases hyperbolically until it reaches the "safe unbunching distance" giving the standard waiting time of 64.
As a result, the unbunching distance is implicitly defined, and it tries to maintain a progress distance of approx slightly smaller than 100% / # of buses
percent, which will (hopefully) collapse to an approx equal to the value
itself of bus interval due to road conditions.
This provides some reasonable generality to the minimum-distance problem of unbunching. (The maximum-distance problem is rather trivial and is solved at #29)
(Hint: if anyone could make a framework to persistently remember the unbunching time beyond 255, then this would probably be much more powerful...)
from expressbusservices.
However, while this works for low-budget cases, this breaks the high-budget situation: buses now wait too long to depart when there are many buses queued behind the terminus.
Therefore, one way to deal with this is to use the progress distance list and see if the terminus is crowded. If it is crowded (i.e. it is a high-budget situation), then don't use the unbunching soft limit. Let the vanilla decider take over instead.
from expressbusservices.
This is now on Steam; closing.
from expressbusservices.
Related Issues (20)
- New feature: fast boarding HOT 2
- Upgrade the Service Self-Balancing: target high demand non-terminus stops HOT 3
- Agressive and Experimental mode can cause bus despawning HOT 2
- Notice on IPT2 non-intervention, and recommendation to use TLM HOT 1
- Architecture reversal: read TLM values through the TLM plugin HOT 2
- Consider: disallow repeated redeployment HOT 2
- Negotiation Rounds against Compatibility Report HOT 5
- New IPT2 detected HOT 3
- New Feature: Rapid (or Slowed) Deployment HOT 6
- Incorrect detection of minibuses HOT 2
- Potential problem: FPS tanking HOT 5
- Recheck compatibility with More Citizen Units HOT 1
- New feature: Departure Ushering HOT 5
- New Feature: Continuous Boarding HOT 1
- Open question: should trams be allowed to use the "redeployment" feature? HOT 2
- New feature: Redeployment by Teleportation HOT 6
- Seeemingly incorrect percent-progress of freshly-redeployed buses HOT 2
- Can we further reduce the minimum time for termini unbunching?
- Known Issue: transport line vehicle mass-return to base
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 expressbusservices.