Skip to content
Snippets Groups Projects
  • awenjb's avatar
    2fc0df0b
    Update Code · 2fc0df0b
    awenjb authored
    - revised some parts of the code
    - add some comments
    - add config.h and types.h
    - data init with the list of Pair
    - Solution init and link with constraints
    2fc0df0b
    History
    Update Code
    awenjb authored
    - revised some parts of the code
    - add some comments
    - add config.h and types.h
    - data init with the list of Pair
    - Solution init and link with constraints
atomic_recreation.h 434 B
#pragma once

#include "atomic_modification.h"

class Location;

/**
 * Abstract specification of AtomicModification for modifications that recreate the solution.
 */
class AtomicRecreation : public AtomicModification
{
public:
    ~AtomicRecreation() override = default;

    /**
     * @return the pickup location added to the solution, nullptr if none were added
     */
    virtual Location const *getAddedLocation() const = 0;
};