This GitLab instance reached the end of its service life. It won't be possible to create new users or projects.

Please read the deprecation notice for more information concerning the deprecation timeline

Visit migration.git.tu-berlin.de (internal network only) to import your old projects to the new GitLab platform 📥

RemoveEndoTransitions.scala 627 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
package de.bbisping.coupledsim.algo

import scala.annotation.migration

import de.bbisping.coupledsim.ts.TransitionSystem
import de.bbisping.coupledsim.util.FixedPoint
import de.bbisping.coupledsim.util.Relation

/** remove transitions where source and target both lie in a certain set. */
class RemoveEndoTransitions[S, A, L] (
    ts: TransitionSystem[S, A, L],
    transitiveStates: Set[S]) {
  
  def compute() = {
    ts.step
//    val newTrans = for {
//      (a, b) <- ts.step.tupleSet
//      if !(transitiveStates contains a) || !(transitiveStates contains b)
//    } yield (a, b)
//    new Relation(newTrans)
  }
  
}