Object

cspom.xcsp

XCSPParser

Related Doc: package xcsp

Permalink

object XCSPParser extends Parser

This class implements an XCSP 2.0 parser.

Linear Supertypes
(InputStream) ⇒ Try[CSPOM], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XCSPParser
  2. Function1
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Extension(init: Boolean, relation: Relation[Int]) extends Product with Serializable

    Permalink
  2. implicit class IterableNodeList extends Iterable[Node]

    Permalink
  3. sealed trait XCSP extends AnyRef

    Permalink
  4. case class XCSP2(document: Node) extends Product with Serializable

    Permalink
  5. case class XCSP3(document: Document) extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def andThen[A](g: (Try[CSPOM]) ⇒ A): (InputStream) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(document: Node): Try[CSPOM]

    Permalink
  6. def apply(is: InputStream): Try[CSPOM]

    Permalink

    Append the XCSP data provided by the InputStream to the given CSPOM problem.

    Append the XCSP data provided by the InputStream to the given CSPOM problem.

    is

    The source of the XCSP data

    Definition Classes
    XCSPParser → Function1
    Exceptions thrown

    CSPParseException Thrown if is contains invalid data

    IOException Thrown if the data could not be read

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compose[A](g: (A) ⇒ InputStream): (A) ⇒ Try[CSPOM]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def parseDomain(desc: String): RangeSet[Infinitable]

    Permalink

    Parse the given expression given as a String.

    Parse the given expression given as a String. Domains are usually sequence of values separated by spaces such as "1 3 -4 5" or intervals in the format "a..b". Sequences of values and intervals such as "1 3..10 18..30" are allowed and converted to a sequence of values.

    returns

    The resulting Domain object

  20. def parseRange(interval: String): IntInterval

    Permalink
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from (InputStream) ⇒ Try[CSPOM]

Inherited from AnyRef

Inherited from Any

Ungrouped