(* $Id: nta_util.sig 62 2008-08-20 11:20:33Z tbourke $
*
* Copyright (c) 2008 Timothy Bourke (University of NSW and NICTA)
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the "BSD License" which is distributed with the
* software in the file LICENSE.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the BSD
* License for more details.
*)
signature NTA_UTIL =
sig
type symbol = Atom.atom
val warnIfCommitted : ParsedNta.template -> unit
val warnOnChannels : ParsedNta.template -> unit
val expandUrgentLocs : ParsedNta.template -> ParsedNta.template
val actions : ParsedNta.template
-> (symbol * Expression.direction) list
val channels : ParsedNta.template -> symbol list
val channelSet : ParsedNta.template -> AtomSet.set
exception CannotSplitChannelArrays
val split : ParsedNta.template *
(symbol * Expression.direction) ActionMap.map
-> ParsedNta.template
val locsWithoutPositions : ParsedNta.template -> (ParsedNta.locId -> bool)
val stripTransitionIds : ParsedNta.template -> ParsedNta.template
val addTransitionIds : (ParsedNta.transition -> bool) ->
ParsedNta.template -> ParsedNta.template
val addTransitions : ParsedNta.template * ParsedNta.transition list
-> ParsedNta.template
val makeInputEnabler : ((symbol * Expression.direction) list
* Environment.env)
-> ParsedNta.template
val namesetToLocset : AtomSet.set * ParsedNta.template
-> IntBinarySet.set
val scaleClocks : ParsedNta.template * Expression.expr -> ParsedNta.template
end