//
// Copyright (c) 2009 Froduald Kabanza and the Université de Sherbrooke.
// Use of this software is permitted for non-commercial research purposes, and
// it may be copied or applied only for that use. All copies must include this
// copyright message.
// 
// This is a research prototype that has not gone through intensive tests and
// is delivered as is. It may still contain bugs. Froduald Kabanza and the
// Université de Sherbrooke disclaim any responsibility for damage that may be
// caused by using it.
//
// Please note that some files were inspired in part by the PDDL4J library:
// http://www.math-info.univ-paris5.fr/~pellier/software/software.php 
//
// Implementation: Simon Chamberland
// Project Manager: Froduald Kabanza
//

#ifndef _FLUENT_H
#define _FLUENT_H

#include "DescribedFormula.h"

namespace planning
{
  /// <summary>
  /// A fluent represents a described formula associated with a numeric or object value.
  /// </summary>
  class Fluent : public DescribedFormula
  {
  public:
    /// <summary>
    /// Creates a new fluent with the specified name and arguments.
    /// </summary>
    /// <param name="name">The name of the new fluent.</param>
    /// <param name="arguments">The arguments of the new fluent.</param>
    /// <param name="attributes">The new fluent's attributes.</param>
    template <class Iterator>
    Fluent(const std::string& name, Iterator argumentsBegin, Iterator argumentsEnd, 
           Attributes attributes)
      : DescribedFormula(name, argumentsBegin, argumentsEnd, attributes)
    {
    }
  };
}

#endif