Skip to content

Support multiple objects of the same kind #10

Description

@aspiwack

In alttpr, for instance, small keys in a dungeon are all identical, or progressive objects (sword, glove). And we want to be able to express properties such as: to reach location X, I need at least that many items.

The basic plan is to

  1. transform the pseudo-arithmetic clause so that the goal is a time n+1 first, so that this becomes a normal pseudo-arithmetic clause
  2. use techniques from the minisat+ paper to transform such a pseudo-arithmetic clause into normal SAT clauses

In order to avoid silly combinatory explosion, we also need to make sure that the various copies of the same item that this will produce (I think) are ordered, and locations are ordered too, and that we only affect a larger copy of an item to a larger location (otherwise, we would produce a problem with two equivalent configuration, and we don't want that!)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions