com.tubros.constraints.examples.cargo

ProduceShippingSchedules

object ProduceShippingSchedules extends (ShippingContainers, ShippingManifest) ⇒ Seq[\/[String, Schedule]] with ConstraintSolver[[+T]IndexedStateT[[+T]\/[SolverError, T], VariableStore[Int], VariableStore[Int], T], TreeFiniteDomainSolver[Int]]

The ProduceShippingSchedules type is where the example application uses Smocs to solve the constraint satisfaction problem of maximizing the com.tubros.constraints.examples.cargo.model.Cargo loaded into the available com.tubros.constraints.examples.cargo.model.CargoVessels.

Linear Supertypes
ConstraintSolver[[+T]IndexedStateT[[+T]\/[SolverError, T], VariableStore[Int], VariableStore[Int], T], TreeFiniteDomainSolver[Int]], (ShippingContainers, ShippingManifest) ⇒ Seq[\/[String, Schedule]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ProduceShippingSchedules
  2. ConstraintSolver
  3. Function2
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait LoadingEquation extends Equation[Int] with ArithmeticSupport[Int] with DerivedValueSupport[Int] with PropositionalSupport[Int] with RelationalSupport[Int]

    Definition Classes
    ConstraintSolver
  2. class OptimalVesselSchedule extends AnyRef

    Definition Classes
    ConstraintSolver
  3. type SolverType = TreeFiniteDomainSolver[Int]

  4. case class VesselCapacity(vessel: CargoVessel, anchors: Volume, guitars: Volume, pianos: Volume, plates: Volume) extends LoadingEquation with Product with Serializable

    Definition Classes
    ConstraintSolver

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object CargoLoaded extends LoadingEquation

    Definition Classes
    ConstraintSolver
  7. object HasCargo extends LoadingEquation

    Definition Classes
    ConstraintSolver
  8. def apply(containers: ShippingContainers, manifest: ShippingManifest): Seq[\/[String, Schedule]]

    Definition Classes
    ProduceShippingSchedules → Function2
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def createSolver(): TreeFiniteDomainSolver[Int]

  12. def curried: (ShippingContainers) ⇒ (ShippingManifest) ⇒ Seq[\/[String, Schedule]]

    Definition Classes
    Function2
    Annotations
    @unspecialized()
  13. def domainOf(solver: SolverType, values: Seq[Int]): core.internal.tree.TreeFiniteDomainSolver.DomainType[Int]

  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    Function2 → AnyRef → Any
  25. def tupled: ((ShippingContainers, ShippingManifest)) ⇒ Seq[\/[String, Schedule]]

    Definition Classes
    Function2
    Annotations
    @unspecialized()
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ConstraintSolver[[+T]IndexedStateT[[+T]\/[SolverError, T], VariableStore[Int], VariableStore[Int], T], TreeFiniteDomainSolver[Int]]

Inherited from (ShippingContainers, ShippingManifest) ⇒ Seq[\/[String, Schedule]]

Inherited from AnyRef

Inherited from Any

Ungrouped