Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

SSL circuits.pvs   Sprache: PVS

 

circuits[T: TYPE]: THEORY
%
%  A circuit is a pre_circuit with no small loops (i.e. reduced)
%
%     pre_circuit?(G: graph[T], w: prewalk): bool = walk?(G,w) AND 
%                                                   w(0) = w(length(w)-1)
%
%  NOTE: The extra term "w(1) /= w(length(w)-2)" in the definition of
%        cyclically_reduced? handles the special case where
%        w(0) is a small loop
%
%        removed "walk?(G,w)" from circuit? defn because it is in pre_circuit
%
BEGIN

   IMPORTING walks[T]

   G: VAR graph[T]


   reducible?(G: graph[T], w: Seq(G)): bool  = 
          (EXISTS (k: posnat): k < length(w) - 1 AND w(k-1) = w(k+1))

   reduced?(G: graph[T], w: Seq(G)): bool = NOT reducible?(G,w)

%
%   cyclically_reduced?(G: graph[T], w: Long_walk(G)): bool = 
%         reduced?(G,w) AND
%         (FORALL (j: below(length(w)-1)): reduced?(G,w^(j+1, length(w)-1) o w^(1,j))) 


   cyclically_reduced?(G: graph[T], w: Seq(G)): bool = length(w) > 2 AND
         reduced?(G,w) AND w(1) /= w(length(w)-2)

   circuit?(G:  graph[T], w: Seq(G)): bool = %% walk?(G,w) AND
                                             cyclically_reduced?(G,w) AND
                                             pre_circuit?(G,w) 

END circuits



Messung V0.5 in Prozent
C=59 H=100 G=81

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-09-29) ¤

*© Formatika GbR, Deutschland






Versionsinformation zu Columbo

Bemerkung:

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Anfrage:

Dauer der Verarbeitung:

Sekunden

sprechenden Kalenders






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Nutzung hilfreicher Technik

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1126864
#Domains=1897691
 




Quellverzeichnis   |   | Columbo aufrufen  |   | Original von:  | © 2026 JDD |