Giter VIP home page Giter VIP logo

Comments (8)

DorpsGek avatar DorpsGek commented on May 3, 2024

StarLite wrote:

This bug was encountered with NTP, no NPF.
Game settings below

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/50#comment103

from openttd.

DorpsGek avatar DorpsGek commented on May 3, 2024

StarLite wrote:

Same bug, but with a normal signal instead of a pre-signal.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/50#comment104

from openttd.

DorpsGek avatar DorpsGek commented on May 3, 2024

Celestar wrote:

could you just provide a savegame?


This comment was imported from FlySpray: https://bugs.openttd.org/task/50#comment226

from openttd.

DorpsGek avatar DorpsGek commented on May 3, 2024

StarLite wrote:

Here it is


This comment was imported from FlySpray: https://bugs.openttd.org/task/50#comment231

from openttd.

DorpsGek avatar DorpsGek commented on May 3, 2024

KUDr wrote:

I guess we should rather call it feature than bug. Can't expect that all PFs will behave the same:

  1. NTP loops regardless of the signal type (one/two-way)
  2. NPF always goes straight (and train stops)
  3. YAPF chooses the straight when signal is one-way and loops on two-way signal

Can we tell which one works correctly?
And can we tell that the other two pathfinders are broken?

I guess the correct answers are "No" and "No".

Opinions?


This comment was imported from FlySpray: https://bugs.openttd.org/task/50#comment256

from openttd.

DorpsGek avatar DorpsGek commented on May 3, 2024

Tekky wrote:

I disagree with the last post. Pathfinders in general should only select routes which take the vehicle to its target. They should never loop.

YAPF's behavior may be acceptable if you assume that two-way signals are supposed to explicitly instruct the train to "choose" a green signal. However, I believe that one-way and two-way signals should both be treated the same by the pathfinder, as is the case with NPF.


This comment was imported from FlySpray: https://bugs.openttd.org/task/50#comment292

from openttd.

DorpsGek avatar DorpsGek commented on May 3, 2024

KUDr wrote:

Pathfinder should select the best route. The only thing we can discuss about is if it is better to stop the train or let it wait while it moves (loop). It depends on the situation and on your opinion. The statement "They should never loop." is totally invalid.

Only the valid statement would be "I would like to stop the train rather than to let it loop." or "It is better to don't stop the train and continue moving until the path is free.".


This comment was imported from FlySpray: https://bugs.openttd.org/task/50#comment293

from openttd.

DorpsGek avatar DorpsGek commented on May 3, 2024

Darkvater closed the ticket.

Reason for closing: Not a bug

Not a bug, (mis/dis)interpretation of pathfinder logics


This comment was imported from FlySpray: https://bugs.openttd.org/task/50

from openttd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.