diff --git a/book/README.md b/book/README.md new file mode 100644 index 0000000..855b526 --- /dev/null +++ b/book/README.md @@ -0,0 +1,36 @@ +# The book's examples + +Pemmaraju and Skiena, *Computational Discrete Mathematics: Combinatorics and +Graph Theory with Mathematica* (Cambridge University Press, 2003), comes with +notebooks of its examples. This directory turns them into the tests in +`test/test_book_examples.py`, with WMA's results as the expected ones. + +- `cells/NB.json`: the input cells of each notebook, as `{"sec": section, "in": "HoldComplete[...]"}`. The notebooks are + `Chapter3`, `Chapter4`, `Chapter5`, `newFeatures` ("New Features") and + `tutorial` ("A Mathematica Tutorial for Combinatorica Users"). +- `wma/NB.s1.jsonl`, `wma/NB.s2.jsonl`: every cell's result under WMA 15 with its own Combinatorica, with + `SeedRandom[1]` and `SeedRandom[2]`. A cell whose result differs between the two seeds is random. +- `mathics/NB.jsonl`: the same cells under Mathics3, with this package. Each cell's time decides whether the + tests evaluate it. +- `make_tests.py`: writes `test/data/book/NB.json` from the three. Each cell is checked against WMA, + evaluated without a check (it is random, times something, or does not give WMA's result yet), or + skipped (usage text, failed or too slow in `mathics/`). A cell that uses a symbol a skipped cell + assigns is skipped too, and one that uses a symbol a slower cell assigns counts that cell's time. + The cells in `xfail.json` are expected to fail, with the reason. + +The results come from these harnesses: + +- `run_wma.sh OUTDIR TIMEOUT`: runs every cell under `wolframscript`, using `run_wma.wls` and `drive_wma.py`. +- `run.sh OUTDIR TIMEOUT`: runs every cell under Mathics3, using `run_mathics.py` and `drive_mathics.py`. + Each cell gets the time limit. After a hang the process restarts and replays the earlier cells. +- `compare.py WMA_DIR MATHICS_DIR [OUT.json]`: the share of cells that give WMA's result, per notebook. + +To refresh the tests after Mathics3 or the package changes: + + bash book/run.sh /tmp/book 120 + python3 book/compare.py book/wma /tmp/book # how many cells pass now + cp /tmp/book/*.jsonl book/mathics/ + python3 book/make_tests.py book/wma book/mathics + +By default the tests evaluate the cells that took at most 1 s in `mathics/`. To go further, set +`COMBINATORICA_BOOK_SECS` (for example to 5). diff --git a/book/cells/Chapter3.json b/book/cells/Chapter3.json new file mode 100644 index 0000000..1ee50c6 --- /dev/null +++ b/book/cells/Chapter3.json @@ -0,0 +1,1410 @@ +[ + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[t = Wheel[10]; ShowGraph[t, Background -> Yellow]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"Edges\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Edges[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Edges[t1 = SetGraphOptions[t, {{{1, 9}, {2, 3}, EdgeStyle -> Fat}}], All]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[t1]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Edges[t2 = SetGraphOptions[t, {{{1, 9}, {2, 3}, EdgeStyle -> Fat}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Edges[t, EdgeWeight]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"SetEdgeWeights\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[k = SetEdgeWeights[t, WeightingFunction -> RandomInteger, WeightRange -> {10, 20}]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Edges[k, EdgeWeight]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"Vertices\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Vertices[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Vertices[t3 = SetGraphOptions[t, {{2, 5, 9, VertexStyle -> Disc[Large]}}], All]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[t3]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Vertices[t4 = SetGraphOptions[t, {{2, 5, 9, VertexStyle -> Disc[Large]}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[t4]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"V\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[V[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[V[DeleteVertices[t, {1}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[V[RandomGraph[20, 0.4]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"M\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[M[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[M[AddEdges[t, {{{1, 2}}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"ChangeVertices\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = SetGraphOptions[t, {{1, VertexColor -> Red, VertexStyle -> Disc[Large]}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = ChangeVertices[t, Vertices[CompleteGraph[5, 5], All]]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = ChangeVertices[t, Vertices[CompleteGraph[5, 5]]]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"ChangeEdges\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = ChangeEdges[t, Edges[CompleteGraph[10], All]]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = ChangeEdges[t, Edges[CompleteGraph[5, 5], All]]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"AddEdges\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = AddEdges[t, {{{1, 3}, EdgeStyle -> Fat, EdgeColor -> Red}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = AddEdges[t, {{1, 2}, {2, 1}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s, VertexNumber -> On, VertexNumberColor -> Blue]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[AddEdges[t, {1, 3}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"DeleteEdges\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[DeleteEdges[s, {{1, 2}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[DeleteEdges[s, {{1, 2}}, All]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s, VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[DeleteEdges[s, {{1, 2}}], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[DeleteEdges[s, {{2, 1}}], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[DeleteEdges[s, {1, 2}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"ExactRandomGraph\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[gt = Table[ExactRandomGraph[50, 100 + 10*i], {i, 25}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[et = Table[Edges[gt[[i]]][[RandomKSubset[Range[100 + 10*i], 50 + 5*i]]], {i, 25}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[rt = Table[Timing[DeleteEdges[gt[[i]], et[[i]]]; ][[1]], {i, 25}]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ListPlot[First \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Fit[First \/@ rt, {1, x, x^2}, x]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"AddVertices\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[AddVertices[t, {0.2, 0.4}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[AddVertices[t, {{{0.2, 0.4}}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[AddVertices[t, {{{0.2, 0.4}, VertexColor -> Red}, {{0.3, 0.4}, VertexColor -> Green}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[AddVertices[t, 1]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[AddVertices[t, 10]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[AddVertices[t, Vertices[CompleteGraph[5, 5], All]]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"DeleteVertices\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = DeleteVertices[t, {1, 3, 10}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[p1 = ShowGraph[t, VertexNumber -> On, Graphics]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[p2 = ShowGraph[s, VertexNumber -> On, Graphics]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Show[GraphicsArray[{p1, p2}], Background -> LightBlue, ImageSize -> 500]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[DeleteVertices[DeleteVertices[DeleteVertices[t, {1}], {3}], {10}], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"Spectrum\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Spectrum[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Spectrum[GraphUnion[Cycle[4], CompleteGraph[1]]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Spectrum[Star[5]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Spectrum[CompleteGraph[3, 4]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"ToAdjacencyLists\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[t = AddEdges[t, {{{1, 1}}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[t = AddEdges[t, {{{1, 9}}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[t = AddEdges[t, {{{2, 3}}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[t, VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[l0 = ToAdjacencyLists[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ToAdjacencyLists[t, EdgeWeight]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ToAdjacencyLists[SetEdgeWeights[t, WeightingFunction -> Random, WeightRange -> {2, 3}], EdgeWeight]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s, VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ToAdjacencyLists[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[l3 = ToAdjacencyLists[t, Type -> Simple]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"FromAdjacencyLists\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s = FromAdjacencyLists[l0, Vertices[t]]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Edges[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[FromAdjacencyLists[l0]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[FromAdjacencyLists[ToAdjacencyLists[Star[10]], Type -> Directed]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"ToOrderedPairs\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[l0 = ToOrderedPairs[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[l1 = ToOrderedPairs[t, Type -> Simple]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ToOrderedPairs[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"FromOrderedPairs\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = FromOrderedPairs[l0]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = FromOrderedPairs[l0, Type -> Undirected]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[l0]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[FromOrderedPairs[l0, Vertices[CompleteGraph[5, 5]]]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"ToUnorderedPairs\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[t]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ToUnorderedPairs[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ToUnorderedPairs[t, Type -> NoSelfLoops]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ToUnorderedPairs[t, Type -> NoMultipleEdges]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ToUnorderedPairs[t, Type -> Simple]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ToUnorderedPairs[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"FromUnorderedPairs\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[l0 = ToUnorderedPairs[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[FromUnorderedPairs[l0]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[FromUnorderedPairs[l0, Type -> Directed]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"ToAdjacencyMatrix\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[MatrixForm[ToAdjacencyMatrix[t]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[MatrixForm[ToAdjacencyMatrix[t, Type -> Simple]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[k = SetEdgeWeights[RandomGraph[10, 0.3], WeightingFunction -> Euclidean]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[TableForm[ToAdjacencyMatrix[k, EdgeWeight]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = GraphUnion[CompleteGraph[2], CompleteGraph[2], CompleteGraph[2]]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ToAdjacencyMatrix[g, EdgeWeight]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[MatrixForm[ToAdjacencyMatrix[g]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"FromAdjacencyMatrix\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[tg = FromAdjacencyMatrix[ToAdjacencyMatrix[t]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[tg]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"PseudographQ\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[PseudographQ[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[PseudographQ[DeleteEdges[t, {{1, 1}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"UnweightedQ\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[UnweightedQ[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[UnweightedQ[SetEdgeWeights[t, WeightingFunction -> Random]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"SimpleQ\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[SimpleQ[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = RemoveSelfLoops[t]; SimpleQ[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = RemoveMultipleEdges[s]; SimpleQ[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"RemoveSelfLoops\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = AddEdges[t, {{{2, 2}}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[PseudographQ[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[PseudographQ[RemoveSelfLoops[s]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"RemoveMultipleEdges\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = SetGraphOptions[Wheel[10], {{{1, 10}, {2, 10}, EdgeStyle -> Fat, EdgeColor -> Green}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = AddEdges[s, {{{1, 10}}, {{1, 10}}, {{2, 10}}, {{3, 4}}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[M[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ss = RemoveMultipleEdges[s]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[M[ss]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[ss]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"EmptyQ\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[EmptyQ[DeleteEdges[CompleteGraph[2], {{1, 2}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[EmptyQ[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"CompleteQ\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[CompleteQ[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[CompleteQ[CompleteGraph[10]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[CompleteQ[s = DeleteEdges[CompleteGraph[3], {{1, 2}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = AddEdges[EmptyGraph[3], {{{1, 2}}, {{1, 3}}, {{2, 3}}, {{2, 1}}, {{3, 1}}, {{3, 2}}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[CompleteQ[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = SetGraphOptions[s, EdgeDirection -> On]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[CompleteQ[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = AddEdges[SetGraphOptions[EmptyGraph[3], EdgeDirection -> On], {{{1, 2}}, {{1, 3}}, {{2, 3}}, {{2, 1}}, {{3, 1}}, {{3, 2}}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[CompleteQ[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"MultipleEdgesQ\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Sort[Edges[t]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[MultipleEdgesQ[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[MultipleEdgesQ[DeleteEdges[t, {{2, 3}, {1, 9}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = AddEdges[t, {{{2, 3}}}]; MultipleEdgesQ[DeleteEdges[s, {{2, 3}, {1, 9}}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[MultipleEdgesQ[DeleteEdges[s, {{2, 3}, {1, 9}}, All]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"InduceSubgraph\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[p1 = ShowGraph[t, Background -> HotPink, VertexNumber -> Text[{0.02, 0.02}, TextStyle -> {FontSize -> 12}], Graphics]; p2 = ShowGraph[InduceSubgraph[t, {1, 9, 8, 10}], Background -> HotPink, VertexNumber -> Text[{0.02, 0.02}, TextStyle -> {FontSize -> 12}], Graphics]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Show[GraphicsArray[{p1, p2}], Background -> Yellow, ImageSize -> 600]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[InduceSubgraph[t, {1, 9, 8, 10, 5}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[InduceSubgraph[t, {1, 9, 8, 10, 5, 4, 6}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[InduceSubgraph[t, {1, 2, 4, 3, 5, 6, 7, 8, 9}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g1 = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; g2 = GridGraph[30, 30]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = RandomSubset[Range[900]]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`InduceSubgraph[g1, s]; ], Timing[InduceSubgraph[g2, s]; ]}]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[InduceSubgraph[GridGraph[50, 50], RandomSubset[Range[2500]]], VertexStyle -> Disc[0]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[r = RandomSubset[Range[100]]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[rp = Permute[r, RandomPermutation[Length[r]]]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`InduceSubgraph[DiscreteMath`OldCombinatorica`GridGraph[10, 10], r]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[InduceSubgraph[GridGraph[10, 10], rp]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"PermuteSubgraph\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[t, VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[PermuteSubgraph[t, {2, 10, 3, 4, 5, 6, 7, 8, 9, 1}], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[PermuteSubgraph[t, {2, 10, 3, 4, 5, 9, 1}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Length[rp]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[PermuteSubgraph[GridGraph[10, 10], rp]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[PermuteSubgraph[GridGraph[4, 4], RandomPermutation[16]]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"Contract\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s = Contract[t, {5, 6}], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s = Contract[s, {5, 8}], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"GraphComplement\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = Graph[{}, {}]; GraphComplement[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[GraphComplement[t]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[p1 = ShowGraph[s = SetGraphOptions[t, EdgeDirection -> On], Graphics]; , Null, p2 = ShowGraph[GraphComplement[s], Graphics]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Show[GraphicsArray[{p1, p2}], ImageSize -> 500]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[GraphComplement[CompleteGraph[10, Type -> Directed]]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s = GraphComplement[GridGraph[4, 4]], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"MakeUndirected\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = MakeUndirected[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = SetGraphOptions[CompleteGraph[3], EdgeDirection -> On]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s, ImageSize -> 200]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = AddEdges[s, {{{2, 1}}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s, ImageSize -> 200]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[MakeUndirected[s]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[SetGraphOptions[s, EdgeDirection -> Off]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"UndirectedQ\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[UndirectedQ[t]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[UndirectedQ[s = SetGraphOptions[t, EdgeDirection -> On]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[UndirectedQ[MakeUndirected[s = SetGraphOptions[t, EdgeDirection -> On]]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"MakeSimple\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[tt = MakeSimple[t]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[M[tt]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[SimpleQ[tt]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[tt]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"DepthFirstTraversal\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = DeleteEdges[t, {{2, 3}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s, VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[DepthFirstTraversal[s, 2]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = DeleteEdges[s, {{1, 2}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s, VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[DepthFirstTraversal[s, 2]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = DeleteEdges[s, {{2, 3}}]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s, VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[DepthFirstTraversal[s, 2]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[Highlight[t, {Sort \/@ DepthFirstTraversal[t, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[$RecursionLimit = 20000; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = GridGraph[20, 20]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[Highlight[s, {Sort \/@ DepthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[DepthFirstTraversal[s = SetGraphOptions[t, EdgeDirection -> On], 1, Edge]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[p1 = ShowGraph[s, Graphics]; p2 = ShowGraph[Highlight[s, {DepthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Green}], Graphics]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Show[GraphicsArray[{p1, p2}], ImageSize -> 500]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[DepthFirstTraversal[s = SetGraphOptions[t, EdgeDirection -> On], 10, Edge]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; rt = Table[Timing[DepthFirstTraversal[gt[[i]], 1]; ], {i, 20}]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[NewDepthFirstTraversal[g_Graph, start_Integer, flag_:Vertex] := Block[{visit = {}, e = ToAdjacencyLists[g], edges = {}, dfi = Table[0, {V[g]}], cnt = 1}, NewDFS[start]; If[flag === Edge, edges, visit]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[NewDFS[v_Integer] := (dfi[[v]] = cnt++; Scan[If[dfi[[#1]] == 0, NewDFS[#1]] & , e[[v]]])]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; rt = Table[Timing[NewDepthFirstTraversal[gt[[i]], 1]; ], {i, 20}]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[gt = Table[DiscreteMath`OldCombinatorica`GridGraph[20, 10*i], {i, 5}]; rt = Table[Timing[DiscreteMath`OldCombinatorica`DepthFirstTraversal[gt[[i]], 1]; ], {i, 5}]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"BreadthFirstTraversal\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s = DeleteEdges[t, {{2, 3}}], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s = DeleteEdges[s, {{2, 10}}], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[BreadthFirstTraversal[s, 1, Tree], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[BreadthFirstTraversal[s, 1, Edge]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[BreadthFirstTraversal[s, 1, Level]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[BreadthFirstTraversal[s, 10, Tree], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[BreadthFirstTraversal[s, 10, Edge]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[BreadthFirstTraversal[s, 10, Level]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[BreadthFirstTraversal[s, 5, Tree], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[BreadthFirstTraversal[s, 5, Edge]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[BreadthFirstTraversal[s, 5, Level]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[Highlight[s, {Sort \/@ BreadthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = GridGraph[30, 30]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[Highlight[s, {Sort \/@ BreadthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = InduceSubgraph[s, RandomSubset[Range[900]]]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s, VertexStyle -> Disc[0]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[BreadthFirstTraversal[s, 2, Edge]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[Highlight[s, {Sort \/@ BreadthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"CircularVertices\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = CircularVertices[t]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[CircularVertices[CompleteGraph[10, 10]]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"RankGraph\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = GridGraph[5, 4]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[r = RankGraph[s, {1, 2, 3, 4}]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s1 = SetGraphOptions[s, Table[{i, VertexLabel -> {r[[i]]}}, {i, Length[r]}]]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s1, PlotRange -> Large[0.2]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"RankedEmbedding\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = GridGraph[5, 5]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RankedEmbedding[s, {13}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RankedEmbedding[t, {1}]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"Eccentricity\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = Wheel[10]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Eccentricity[g]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = GridGraph[10, 10]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Eccentricity[g]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Timing[Eccentricity[g]; ]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = SetEdgeWeights[g]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Timing[Eccentricity[g]; ]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[10, 10]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`Eccentricity[g]; ]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"Diameter\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = CompleteGraph[20]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Diameter[g]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = RandomGraph[25, 0.3]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Diameter[g]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = RandomGraph[50, 0.3]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Diameter[g]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = RandomGraph[100, 0.3]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Diameter[g]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"Radius\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = Wheel[100]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Radius[g]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"GraphCenter\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[g = Wheel[100]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[GraphCenter[g]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"RadialEmbedding\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = RandomTree[20]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RadialEmbedding[s, 11], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RadialEmbedding[RandomTree[20], 11], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RadialEmbedding[RandomTree[20], 11], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RadialEmbedding[GridGraph[3, 3]]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"RootedEmbedding\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = RandomTree[20]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RootedEmbedding[s, 1], VertexNumber -> On, PlotRange -> Large[0.05]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RootedEmbedding[s, 3], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RootedEmbedding[s, 19], VertexNumber -> Center, VertexNumberColor -> White, VertexStyle -> Disc[Large], PlotRange -> Large[0.03], Background -> LightBlue]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"TranslateVertices\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[t]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[TranslateVertices[t, {0.001, 0.002}]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"DilateVertices\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[t]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[DilateVertices[t, 2]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"RotateVertices\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s = CompleteGraph[3, 2, 2, 4]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RotateVertices[s, Pi\/2]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[RotateVertices[s, Pi\/4]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"NormalizeVertices\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = CompleteGraph[7]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Vertices[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = TranslateVertices[s, {0.5, 0.3}]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Vertices[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Vertices[NormalizeVertices[s]]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"ShakeGraph\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = RankedEmbedding[Wheel[10], {1, 2, 3, 4, 5, 6, 7, 8, 9}]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ss = ShakeGraph[s]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[ss]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ss = ShakeGraph[s, 0.3]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[ss]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[CompleteGraph[2, 2, 2], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[ShakeGraph[CompleteGraph[2, 2, 2], 0.3], VertexNumber -> On]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"GraphOptions\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[GraphOptions[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[r = SetGraphOptions[CompleteGraph[5, 5], VertexColor -> Red, EdgeColor -> Green]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[r]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[GraphOptions[r]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Information[\"SpringEmbedding\", LongForm -> False]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[s = MakeGraph[Permutations[{1, 2, 3, 4}], Count[#1 - #2, 0] == 0 & ]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[oldS = DiscreteMath`OldCombinatorica`MakeGraph[Permutations[{1, 2, 3, 4}], Count[#1 - #2, 0] == 0 & ]; ]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[V[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[M[s]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Timing[r = SpringEmbedding[s]; ]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[ShowGraph[r]]" + }, + { + "sec":"\n3. Representing Graphs", + "in":"HoldComplete[Timing[r = DiscreteMath`OldCombinatorica`SpringEmbedding[oldS]; ]]" + } +] \ No newline at end of file diff --git a/book/cells/Chapter4.json b/book/cells/Chapter4.json new file mode 100644 index 0000000..4c8ee1d --- /dev/null +++ b/book/cells/Chapter4.json @@ -0,0 +1,1182 @@ +[ + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[t = GridGraph[7, 9]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[t = SetGraphOptions[t, {{1, 10, 20, VertexStyle -> Disc[Large], VertexColor -> HotPink}, {{8, 9}, {32, 39}, EdgeStyle -> Fat}}]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[t = AddEdges[t, {{{29, 30}}}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.02]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"GraphUnion\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphUnion[t, t], PlotRange -> Large[0.02]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphUnion[CompleteGraph[3], CompleteGraph[5, 5], Star[4]], PlotRange -> Large[0.1]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphUnion[6, CompleteGraph[3]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[GraphUnion[gt[[i]], gt[[i]]]; ], {i, 20}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[a = DiscreteMath`OldCombinatorica`Wheel[200]; aa = Wheel[200]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[b = DiscreteMath`OldCombinatorica`CompleteGraph[75]; bb = CompleteGraph[75]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphUnion[a, b]; ], Timing[GraphUnion[aa, bb]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[cc = Star[1000]; c = DiscreteMath`OldCombinatorica`Star[1000]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[GraphUnion[aa, cc]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`GraphUnion[a, c]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"ExpandGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"AddVertices\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[ExpandGraph[Wheel[10], 20]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"GraphIntersection\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p1 = ShowGraph[s = Wheel[20], VertexColor -> Red, EdgeColor -> Red, VertexNumber -> On, Graphics]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p2 = ShowGraph[r = GridGraph[4, 5], VertexColor -> Blue, EdgeColor -> Blue, VertexNumber -> On, Graphics]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p3 = ShowGraph[GraphIntersection[s, r], VertexColor -> Green, EdgeColor -> Green, VertexNumber -> On, Graphics]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Show[GraphicsArray[{p1, p2, p3}], ImageSize -> 600]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p4 = ShowGraph[GraphIntersection[r, s], VertexColor -> Green, EdgeColor -> Green, VertexNumber -> On, Graphics]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Show[GraphicsArray[{p1, p2, p4}], ImageSize -> 600]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphIntersection[t, CompleteGraph[63]], VertexNumber -> On, PlotRange -> Large[0.1]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g = SetGraphOptions[Star[5], VertexColor -> Red]; ShowGraph[g]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphIntersection[g, CompleteGraph[5]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; rt = Table[Timing[GraphIntersection[gt[[i]], gt[[i]]]; ], {i, 20}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[a = DiscreteMath`OldCombinatorica`CompleteGraph[80]; aa = CompleteGraph[80]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[b = DiscreteMath`OldCombinatorica`GridGraph[8, 10]; bb = GridGraph[8, 10]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphIntersection[a, b]; ], Timing[GraphIntersection[aa, bb]; ], Timing[GraphIntersection[bb, aa]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[a = DiscreteMath`OldCombinatorica`RandomTree[100]; aa = RandomTree[100]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[b = DiscreteMath`OldCombinatorica`GridGraph[10, 10]; bb = GridGraph[10, 10]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphIntersection[a, b]; ], Timing[GraphIntersection[aa, bb]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"GraphDifference\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Edges[GraphDifference[t, t]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[s = EmptyGraph[V[t]], VertexStyle -> Disc[Small]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphDifference[t, s]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[a = DiscreteMath`OldCombinatorica`CompleteGraph[100]; aa = CompleteGraph[100]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[b = DiscreteMath`OldCombinatorica`RandomTree[100]; bb = RandomTree[100]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphDifference[a, a]; ], Timing[GraphDifference[aa, aa]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphDifference[b, b]; ], Timing[GraphDifference[bb, bb]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"GraphSum\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphSum[t, Path[63]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g = SetGraphOptions[Wheel[10], EdgeStyle -> Fat, EdgeColor -> Purple]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[h = SetGraphOptions[Star[10], EdgeColor -> Green]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphSum[g, Star[10]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p1 = ShowGraph[a = SetGraphOptions[GridGraph[3, 3], EdgeColor -> LightBlue, VertexColor -> Red, VertexStyle -> Disc[Large]], Graphics]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p2 = ShowGraph[b = SetGraphOptions[Wheel[9], EdgeColor -> Yellow, VertexColor -> LightBlue, VertexStyle -> Disc[Large]], Graphics]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Show[GraphicsArray[{p1, p2}], ImageSize -> 500, Background -> Black]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphSum[a, b], Background -> Black, PlotRange -> Large[0.01]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[b = Wheel[9]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[b]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p2 = ShowGraph[b = SetGraphOptions[b, Append[Edges[b], EdgeColor -> Yellow], VertexColor -> LightBlue, VertexStyle -> Disc[Large]], Background -> Black, PlotRange -> Large[0.01]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphSum[a, b], Background -> Black, PlotRange -> Large[0.01]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; , Null, rt = Table[Timing[GraphSum[gt[[i]], gt[[i]]]; ], {i, 20}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[aa = Table[DiscreteMath`OldCombinatorica`RandomTree[i^2], {i, 10, 30, 10}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[bb = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`GraphSum[aa[[i]], bb[[i]]]; ], {i, 3}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"GraphJoin\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[l = r = EmptyGraph[5]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphUnion[l, r]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphJoin[l, r]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g1 = SetGraphOptions[Cycle[10], VertexStyle -> Disc[Large], VertexColor -> Blue]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g2 = SetGraphOptions[CompleteGraph[1], VertexColor -> Green, VertexStyle -> Disc[Large]]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g3 = SetGraphOptions[CompleteGraph[1], {1, VertexColor -> Green}, VertexStyle -> Disc[Large]]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphJoin[g1, g2], PlotRange -> Large[0.1]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphJoin[g1, g3], PlotRange -> Large[0.1]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"GraphJoin\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[gt = Table[GridGraph[5, 5*i], {i, 5}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[GraphJoin[gt[[i]], gt[[i]]]; ], {i, 5}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[a = Table[DiscreteMath`OldCombinatorica`RandomTree[i], {i, 50, 70, 10}]; aa = Table[RandomTree[i], {i, 50, 70, 10}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[b = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; bb = Table[GridGraph[i, i], {i, 10, 30, 10}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`GraphJoin[a[[i]], b[[i]]]; ], {i, 3}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Table[Timing[GraphJoin[aa[[i]], bb[[i]]]; ], {i, 2}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"GraphProduct\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[l = Wheel[5]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[r = GridGraph[3, 3]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphProduct[l, r], VertexStyle -> Disc[Small]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphProduct[CompleteGraph[3], CompleteGraph[5]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphProduct[CompleteGraph[5], CompleteGraph[3]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphProduct[CompleteGraph[3], Star[3], CompleteGraph[3]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[l = SetGraphOptions[l, VertexColor -> Green, EdgeColor -> Green], Background -> Black]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[r = SetGraphOptions[r, VertexColor -> Orange, EdgeColor -> Orange], Background -> Black]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphProduct[l, r]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[l1 = SetGraphOptions[l, VertexColor -> Red, EdgeColor -> Orange], Background -> Black]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[r1 = SetGraphOptions[r, VertexColor -> Orange, EdgeColor -> Orange], Background -> Black]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GraphProduct[l, r]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[gt = Table[GridGraph[5, 5*i], {i, 10}]; , Null, rt = Table[Timing[GraphProduct[gt[[i]], gt[[i]]]; ], {i, 10}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g = GraphProduct[gt[[10]], gt[[10]]]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[M[g]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[V[g]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[aa = Cycle[100]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[bb = RandomTree[100]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[ans = GraphProduct[aa, bb]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[V[ans]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[M[ans]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[a = DiscreteMath`OldCombinatorica`Cycle[30]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[aa = Cycle[30]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[b = DiscreteMath`OldCombinatorica`RandomTree[30]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[bb = RandomTree[30]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphProduct[a, b]; ], Timing[GraphProduct[aa, bb]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"IncidenceMatrix\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[MatrixForm[IncidenceMatrix[Star[10]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g = SetGraphOptions[Star[10], EdgeDirection -> On]; ShowGraph[g, VertexNumber -> On]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[MatrixForm[IncidenceMatrix[g]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"LineGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[LineGraph[CompleteGraph[5]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[LineGraph[Cycle[10]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[LineGraph[GridGraph[7, 7]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[a = DiscreteMath`OldCombinatorica`GridGraph[25, 25]; aa = GridGraph[25, 25]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`LineGraph[a]; ], Timing[LineGraph[aa]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 15}]; , Null, rt = Table[Timing[LineGraph[gt[[i]]]; ], {i, 15}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"CirculantGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[CirculantGraph[21, RandomKSubset[Range[10], 3]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[CirculantGraph[21, RandomKSubset[Range[10], 3]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[CirculantGraph[21, RandomKSubset[Range[10], 3]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ne = Edges[CirculantGraph[5, {1, 2}]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Length[ne]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ne = Edges[CirculantGraph[4, {1, 2}]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Length[ne]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`CirculantGraph[2000, {1, 2, 3, 4, 5}]; ], Timing[CirculantGraph[2000, {1, 2, 3, 4, 5}]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p = Table[RandomKSubset[Range[200*i], 5], {i, 20}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[CirculantGraph[200*i, p[[i]]]; ], {i, 20}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"CompleteGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[CompleteGraph[10]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[CompleteGraph[100 + 10*i]; ], {i, 30}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[Table[{(50 + 5*i)*(99 + 10*i), rt[[i,1,1]]}, {i, 30}], PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`CompleteGraph[250]; ], Timing[CompleteGraph[250]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`CompleteGraph[500]; ], Timing[CompleteGraph[500]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[CompleteGraph[10, Type -> Directed]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[CompleteGraph[3, 4, 3]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"ShakeGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[ShakeGraph[CompleteGraph[3, 3, 3, 3], 0.3], VertexStyle -> Disc[Small], VertexNumber -> On]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[CompleteGraph[100, 100, 100, 100]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`CompleteGraph[100, 100, 100, 100]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"EmptyGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[EmptyGraph[10]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`EmptyGraph[10]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"Turan\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Turan[10, 4]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Turan[10, 2]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[gt[[i]] = Turan[i*100, 50]; ], {i, 5, 10}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"PARSEFAIL:BoxData[RowBox[{\"ListPlot\", \"[\", \" \", RowBox[{\"Table\", \"[\", RowBox[{RowBox[{\"{\", RowBox[{RowBox[{\"M\", \"[\", \" \", RowBox[{\"gt\", \"[\", RowBox[{\"[\", \"i\", \"]\"}], \"]\"}], \" \", \"]\"}], \",\", \" \", RowBox[{\"rt\", \"[\", RowBox[{\"[\", \" \", \"i\", \"-\", \"4\", \",\", \" \", \"1\", \",\", \" \", \"1\", \" \", \"]\"}], \"]\"}], \" \"}], \"}\"}], \",\", \" \", RowBox[{\"{\", RowBox[{\"i\", \",\", \" \", \"5\", \",\", \" \", \"10\"}], \"}\"}]}], \"]\"}], \",\", \" \", RowBox[{\"PlotJoined\", \"->\", \"True\"}], \",\", \" \", RowBox[{\"ImageSize\", \"->\", \"400\"}], \"]\"}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Turan[i*100, 50]; ], {i, 5, 10}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Clear[gt]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"Cycle\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Cycle[20]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Cycle[2000]; ], Timing[Cycle[2000]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[Cycle[50000]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[Cycle[500*i]; ], {i, 20}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"Star\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Star[20]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Star[1000]; ], Timing[Star[1000]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Star[2000]; ], Timing[Star[2000]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[Star[100*i]; ], {i, 100}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"Wheel\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Wheel[20]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Wheel[1000]; ], Timing[Wheel[1000]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Wheel[2000]; ], Timing[Wheel[2000]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[Wheel[100*i]; ], {i, 200}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"Path\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Path[20]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`Path[2000]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[Path[100*i]; ], {i, 500}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"GridGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GridGraph[3, 4]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[GridGraph[25, 25], VertexStyle -> Disc[Small]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`GridGraph[40, 40]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p = Table[Timing[GridGraph[20, 10*i]; ], {i, 15}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ p, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"Hypercube\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Hypercube[6]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Hypercube[6], PlotRange -> Zoom[{1, 2, 3, 4, 5, 6, 7, 8}], VertexNumber -> On, ImageSize -> 400]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`Hypercube[10]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[Hypercube[10]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Table[Timing[Hypercube[n]; ], {n, 15}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Hypercube[15]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"LabeledTreeToCode\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[LabeledTreeToCode[RandomTree[20]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[LabeledTreeToCode[CodeToLabeledTree[Table[10, {20}]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[LabeledTreeToCode[Path[100]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g = Table[RandomTree[i], {i, 500, 1000, 100}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[LabeledTreeToCode[g[[i]]]; ], {i, 6}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[gg = Table[DiscreteMath`OldCombinatorica`RandomTree[i], {i, 500, 1000, 500}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`LabeledTreeToCode[gg[[i]]]; ], {i, 2}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"CodeToLabeledTree\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[CodeToLabeledTree[Table[10, {20}]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[RadialEmbedding[CodeToLabeledTree[Table[10, {20}]], 1]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[s = Table[Table[Random[Integer, {1, i*100}], {i*100 - 2}], {i, 10}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[CodeToLabeledTree[s[[i]]]; ], {i, 10}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`CodeToLabeledTree[s[[i]]]; ], {i, 3}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"RandomTree\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[RadialEmbedding[RandomTree[20], 1], VertexNumber -> On]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`RandomTree[i]; ], {i, 100, 800, 100}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p = Table[Timing[RandomTree[i]; ], {i, 100, 800, 100}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ p, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"RandomGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[s = RandomGraph[50, 0.3], VertexStyle -> Disc[0.01]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Highlight[s, {Sort \/@ DepthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Highlight[s, {Sort \/@ BreadthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[RandomGraph[100, p]; ], {p, 0.1, 0.9, 0.1}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[RandomGraph[20*i, N[1\/(20*i)]]; ], {i, 20}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomGraph[100, 0.5]; ], Timing[RandomGraph[100, 0.5]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomGraph[300, 0.5]; ], Timing[RandomGraph[300, 0.5]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomGraph[300, 0.8]; ], Timing[RandomGraph[300, 0.8]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"ExactRandomGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[ExactRandomGraph[10, 5], Background -> LightBlue]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[ExactRandomGraph[20, 30], Background -> Pink]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[s = ExactRandomGraph[100, 100], VertexStyle -> Disc[0.02]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[Highlight[s, {Sort \/@ DepthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[ExactRandomGraph[100, m]; ], {m, 100, 1000, 100}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[ExactRandomGraph[n, 5*n]; ], {n, 50, 250, 50}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`ExactRandomGraph[100, 100]; ], Timing[ExactRandomGraph[100, 100]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`ExactRandomGraph[500, 500]; ], Timing[ExactRandomGraph[500, 500]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[({NthPair[#1]} & ) \/@ Take[RandomPermutation[500*((500 - 1)\/2)], 500]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[CircularVertices[1000]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"RandomVertices\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[RandomVertices[Cycle[10]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g = GridGraph[50, 50]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[RandomVertices[g]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"DegreeSequence\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[DegreeSequence[CompleteGraph[10]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[DegreeSequence[Path[100]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g = GridGraph[40, 40]; h = DiscreteMath`OldCombinatorica`GridGraph[40, 40]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[DegreeSequence[g]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`DegreeSequence[h]; ]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[DegreeSequence[gt[[i]]]; ], {i, 20}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[gt = Table[DiscreteMath`OldCombinatorica`GridGraph[20, 10*i], {i, 5}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`DegreeSequence[gt[[i]]]; ], {i, 5}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"GraphicQ\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[GraphicQ[DegreeSequence[RandomGraph[100, 0.2]]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[GraphicQ[Range[100]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[a = DiscreteMath`OldCombinatorica`RandomTree[400]; aa = RandomTree[400]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[$RecursionLimit = 10000; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[GraphicQ[DegreeSequence[aa]]; ], Timing[DiscreteMath`OldCombinatorica`GraphicQ[DiscreteMath`OldCombinatorica`DegreeSequence[a]]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[gt = Table[DegreeSequence[RandomTree[20*i]], {i, 20}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[GraphicQ[gt[[i]]]; ], {i, 20}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"RealizeDegreeSequence\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[s = RandomTree[15], VertexNumber -> On]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[seq = DegreeSequence[s]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[g = RealizeDegreeSequence[seq], VertexNumber -> On]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[DegreeSequence[g]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[IsomorphicQ[s, g]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[st = Table[DegreeSequence[GridGraph[10, 5*i]], {i, 5}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[rt = Table[Timing[RealizeDegreeSequence[st[[i]]]; ], {i, 5}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[st = Table[DiscreteMath`OldCombinatorica`DegreeSequence[DiscreteMath`OldCombinatorica`GridGraph[10, 5*i]], {i, 5}]; rt = Table[Timing[DiscreteMath`OldCombinatorica`RealizeDegreeSequence[st[[i]]]; ], {i, 5}]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"RegularQ\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[RegularQ[CompleteGraph[10]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[RegularQ[CompleteGraph[10, 10]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[RegularQ[RandomTree[10]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[RegularQ[Cycle[10]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"RegularGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[RegularGraph[1, 30], VertexStyle -> Disc[Small]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[RealizeDegreeSequence[{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}], VertexStyle -> Disc[Small]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[RegularGraph[2, 30], VertexStyle -> Disc[Small]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RegularGraph[10, 100]; ], Timing[RegularGraph[10, 100]; ]}]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"MakeGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[g = MakeGraph[Permutations[{1, 2, 3, 4}], Count[#1 - #2, 0] == 2 && Inversions[#1] > Inversions[#2] & ]]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p = Permutations[{1, 2, 3, 4}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[p1 = (Text[#1, {0.05, 0.02}] & ) \/@ Cases[p, {1, ___}]; p2 = (Text[#1, {-0.05, 0.02}] & ) \/@ Cases[p, {2, ___}]; , Null, p3 = (Text[#1, {-0.05, -0.02}] & ) \/@ Cases[p, {3, ___}]; , Null, p4 = (Text[#1, {0.05, -0.02}] & ) \/@ Cases[p, {4, ___}]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[g = SetVertexLabels[g, Join[p1, p2, p3, p4]]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[g, ImageSize -> 600, VertexLabelColor -> Red, PlotRange -> Large[0.2]]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"IntervalGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[l = {{1, 10}, {2, 3}, {4, 5}, {6, 7}, {8, 9}}; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[s = IntervalGraph[l]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[s = SetVertexLabels[s, (Text[#1, {-0.09, 0.02}] & ) \/@ l]; ]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[s, PlotRange -> Large[0.4], ImageSize -> 400]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[Information[\"FunctionalGraph\", LongForm -> False]]" + }, + { + "sec":"\n4. Generating Graphs", + "in":"HoldComplete[ShowGraph[FunctionalGraph[Mod[#1^2 + 2*#1, 20] & , Table[i, {i, 0, 19}]]]]" + } +] \ No newline at end of file diff --git a/book/cells/Chapter5.json b/book/cells/Chapter5.json new file mode 100644 index 0000000..99a666f --- /dev/null +++ b/book/cells/Chapter5.json @@ -0,0 +1,2074 @@ +[ + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"ConnectedComponents\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedComponents[s = RegularGraph[1, 10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[s, VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[c = ConnectedComponents[s = RegularGraph[2, 20]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[s, VertexNumber -> On, VertexNumberColor -> Purple, Background -> Yellow]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[InduceSubgraph[s, c[[1]]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[a = GraphUnion[Wheel[5], Star[10]]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedComponents[a]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[a = GraphUnion[10, Star[10]]; ConnectedComponents[a]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[$RecursionLimit = 100000; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*100, 0.01], {i, 5}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = Table[RandomGraph[i*100, 0.01], {i, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[{Length[DiscreteMath`OldCombinatorica`ConnectedComponents[g[[i]]]], Length[ConnectedComponents[h[[i]]]]}, {i, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ort = Table[Timing[DiscreteMath`OldCombinatorica`ConnectedComponents[g[[i]]]; ], {i, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[ConnectedComponents[h[[i]]]; ], {i, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[p1 = ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gt = Table[InduceSubgraph[GridGraph[20, 10*i], RandomKSubset[Range[200*i], 100*i]], {i, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[V \/@ gt]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[M \/@ gt]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[ConnectedComponents[gt[[i]]]; ], {i, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Clear[gt]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[s = GridGraph[50, 50]; {Timing[DepthFirstTraversal[s, 1]; ], Timing[BreadthFirstTraversal[s, 1]; ]}]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[s = InduceSubgraph[GridGraph[70, 70], RandomSubset[Range[4900]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[V[s]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[M[s]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[s, VertexStyle -> Disc[0]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[c = ConnectedComponents[s]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Length[c]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Max[Length \/@ c]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[100, 100]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = InduceSubgraph[g, RandomSubset[Range[10000]]]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[h, VertexStyle -> Disc[0]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[V[h]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[M[h]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[c = ConnectedComponents[h]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[{Length[c], Max[Length \/@ c]}]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"ConnectedQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[Wheel[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[DeleteVertices[Star[10], {10}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[Wheel[10], Weak]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[OrientGraph[Wheel[10]], Strong]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[SetGraphOptions[RandomTree[20], EdgeDirection -> On], Strong]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[SetGraphOptions[RandomTree[20], EdgeDirection -> On], Weak]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[Wheel[10], Weak]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[Wheel[10], Strong]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = SetGraphOptions[Wheel[10], EdgeDirection -> On]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g, VertexNumber -> Text[{0.03, 0}, TextStyle -> {FontSize -> 14, FontColor -> Blue, FontWeight -> Bold}], PlotRange -> Large[0.05]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[g, Weak]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[g, Strong]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = AddEdges[g, {{{9, 1}}, {{10, 1}}}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[h, Strong]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ConnectedQ[h, Weak]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[h]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"WeaklyConnectedComponents\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"StronglyConnectedComponents\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[s = SetGraphOptions[GridGraph[5, 6], EdgeDirection -> On]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[s, VertexNumber -> Text[{-0.04, -0.04}], PlotRange -> Large[0.05]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[WeaklyConnectedComponents[s]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[StronglyConnectedComponents[s]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[s = AddEdges[s, {{{30, 1}}}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[StronglyConnectedComponents[s]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gt = Table[RandomGraph[100*i, N[(1\/100)*i], Directed], {i, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[StronglyConnectedComponents[gt[[i]]]; ], {i, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[V \/@ gt]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[M \/@ gt]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ogt = Table[DiscreteMath`OldCombinatorica`RandomGraph[100*i, N[(1\/100)*i], {0, 1}], {i, 5}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ort = Table[Timing[DiscreteMath`OldCombinatorica`StronglyConnectedComponents[ogt[[i]]]; ], {i, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Clear[MultipleListPlot]; Remove[MultipleListPlot]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Get[\"Graphics`MultipleListPlot`\"]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[MultipleListPlot[(#1[[1,1]] & ) \/@ rt, (#1[[1,1]] & ) \/@ ort, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = SetGraphOptions[GridGraph[70, 70], EdgeDirection -> On]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[{Timing[cw = WeaklyConnectedComponents[g]; ], Timing[cs = StronglyConnectedComponents[g]; ], Length[cw], Length[cs]}]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"OrientGraph\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[10, 10]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[h = OrientGraph[GridGraph[10, 10]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Length[StronglyConnectedComponents[h]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = RandomGraph[20, 0.6]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Bridges[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Length[StronglyConnectedComponents[SetGraphOptions[g, EdgeDirection -> On]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = OrientGraph[g]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Length[StronglyConnectedComponents[g]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[20, 20]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[OrientGraph[g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[ExtractCycles[g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = DiscreteMath`OldCombinatorica`GridGraph[20, 20]; Timing[DiscreteMath`OldCombinatorica`OrientGraph[h]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"BiconnectedComponents\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BiconnectedComponents[RandomTree[100]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Length[%]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BiconnectedComponents[Cycle[100]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = Contract[Cycle[50], {1, 30}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BiconnectedComponents[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gt = Table[RandomGraph[i*10, N[1\/(10*i)]], {i, 20}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[BiconnectedComponents[gt[[i]]]; ], {i, 20}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gt = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*10, 1\/(10*i)], {i, 20}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ort = Table[Timing[DiscreteMath`OldCombinatorica`BiconnectedComponents[gt[[i]]]; ], {i, 20}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[MultipleListPlot[(#1[[1,1]] & ) \/@ rt, (#1[[1,1]] & ) \/@ ort, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"BiconnectedQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[4, 4]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BiconnectedQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BiconnectedQ[CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BiconnectedQ[GraphUnion[CompleteGraph[10], CompleteGraph[10]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BiconnectedQ[g = Contract[GraphUnion[CompleteGraph[10], CompleteGraph[10]], {10, 14}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g, VertexNumber -> Text[{-0.03, -0.03}, TextStyle -> {FontSize -> 14, FontWeight -> Bold, FontColor -> Red}], Background -> Yellow, EdgeColor -> Orange, ImageSize -> 400, PlotRange -> Large[0.05]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"ArticulationVertices\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = Star[20]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ArticulationVertices[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ArticulationVertices[CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"Bridges\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Bridges[RandomTree[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[10, 10]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Bridges[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Bridges[s = AddEdges[GraphUnion[Wheel[5], Wheel[7]], {{{5, 6}}}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[s, VertexNumber -> On, PlotRange -> Large[0.05]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"EdgeConnectivity\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EdgeConnectivity[GridGraph[20, 5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EdgeConnectivity[s = AddEdges[GraphUnion[Wheel[5], Wheel[7]], {{{5, 6}}}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EdgeConnectivity[RandomGraph[20, 0.3]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EdgeConnectivity[RandomGraph[20, 0.5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EdgeConnectivity[RandomGraph[20, 0.7]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EdgeConnectivity[CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gt = Table[RandomGraph[5*i, N[1\/(5*i)]], {i, 15}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[EdgeConnectivity[gt[[i]]]; ], {i, 15}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[V \/@ gt]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[M \/@ gt]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gt = Table[GridGraph[5, 5*i], {i, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[EdgeConnectivity[gt[[i]]]; ], {i, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*5, N[(1\/5)*i]], {i, 5}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`EdgeConnectivity[h[[i]]]; ], {i, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"VertexConnectivity\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[VertexConnectivity[GridGraph[10, 3]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[VertexConnectivity[Star[30]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[VertexConnectivity[CompleteGraph[4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[DiscreteMath`OldCombinatorica`VertexConnectivity[DiscreteMath`OldCombinatorica`CompleteGraph[4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[10, 4]; h = DiscreteMath`OldCombinatorica`GridGraph[10, 4]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[VertexConnectivity[g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`VertexConnectivity[h]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"VertexConnectivityGraph\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = VertexConnectivityGraph[Wheel[10]], VertexStyle -> Disc[0.025], ImageSize -> 400]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = RandomTree[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[VertexConnectivityGraph[g], HeadScaling -> Relative, ImageSize -> 400, VertexStyle -> Disc[0.015]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[10, 4]; Timing[VertexConnectivityGraph[g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"Harary\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[Harary[3, 10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[Harary[7, 13]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[CompleteQ[Harary[8, 9]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[CompleteQ[Harary[10, 9]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[Harary[5, i*10]; ], {i, 20}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Harary[5, i*10]; ], {i, 20}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[Harary[5, i*10]; ], {i, 20}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Harary[i*5, 10]; ], {i, 3, 20}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"IdenticalQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = CompleteGraph[10]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IdenticalQ[g, CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IdenticalQ[g, Wheel[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = AddEdges[g, {{{1, 2}}}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IdenticalQ[g, CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IdenticalQ[CirculantGraph[10, Range[5]], CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IdenticalQ[RemoveMultipleEdges[CirculantGraph[10, Range[5]]], CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IdenticalQ[GraphDifference[Wheel[11], AddVertices[Cycle[10], 1]], Star[11]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[100, 100]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[IdenticalQ[g, g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"IsomorphismQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IsomorphismQ[CompleteGraph[10], CompleteGraph[10], RandomPermutation[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[tf = (IsomorphismQ[Cycle[4], Cycle[4], #1] & ) \/@ Permutations[Range[4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Length[Select[tf, #1 == True & ]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 8}]; pt = Table[RandomPermutation[200*i], {i, 8}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[IsomorphismQ[gt[[i]], gt[[i]], pt[[i]]]; ], {i, 8}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ht = Table[DiscreteMath`OldCombinatorica`GridGraph[20, 10*i], {i, 8}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`IsomorphismQ[gt[[i]], gt[[i]], pt[[i]]]; ], {i, 8}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"Isomorphism\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Isomorphism[Wheel[10], CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Isomorphism[Wheel[5], Wheel[5], All]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Isomorphism[Star[5], Star[5], All]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Isomorphism[Wheel[10], Star[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Isomorphism[Cycle[10], Cycle[10], All]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = Table[Cycle[i], {i, 10, 20, 2}]; h = Table[Cycle[i], {i, 10, 20, 2}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[Isomorphism[g[[i]], g[[i]], All]; ], {i, 6}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Isomorphism[h[[i]], h[[i]], All]; ], {i, 6}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Isomorphism[Cycle[5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Isomorphism[Path[5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Isomorphism[t = RandomTree[7]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.1]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"IsomorphicQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IsomorphicQ[Wheel[10], Wheel[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IsomorphicQ[CompleteGraph[8], GraphJoin[CompleteGraph[4], CompleteGraph[4]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IsomorphicQ[RandomTree[20], CompleteGraph[20]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"Equivalences\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Equivalences[Wheel[10], CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Equivalences[Path[10], CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Equivalences[Path[10], Path[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GraphUnion[Cycle[4], Cycle[4]]; ShowGraph[g, VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = AddEdges[g, {{{1, 5}}, {{2, 4}}, {{6, 8}}, {{3, 7}}}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g, VertexNumber -> On, PlotRange -> Large[0.1]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[DegreeSequence[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[h = Hypercube[3]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[DegreeSequence[h]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Equivalences[g, h]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Isomorphism[g, h, All]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Equivalences[GraphPower[g, 2], GraphPower[h, 2]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gm = Path[10]; gm2 = GraphPower[gm, 2]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Equivalences[gm2, gm2]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Equivalences[gm3 = GraphPower[gm, 3], gm3]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Equivalences[gm5 = GraphPower[gm, 5], gm5]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Equivalences[Wheel[5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Equivalences[CompleteGraph[4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"Automorphisms\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Automorphisms[Star[4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"SelfComplementaryQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[SelfComplementaryQ[Path[4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[SelfComplementaryQ[Cycle[5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[SelfComplementaryQ[Path[5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"FindCycle\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = RandomGraph[10, 0.4], VertexNumber -> On, VertexNumberColor -> Red, PlotRange -> Large[0.1], Background -> LightBlue]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[FindCycle[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = AddEdges[RandomTree[10], {{{1, 10}}}], VertexNumber -> On, PlotRange -> Large[0.05]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[FindCycle[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[HighlightCycle[t_Graph] := Highlight[t, c = FindCycle[t]; {Table[Sort[{c[[i]], c[[i + 1]]}], {i, Length[c] - 1}]}, HighlightedEdgeColors -> {Red}] \/; UndirectedQ[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[HighlightCycle[t_Graph] := Highlight[t, c = FindCycle[t]; {Table[{c[[i]], c[[i + 1]]}, {i, Length[c] - 1}]}, HighlightedEdgeColors -> {Red}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[HighlightCycle[t], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[HighlightCycle[RandomGraph[10, 0.4]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On, VertexNumber -> Text[{-0.03, -0.03}]], PlotRange -> Large[0.07]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = AddEdges[DeleteEdges[t, {{16, 17}, {17, 22}}], {{{17, 16}}, {{22, 17}}}], VertexNumber -> On, PlotRange -> Large[0.1]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[HighlightCycle[t]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[t = AddEdges[Path[4], {{{1, 2}}}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Edges[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[FindCycle[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[t = AddEdges[Path[4], {{{1, 1}}}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[FindCycle[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gt = Table[RandomGraph[50*i, N[1\/(50*i)]], {i, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[FindCycle[gt[[i]]]; ], {i, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ct = Table[0, {10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[ct[[i]] = FindCycle[gt[[i]]]; ], {i, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ct]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ht = Table[DiscreteMath`OldCombinatorica`RandomGraph[50*i, N[1\/(50*i)]], {i, 5}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`FindCycle[ht[[i]]]; ], {i, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"AcyclicQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[AcyclicQ[RandomTree[100]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[AcyclicQ[GridGraph[10, 10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[AcyclicQ[SetGraphOptions[GridGraph[10, 10], EdgeDirection -> On]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"TreeQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TreeQ[Star[100]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[$RecursionLimit = 10000; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TreeQ[Path[100]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TreeQ[RandomTree[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TreeQ[CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TreeQ[Wheel[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"ExtractCycles\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ExtractCycles[Wheel[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[cl = ExtractCycles[CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[cl = (Sort \/@ Partition[#1, 2, 1] & ) \/@ cl]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[Highlight[CompleteGraph[10], cl]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = Table[GridGraph[i*5, 5], {i, 5}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[ExtractCycles[g[[i]]]; ], {i, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = Table[DiscreteMath`OldCombinatorica`GridGraph[i*5, 5], {i, 5}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`ExtractCycles[h[[i]]]; ], {i, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"DeleteCycle\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[DeleteCycle[CompleteGraph[10], {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IdenticalQ[DeleteCycle[Wheel[10], {1, 2, 3, 4, 5, 6, 7, 8, 9, 1}], Star[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[30, 30]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[DeleteCycle[g, {1, 2, 3, 33, 32, 31, 1}]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`DeleteCycle[g, {1, 2, 3, 33, 32, 31, 1}]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"Girth\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Girth[Wheel[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Girth[GridGraph[5, 5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Girth[Cycle[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = AddEdges[Cycle[10], {{{1, 6}}}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Girth[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Girth[CompleteGraph[4, 4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Girth[RandomTree[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[gt = Table[RandomGraph[i*10, 0.4], {i, 1, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[Girth[gt[[i]]]; ], {i, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ListPlot[(#1[[1,1]] & ) \/@ rt, PlotJoined -> True]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ht = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*10, 0.4], {i, 1, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`Girth[ht[[i]]]; ], {i, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"OutDegree\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[OutDegree[t = SetGraphOptions[GridGraph[5, 7], EdgeDirection -> On]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.07]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[OutDegree[SetGraphOptions[GraphUnion[10, CompleteGraph[1]], EdgeDirection -> On]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"InDegree\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[InDegree[SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"ReverseEdges\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[ReverseEdges[t]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"EulerianQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EulerianQ[CompleteGraph[9]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EulerianQ[Cycle[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EulerianQ[t = GridGraph[5, 5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.05]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = DeleteVertices[t, {1, 5, 21, 25}], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EulerianQ[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = DeleteEdges[t, {{9, 10}, {16, 20}, {12, 13}, {2, 6}}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EulerianQ[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[$RecursionLimit = 100000000000]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[70, 70]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[EulerianQ[g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[ConnectedQ[g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[30, 30]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[EulerianQ[g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`EulerianQ[h]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"EulerianCycle\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EulerianCycle[CompleteGraph[4, 4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EulerianCycle[Hypercube[4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = Table[Hypercube[i], {i, 3, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[EulerianCycle[g[[i]]]; ], {i, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[ExtractCycles[g[[i]]]; ], {i, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = Table[DiscreteMath`OldCombinatorica`Hypercube[i], {i, 3, 7}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`EulerianCycle[h[[i]]]; ], {i, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"DeBruijnGraph\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = DeBruijnGraph[{0, 1}, 4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[states = FromCharacterCode \/@ (#1 + 48 & ) \/@ Strings[{0, 1}, 3]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[SetGraphOptions[t, Table[{{i}, VertexLabel -> states[[i]]}, {i, Length[states]}]], PlotRange -> {{-0.1, 1.2}, {-0.1, 1.2}}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EulerianQ[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[states[[EulerianCycle[t]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DeBruijnGraph[{0, 1}, i]; ], {i, 3, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DeBruijnGraph[2, i]; ], {i, 3, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"HamiltonianCycle\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[HamiltonianCycle[CompleteGraph[3, 3], All]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = RegularGraph[4, 7], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[HamiltonianCycle[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[HamiltonianCycle[AddEdges[GridGraph[5, 5], {{{1, 25}}}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[HamiltonianCycle[GridGraph[5, 5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = Table[GridGraph[i, i], {i, 3, 6}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[HamiltonianCycle[g[[i]]]; ], {i, 4}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 3, 6}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`HamiltonianCycle[h[[i]]]; ], {i, 4}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"SetEdgeWeights\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Edges[SetEdgeWeights[GridGraph[5, 5]], EdgeWeight]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Edges[SetEdgeWeights[GridGraph[5, 5], WeightingFunction -> RandomInteger, WeightRange -> {10, 20}], EdgeWeight]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Edges[SetEdgeWeights[GridGraph[5, 5], WeightingFunction -> Random, WeightRange -> {-10, 10}], EdgeWeight]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Edges[SetEdgeWeights[GridGraph[3, 3], WeightingFunction -> Euclidean], EdgeWeight]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Null]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[GetEdgeWeights[SetEdgeWeights[RandomGraph[10, 0.3], WeightingFunction -> Euclidean]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"SetVertexWeights\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[GetVertexWeights[SetVertexWeights[GridGraph[3, 3], Random, Integer, {10, 20}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[GetVertexWeights[SetVertexWeights[GridGraph[3, 3]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"GetEdgeWeights\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = SetEdgeWeights[GridGraph[5, 5], WeightingFunction -> RandomInteger, WeightRange -> {0, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[GetEdgeWeights[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"GetVertexWeights\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[GetVertexWeights[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = SetVertexWeights[g, Random, Integer, {100, 200}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[GetVertexWeights[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"CostOfPath\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = SetEdgeWeights[GridGraph[4, 4], WeightingFunction -> RandomInteger, WeightRange -> {1, 5}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[CostOfPath[g, {1, 2, 3, 4, 8, 12}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[CostOfPath[g, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"TravelingSalesman\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = SetEdgeWeights[Cycle[10], WeightingFunction -> RandomInteger, WeightRange -> {1, 3}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TravelingSalesman[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[GetEdgeWeights[g = SetEdgeWeights[CompleteGraph[4], WeightingFunction -> RandomInteger, WeightRange -> {1, 100}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TravelingSalesman[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[GetEdgeWeights[g = SetEdgeWeights[Wheel[6], WeightingFunction -> Euclidean]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[p = TravelingSalesman[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[CostOfPath[g, p]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[CostOfPath[g, {1, 2, 4, 3, 5, 6, 1}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[CostOfPath[g, {1, 2, 6, 3, 4, 5, 1}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = Table[SetEdgeWeights[CompleteGraph[i], WeightingFunction -> RandomInteger, WeightRange -> {1, 100}], {i, 5, 8}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[TravelingSalesman[g[[i]]]; ], {i, 4}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"TriangleInequalityQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[GetEdgeWeights[g = SetEdgeWeights[GridGraph[2, 2]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TriangleInequalityQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[GetEdgeWeights[g = SetEdgeWeights[CompleteGraph[5]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TriangleInequalityQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = SetGraphOptions[CompleteGraph[4], {{{{1, 2}, {2, 3}, {3, 4}, {1, 4}}, EdgeWeight -> 1}, {{{2, 4}, {1, 3}}, EdgeWeight -> 1.5}}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TriangleInequalityQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = SetGraphOptions[g, EdgeDirection -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TriangleInequalityQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"TravelingSalesmanBounds\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TravelingSalesmanBounds[Wheel[5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"TransitiveClosure\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = SetGraphOptions[GridGraph[4, 4], EdgeDirection -> On], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Edges[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[gg = TransitiveClosure[g], Append[Edges[g], EdgeColor -> Red], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Edges[gg]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[10, 10]; Timing[DiscreteMath`OldCombinatorica`TransitiveClosure[g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[10, 10]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[TransitiveClosure[g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"TransitiveQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = SetGraphOptions[RandomGraph[10, 0.3], EdgeDirection -> On], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TransitiveQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TransitiveQ[TransitiveClosure[g]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TransitiveQ[SetGraphOptions[CompleteGraph[10], EdgeDirection -> On]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TransitiveQ[g = SetGraphOptions[CompleteGraph[3, 3, 3], EdgeDirection -> On]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"ReflexiveQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ReflexiveQ[g = CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = AddEdges[g, Table[{{i, i}}, {i, 10}]]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ReflexiveQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = DeleteEdges[g, {{1, 1}}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ReflexiveQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"AntiSymmetricQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = SetGraphOptions[Wheel[20], EdgeDirection -> On]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[AntiSymmetricQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = AddEdges[g, {{{2, 1}}}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[AntiSymmetricQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"PartialOrderQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[PartialOrderQ[g = GridGraph[3, 3]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = TransitiveClosure[g]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Edges[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[PartialOrderQ[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"TransitiveReduction\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[TransitiveReduction[g = SetGraphOptions[GridGraph[4, 4], EdgeDirection -> On]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = TransitiveClosure[g]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[TransitiveReduction[g]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[s = MakeGraph[Subsets[4], Intersection[#2, #1] === #1 && #1 != #2 & ]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = HasseDiagram[s], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"TopologicalSort\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[HasseDiagram[g], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TopologicalSort[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = AddEdges[DeleteEdges[g, {{9, 10}}], {{{10, 9}}}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TopologicalSort[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g = MakeGraph[Range[12], Mod[#2, #1] == 0 & ], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[HasseDiagram[g], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TopologicalSort[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"ChromaticPolynomial\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = CompleteGraph[5]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ChromaticPolynomial[g, z]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GraphUnion[10, CompleteGraph[1]]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ChromaticPolynomial[g, z]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ChromaticPolynomial[RandomTree[10], z]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = DeleteEdges[CompleteGraph[5], {{1, 2}}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ChromaticPolynomial[g, z]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ChromaticPolynomial[Cycle[5], z]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[{Timing[DiscreteMath`OldCombinatorica`ChromaticPolynomial[DiscreteMath`OldCombinatorica`Cycle[i], z]; ], Timing[ChromaticPolynomial[Cycle[i], z]; ]}, {i, 5, 10}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Expand[wheelpoly[z_] = ChromaticPolynomial[Wheel[5], z]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[wheelpoly[z], {z, 1, 7}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"ChromaticNumber\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ChromaticNumber[Cycle[7]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ChromaticNumber[CompleteGraph[4, 5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = GridGraph[5, 5]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[ChromaticNumber[g]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"TwoColoring\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TwoColoring[t = RandomTree[20]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[$RecursionLimit = 100000; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[TwoColoring[CompleteGraph[3, 3, 3]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = Table[GridGraph[i, i], {i, 10, 30, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[{Timing[DiscreteMath`OldCombinatorica`TwoColoring[g[[i]]]; ], Timing[TwoColoring[h[[i]]]; ]}, {i, 3}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[MyTC[g_Graph] := (If[EvenQ[#1], 1, 2] & ) \/@ BreadthFirstTraversal[g, 1, Level]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[MyTC[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[MyTC[h[[i]]]; ], {i, 3}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"BipartiteQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BipartiteQ[Wheel[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BipartiteQ[Star[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BipartiteQ[GridGraph[5, 5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[BipartiteQ[Cycle[5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"VertexColoring\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[VertexColoring[CompleteGraph[4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[VertexColoring[GridGraph[10, 10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[c = VertexColoring[g = Wheel[30]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[p = Table[Flatten[Position[c, i], 1], {i, Max[c]}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[Highlight[g, p]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 5, 30, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = Table[GridGraph[i, i], {i, 5, 30, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[{Timing[DiscreteMath`OldCombinatorica`VertexColoring[g[[i]]]; ], Timing[VertexColoring[h[[i]]]; ]}, {i, 3}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = ExactRandomGraph[30, 100]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[c = VertexColoring[g]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[p = Table[Flatten[Position[c, i], 1], {i, Max[c]}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[Highlight[g, p]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"EdgeColoring\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EdgeColoring[Wheel[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[c = EdgeColoring[GridGraph[5, 5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = LineGraph[GridGraph[5, 5]]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[p = Table[Flatten[Position[c, i], 1], {i, 4}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[Highlight[g, p], VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ep = (Edges[g = GridGraph[5, 5]][[#1]] & ) \/@ p]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[Highlight[g, ep]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[g = Table[GridGraph[i, i], {i, 10, 30, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[EdgeColoring[g[[i]]]; ], {i, 2}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[LineGraph[g[[i]]]; ], {i, 2}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[h = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`EdgeColoring[h[[i]]]; ], {i, 2}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`LineGraph[h[[i]]]; ], {i, 2}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"EdgeChromaticNumber\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[EdgeChromaticNumber[Star[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t = LineGraph[Wheel[10]]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ChromaticPolynomial[t, z]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"MaximumClique\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[MaximumClique[t]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[MaximumClique[Turan[6, 4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[MaximumClique[CompleteGraph[10]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[MaximumClique[t = RandomGraph[10, 0.5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[t, VertexNumber -> On]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[t = RandomGraph[20, 0.5]; ]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Timing[MaximumClique[t]; ]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"CliqueQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[CliqueQ[CompleteGraph[12], Range[12]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[CliqueQ[CompleteGraph[12], Range[5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[CliqueQ[RandomGraph[10, 0.5], Range[5]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"MinimumVertexCover\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"Highlight\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[Highlight[g = RandomGraph[10, 0.6], MinimumVertexCover[g], HighlightedVertexColors -> {Blue}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[Highlight[g = RandomGraph[14, 0.3], MinimumVertexCover[g], HighlightedVertexColors -> {Blue}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"VertexCoverQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[MinimumVertexCover[GridGraph[4, 4]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[c = {2, 4, 5, 7, 10, 12, 13, 15}]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[VertexCoverQ[GridGraph[4, 4], c]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[VertexCoverQ[GridGraph[4, 4], Complement[c, {2}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"MaximumIndependentSet\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[ShowGraph[Highlight[g = RandomGraph[10, 0.4], MaximumIndependentSet[g], HighlightedVertexColors -> {Purple}]]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[Information[\"IndependentSetQ\", LongForm -> False]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IndependentSetQ[CompleteGraph[3, 3], {1, 2, 3}]]" + }, + { + "sec":"5. Properties of Graphs\n", + "in":"HoldComplete[IndependentSetQ[CompleteGraph[3, 3], {3, 4}]]" + } +] \ No newline at end of file diff --git a/book/cells/newFeatures.json b/book/cells/newFeatures.json new file mode 100644 index 0000000..57502f3 --- /dev/null +++ b/book/cells/newFeatures.json @@ -0,0 +1,558 @@ +[ + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g = CompleteGraph[4]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g[[1]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g[[2]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g[[0]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g = SetGraphOptions[g, VertexColor -> Red, EdgeColor -> Blue]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[ShowGraph[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g = SetGraphOptions[g, {{{1, 2}, VertexStyle -> Disc[Large], VertexColor -> Green}}]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[ShowGraph[g, PlotRange -> Large[0.05]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[Length[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g[[1]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g[[2]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g[[3]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g[[4]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[20, 20]; ]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[ByteCount[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g = GridGraph[20, 20]; ByteCount[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[h = SetGraphOptions[g, VertexColor -> Red, EdgeColor -> Blue]; ShowGraph[h, Background -> Yellow]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[ByteCount[h]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g = DiscreteMath`OldCombinatorica`RandomGraph[100, 0.5]; ByteCount[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graph Data Structure", + "in":"HoldComplete[g = RandomGraph[100, 0.5]; ByteCount[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[Information[\"DihedralGroup\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[DihedralGroup[4]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[Information[\"SymmetricGroupIndex\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[SymmetricGroupIndex[6, x]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[Information[\"DihedralGroupIndex\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[DihedralGroupIndex[10, y]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[Information[\"GraphPolynomial\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[GraphPolynomial[6, x]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[Information[\"NumberOfGraphs\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[TableForm[Table[NumberOfGraphs[i], {i, 1, 15}]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[ShowGraphArray[ListGraphs[6, 3], Background -> LightBlue]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[Information[\"ListNecklaces\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[ListNecklaces[5, {r, r, b, b, y}, Dihedral]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[ListNecklaces[5, {r, r, b, b, y}, Cyclic]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[Information[\"NumberOfNecklaces\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[TableForm[Table[NumberOfNecklaces[i, 2, Dihedral], {i, 10, 20}]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[Information[\"NecklacePolynomial\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Polya Theory", + "in":"HoldComplete[NecklacePolynomial[10, {R, B, G}, Cyclic]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[Information[\"SetPartitions\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[SetPartitions[4]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[Information[\"KSetPartitions\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[KSetPartitions[5, 3]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[Information[\"RankSetPartition\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[RankSetPartition[{{1, 2}, {3, 5}, {4}}]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[Information[\"UnrankSetPartition\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[UnrankSetPartition[%, 5]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[Information[\"RandomSetPartition\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[RandomSetPartition[10]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[Information[\"RandomKSetPartition\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[RandomKSetPartition[10, 4]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[Information[\"BellB\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[BellB[300]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[l52 = (StringJoin[ToString \/@ #1[[1]]] & ) \/@ (sp52 = KSetPartitions[5, 2]); , Null, ShowGraph[g = SetVertexLabels[MakeGraph[sp52, MemberQ[{1, 4}, Sum[Abs[Position[#1, i][[1,1]] - Position[#2, i][[1,1]]], {i, 5}]] & , Type -> Undirected], l52], PlotRange -> Large[0.2]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[ShowGraph[Highlight[g, {Partition[HamiltonianCycle[g], 2, 1]}, {Red}], PlotRange -> Large[0.1]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[Length[HamiltonianCycle[g, All]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[StirlingSecond[100, 50]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Additional topics \/ Set Partitions", + "in":"HoldComplete[Table[Timing[StirlingS2[100*i, 50*i]; ]\/Timing[StirlingSecond[100*i, 50*i]; ], {i, 2, 7}]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[c = VertexColoring[g = Wheel[20]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[ShowGraph[Highlight[g, Table[Flatten[Position[c, i]], {i, Max[c]}]]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[g = GraphProduct[GridGraph[2, 2], Cycle[5]]; , Null, ShowGraph[g, VertexColor -> LightBlue, EdgeColor -> Yellow, Background -> Black]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[g = GridGraph[3, 3]; , Null, ShowGraph[g, VertexStyle -> Disc[Large], VertexNumber -> Center, VertexNumberColor -> Yellow, Background -> Yellow]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[g = InduceSubgraph[GridGraph[10, 10], RandomSubset[Range[100]]]; , Null, m = BipartiteMatching[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[ShowGraph[Highlight[g, {m}, {Red}], Background -> LightBlue]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[ShowGraph[g = Hypercube[5], VertexColor -> Red]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[ShowGraph[g, VertexColor -> Red, PlotRange -> Zoom[{1, 2, 3, 4}]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[ShowGraphArray[Partition[l = Union[(CirculantGraph[9, #1] & ) \/@ Subsets[8]], 4, 4]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[g = Star[7]; ShowGraph[g, VertexNumber -> On]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Graphics", + "in":"HoldComplete[ShowGraph[AddEdges[g, {{1, 7}, {1, 1}, {6, 7}, {7, 6}}]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Path[300]; ], Timing[Path[300]; ]}]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomTree[200]; ], Timing[RandomTree[200]; ]}]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ], Timing[GridGraph[30, 30]; ]}]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; Timing[DiscreteMath`OldCombinatorica`ToAdjacencyLists[g]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[g = GridGraph[30, 30]; Timing[ToAdjacencyLists[g]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[g = SetEdgeWeights[GridGraph[30, 30]]; Timing[MinimumSpanningTree[g]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[20, 20]; Timing[DiscreteMath`OldCombinatorica`MinimumSpanningTree[g]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[g = GridGraph[100, 100]; h = InduceSubgraph[g, RandomSubset[Range[10000]]]; ]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[{V[h], M[h]}]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[ShowGraph[h, VertexStyle -> Disc[0]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[Timing[c = ConnectedComponents[h]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[Length[c]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[g = DiscreteMath`OldCombinatorica`RandomGraph[100, 0.3]; Timing[DiscreteMath`OldCombinatorica`LineGraph[g]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[g = RandomGraph[100, 0.3]; Timing[LineGraph[g]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[g = DiscreteMath`OldCombinatorica`Wheel[200]; Timing[DiscreteMath`OldCombinatorica`VertexColoring[g]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[g = Wheel[200]; Timing[VertexColoring[g]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[Timing[DiscreteMath`OldCombinatorica`LexicographicPermutations[Range[8]]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[Timing[LexicographicPermutations[8]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[p = DiscreteMath`Permutations`RandomPermutation[1000]; Timing[DiscreteMath`Permutations`ToCycles[p]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[p = RandomPermutation[1000]; Timing[ToCycles[p]; ]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Improvement in Run Times", + "in":"HoldComplete[p = RandomPermutation[5000]; {Timing[Signature[p]; ], Timing[SignaturePermutation[p]; ]}]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[Information[\"AddEdges\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[g = Wheel[10]; ShowGraph[g, VertexNumber -> On]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[ShowGraph[g = AddEdges[g, {{{2, 10}, EdgeColor -> Red, EdgeStyle -> Fat}}], VertexNumber -> On]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[ShowGraph[g = AddEdges[g, {3, 1}], VertexNumber -> On]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[Information[\"BreadthFirstTraversal\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[Information[\"DiscreteMath`OldCombinatorica`BreadthFirstTraversal\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[g = GridGraph[5, 5]; ]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[BreadthFirstTraversal[g, 1]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[e = BreadthFirstTraversal[g, 1, Edge]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[ShowGraph[Highlight[g, {e}, {HotPink}]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[ShowGraphArray[{g, BreadthFirstTraversal[g, 1, Tree]}]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[BreadthFirstTraversal[g, 1, Level]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[Information[\"CompleteGraph\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[ShowGraph[CompleteGraph[5, Type -> Directed]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[SetOptions[CompleteGraph, Type -> Directed]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[ShowGraph[CompleteGraph[5]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[g = AddEdges[Star[5], {{1, 5}, {2, 2}}]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[ShowGraph[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[ToAdjacencyLists[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Better Functionality", + "in":"HoldComplete[ToAdjacencyLists[g, Type -> Simple]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[Information[\"GridGraph\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[ShowGraph[GridGraph[3, 4, 5]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[Information[\"ShuffleExchangeGraph\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[ShowGraph[ShuffleExchangeGraph[3]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[Information[\"ButterflyGraph\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[ShowGraph[ButterflyGraph[3]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[Information[\"InversionPoset\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[ShowGraph[InversionPoset[4]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[Information[\"BooleanAlgebra\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[ShowGraph[BooleanAlgebra[4]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[Information[\"CageGraph\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ New Graph Instances and Classes", + "in":"HoldComplete[ShowGraphArray[{Table[CageGraph[r], {r, 3, 5}], Table[CageGraph[r], {r, 6, 8}]}]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[Information[\"SetEdgeWeights\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[g = SetEdgeWeights[Wheel[10], WeightingFunction -> RandomInteger, WeightRange -> {3, 5}]; GetEdgeWeights[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[Options[SetEdgeWeights]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[Information[\"SetOptions\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[SetOptions[SetEdgeWeights, WeightingFunction -> RandomInteger, WeightRange -> {0, 1}]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[g = SetEdgeWeights[Wheel[10]]; GetEdgeWeights[g]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[Information[\"BellmanFord\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[g = AddEdges[Cycle[10, Type -> Directed], {{4, 1}, {6, 1}, {9, 3}}]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[ShowGraph[g, VertexNumber -> On]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[g = SetEdgeWeights[g, WeightingFunction -> RandomInteger, WeightRange -> {-4, 5}]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[Edges[g, EdgeWeight]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[BellmanFord[g, 1]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[Dijkstra[g, 1]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[Information[\"TreeIsomorphismQ\", LongForm -> False]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[g = RandomTree[40]; h = PermuteSubgraph[g, RandomPermutation[40]]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[TreeIsomorphismQ[g, h]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[IsomorphicQ[g, h]]" + }, + { + "sec":"Old Combinatorica vs New Combinatorica \/ Miscellaneous New Functions", + "in":"HoldComplete[{Timing[TreeIsomorphismQ[g, h]; ], Timing[IsomorphicQ[g, h]; ]}]" + } +] \ No newline at end of file diff --git a/book/cells/tutorial.json b/book/cells/tutorial.json new file mode 100644 index 0000000..88dad17 --- /dev/null +++ b/book/cells/tutorial.json @@ -0,0 +1,246 @@ +[ + { + "sec":"A Mathematica Tutorial for Combinatorica Users", + "in":"HoldComplete[BFS[g_Graph, start_Integer] := Module[{e = ToAdjacencyLists[g], bfi = Table[0, {V[g]}], cnt = 1, queue = {start}, parent = Table[i, {i, V[g]}], lvl = Table[Infinity, {V[g]}]}, bfi[[start]] = cnt++; lvl[[start]] = 0; While[queue != {}, {v, queue} = {First[queue], Rest[queue]}; Scan[If[bfi[[#1]] == 0, bfi[[#1]] = cnt++; parent[[#1]] = v; lvl[[#1]] = lvl[[v]] + 1; AppendTo[queue, #1]] & , e[[v]]]]; {bfi, parent, lvl}] \/; 1 <= start && start <= V[g]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users", + "in":"HoldComplete[g = Wheel[7]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users", + "in":"HoldComplete[ShowGraph[g, VertexNumber -> On]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users", + "in":"HoldComplete[BFS[g, 1]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Function Definition", + "in":"HoldComplete[F[x_] := x^2]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Function Definition", + "in":"HoldComplete[F[10]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Function Definition", + "in":"HoldComplete[G[y_Integer] := y^2]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Function Definition", + "in":"HoldComplete[G[10]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Function Definition", + "in":"HoldComplete[G[10.1]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Function Definition", + "in":"HoldComplete[F[10.1]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Function Definition", + "in":"HoldComplete[BFS[10, 10]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Function Definition", + "in":"HoldComplete[BFS[g, 10.1]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Defining Local Variables", + "in":"HoldComplete[Information[\"Module\", LongForm -> False]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Defining Local Variables", + "in":"HoldComplete[Module[{i, j}, i = 10; j = 20]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Defining Local Variables", + "in":"HoldComplete[i]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Defining Local Variables", + "in":"HoldComplete[j]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[Information[\"Table\", LongForm -> False]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[Table[1, {10}]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[Table[1, {i, 10}]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[Table[i, {i, 10}]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[Table[i, {i, 3, 10}]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[Table[i*j, {i, 10}, {j, 10}]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[t = Table[i*j, {i, 10}, {j, 1, i}]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"PARSEFAIL:BoxData[RowBox[{\"t\", \"\/\/\", \"ColumnForm\"}]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[e = ToAdjacencyLists[g]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[l = Range[10]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[l[[{2, 5, 6}]] = {-1, -2, -3}]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ List Manipulation", + "in":"HoldComplete[l]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Loops", + "in":"HoldComplete[Information[\"While\", LongForm -> False]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Loops", + "in":"HoldComplete[sum = 0]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Loops", + "in":"HoldComplete[i = 0]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Loops", + "in":"HoldComplete[While[i < 10, sum = sum + 10; i++]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Loops", + "in":"HoldComplete[sum]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Loops", + "in":"HoldComplete[Information[\"Do\", LongForm -> False]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Loops", + "in":"HoldComplete[Information[\"For\", LongForm -> False]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Loops", + "in":"HoldComplete[l = {1, 3, 8, -1, 11, 12}]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Loops", + "in":"HoldComplete[{v, l} = {First[l], Rest[l]}]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Loops", + "in":"HoldComplete[{v, l}]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[Information[\"Scan\", LongForm -> False]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[Acc[x_] := m = m + x]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[l]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[m = 0]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[Scan[Acc, l]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[m]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[m = 0]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[Scan[Function[x, m = m + x], l]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[m]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[Information[\"Function\", LongForm -> False]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[m = 0]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[Scan[(m = m + #1) & , l]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[m]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[l = Range[1000]; ]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[Information[\"PrimeQ\", LongForm -> False]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[s = 0]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[Scan[If[PrimeQ[#1], s++] & , l]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[s]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[Information[\"Map\", LongForm -> False]]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[l = {1, 2, 10, 4}]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[(#1^2 & ) \/@ l]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Functional Operations", + "in":"HoldComplete[f \/@ {1, 3, 4}]" + }, + { + "sec":"A Mathematica Tutorial for Combinatorica Users \/ Final Words", + "in":"HoldComplete[Information[\"\/;\", LongForm -> False]]" + } +] \ No newline at end of file diff --git a/book/compare.py b/book/compare.py new file mode 100644 index 0000000..53ac102 --- /dev/null +++ b/book/compare.py @@ -0,0 +1,143 @@ +"""Compare Mathics3 cell results against two WMA reference runs. + +usage: compare.py WMA_DIR MATHICS_DIR [OUT.json] + +WMA_DIR holds NAME.s1.jsonl and NAME.s2.jsonl (two random seeds); +MATHICS_DIR holds NAME.jsonl. Prints per-notebook counts and writes +the per-cell verdicts to OUT.json. + +Verdicts: + skip an Information[...] cell (usage text, not a computation), or a + cell that could not be parsed into an input + pass same output (or a random cell) and no messages WMA lacks + wrong different output + msg right output but messages WMA does not give + error crash, hang, timeout or abort (e.g. $RecursionLimit) in Mathics3 + wma-bad WMA itself crashed or timed out; not counted +""" + +import json +import os +import re +import sys +from collections import Counter + +NOTEBOOKS = ["Chapter3", "Chapter4", "Chapter5", "newFeatures", "tutorial"] +MSG_RE = re.compile(r"(\$?\w+)::(\w+)") + + +def braces(s: str) -> str: + """Turn WMA's FullForm List[...] into {...}, as Mathics3 prints it.""" + out, stack, i, n = [], [], 0, len(s) + while i < n: + c = s[i] + if c == '"': + j = i + 1 + while j < n and s[j] != '"': + j += 2 if s[j] == "\\" else 1 + out.append(s[i : j + 1]) + i = j + 1 + continue + if s.startswith("List[", i) and (i == 0 or not (s[i - 1].isalnum() or s[i - 1] in "`$")): + out.append("{") + stack.append("}") + i += 5 + continue + if c == "[": + stack.append("]") + elif c == "]": + c = stack.pop() if stack else c + out.append(c) + i += 1 + return "".join(out) + + +TIMING_RE = re.compile(r"\b(Timing|AbsoluteTiming|ByteCount|MemoryInUse|MaxMemoryUsed|SessionTime)\[") +NUMBER_RE = re.compile(r"-?\d+(\.\d*)?(\*\^-?\d+)?") + + +def norm(s: str) -> str: + return re.sub(r"\s+", "", braces(s)) + + +def shape(s: str) -> str: + """The output with every number replaced by N: for cells whose values + are times or memory sizes, only the structure can be compared.""" + return NUMBER_RE.sub("N", norm(s)) + + +def msg_names(msgs): + return {m.group(0) for x in msgs for m in [MSG_RE.search(x)] if m} + + +def load(path): + if not os.path.exists(path): + return {} + return {r["i"]: r for r in map(json.loads, open(path))} + + +def verdict(w1, w2, m): + v, why = verdict1(w1, w2, m) + if v in ("wrong", "msg", "error") and m.get("replayed_after_restart") is False: + # Some definitions of earlier cells could not be redone after a restart. + why = (why + " after-restart").strip() + return v, why + + +def verdict1(w1, w2, m): + if "Information[" in m["in"]: + return "skip", "" + if m["in"].startswith("PARSEFAIL:"): + # The notebook cell could not be turned into an input expression. + return "skip", "parse-fail" + if w1 is None or w1["status"] in ("crash", "timeout"): + return "wma-bad", "" + if m["status"] == "crash" and m["secs"] >= 0.98 * m.get("tmo", 120): + # The per-cell alarm interrupted a step: a timeout, not a crash. + return "error", "timeout" + if m["status"] in ("crash", "hang", "timeout", "aborted"): + return "error", m["status"] + random = w2 is not None and w1["out"] != w2["out"] + timed = bool(TIMING_RE.search(m["in"])) + same = (shape if timed else norm)(w1["out"]) == (shape if timed else norm)(m["out"]) + if not random and not same: + return "wrong", "timing-shape" if timed else "" + extra = msg_names(m["msgs"]) - msg_names(w1["msgs"]) - (msg_names(w2["msgs"]) if w2 else set()) + if extra: + return "msg", " ".join(sorted(extra)) + return "pass", "random" if random else "" + + +def main(): + wdir, mdir = sys.argv[1], sys.argv[2] + outp = sys.argv[3] if len(sys.argv) > 3 else None + allrecs = [] + print(f"{'notebook':12} {'cells':>5} {'pass':>5} {'wrong':>5} {'msg':>4} {'error':>5} {'skip':>4} {'wma-bad':>7} {'pass%':>6} {'secs':>7}") + for nb in NOTEBOOKS: + w1 = load(os.path.join(wdir, f"{nb}.s1.jsonl")) + w2 = load(os.path.join(wdir, f"{nb}.s2.jsonl")) + ms = load(os.path.join(mdir, f"{nb}.jsonl")) + if not ms: + continue + cnt = Counter() + secs = 0.0 + for i, m in sorted(ms.items()): + v, why = verdict(w1.get(i), w2.get(i), m) + cnt[v] += 1 + secs += m.get("secs") or 0 + allrecs.append({ + "nb": nb, "i": i, "verdict": v, "why": why, "in": m["in"], + "mathics": m["out"][:600], "wma": (w1.get(i) or {}).get("out", "")[:600], + "mathics_msgs": m["msgs"][:5], "wma_msgs": (w1.get(i) or {}).get("msgs", [])[:5], + "secs": m.get("secs"), "wma_secs": (w1.get(i) or {}).get("secs"), + "error": m.get("error", "")[-1500:], + }) + counted = sum(cnt[k] for k in ("pass", "wrong", "msg", "error")) + pct = 100 * cnt["pass"] / counted if counted else 0 + print(f"{nb:12} {len(ms):5} {cnt['pass']:5} {cnt['wrong']:5} {cnt['msg']:4} {cnt['error']:5} {cnt['skip']:4} {cnt['wma-bad']:7} {pct:5.1f}% {secs:7.1f}") + if outp: + json.dump(allrecs, open(outp, "w"), indent=1) + + +if __name__ == "__main__": + main() diff --git a/book/drive_mathics.py b/book/drive_mathics.py new file mode 100644 index 0000000..e697e73 --- /dev/null +++ b/book/drive_mathics.py @@ -0,0 +1,81 @@ +"""Drive run_mathics.py over one notebook's cells with a watchdog. + +usage: drive_mathics.py package.m cells.json out.jsonl timeout + +If a cell runs longer than 2*timeout+30 s (the in-process alarm did not +stop it) the process is killed, the cell is recorded as "hang", and the +run restarts at the next cell in a fresh session. A process that dies +on its own is recorded as "crash" for the cell it was in. +""" + +import json +import os +import queue +import subprocess +import threading +import sys +import time +from collections import Counter + +pkg, inf, outf, tmo = sys.argv[1:5] +cells = json.load(open(inf)) +n = len(cells) +if os.path.exists(outf): + os.remove(outf) +here = os.path.dirname(os.path.abspath(__file__)) +log = open(outf + ".log", "w") +limit = 2 * int(tmo) + 30 +start = 1 +while start <= n: + p = subprocess.Popen( + [sys.executable, os.path.join(here, "run_mathics.py"), pkg, inf, outf, tmo, str(start)], + stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True, bufsize=1, + ) + lines = queue.Queue() + reader = threading.Thread(target=lambda: [lines.put(l) for l in p.stdout], daemon=True) + reader.start() + current, since, tail, killed = start, time.time(), "", False + + def drain(): + global tail, current, since + while True: + try: + line = lines.get_nowait() + except queue.Empty: + log.flush() + return + log.write(line) + tail = (tail + line)[-3000:] + if line.startswith("start "): + current, since = int(line.split()[1]), time.time() + elif line.startswith("replay "): + # Replaying earlier cells after a restart is progress too: + # the time limit applies to each of them, not to them all. + since = time.time() + log.flush() + + while p.poll() is None: + drain() + if time.time() - since > limit: + p.kill() + killed = True + break + time.sleep(0.5) + p.wait() + reader.join(timeout=5) + drain() + log.flush() + done = [json.loads(l)["i"] for l in open(outf)] if os.path.exists(outf) else [] + if not killed and max(done, default=0) >= n: + break + bad = current + with open(outf, "a") as f: + f.write(json.dumps({ + "i": bad, "sec": cells[bad - 1]["sec"], "in": cells[bad - 1]["in"], + "out": "", "msgs": [], "secs": round(time.time() - since, 1), + "status": "hang" if killed else "crash", "error": tail, + }) + "\n") + print(("hang" if killed else "crash"), "at", bad, file=sys.stderr, flush=True) + start = bad + 1 +recs = [json.loads(l) for l in open(outf)] +print(inf, dict(Counter(r["status"] for r in recs))) diff --git a/book/drive_wma.py b/book/drive_wma.py new file mode 100644 index 0000000..76224c1 --- /dev/null +++ b/book/drive_wma.py @@ -0,0 +1,39 @@ +"""Drive run_wma.wls over one notebook's cells, restarting after a kernel crash. + +usage: drive_wma.py cells.json out.jsonl seed timeout +""" + +import json +import os +import subprocess +import sys +from collections import Counter + +inf, outf, seed, tmo = sys.argv[1:5] +cells = json.load(open(inf)) +n = len(cells) +if os.path.exists(outf): + os.remove(outf) +here = os.path.dirname(os.path.abspath(__file__)) +start = 1 +while start <= n: + p = subprocess.run( + ["wolframscript", "-file", os.path.join(here, "run_wma.wls"), + inf, outf, seed, tmo, str(start)], + capture_output=True, text=True, + ) + done = [json.loads(l)["i"] for l in open(outf)] if os.path.exists(outf) else [] + if max(done, default=0) >= n: + break + started = [int(l.split()[1]) for l in p.stdout.splitlines() if l.startswith("start ")] + bad = max(started) if started else start + with open(outf, "a") as f: + f.write(json.dumps({ + "i": bad, "sec": cells[bad - 1]["sec"], "in": cells[bad - 1]["in"], + "out": "", "msgs": [], "secs": None, "status": "crash", + "error": (p.stdout + p.stderr)[-1500:], + }) + "\n") + print("crash at", bad, file=sys.stderr) + start = bad + 1 +recs = [json.loads(l) for l in open(outf)] +print(inf, dict(Counter(r["status"] for r in recs))) diff --git a/book/make_tests.py b/book/make_tests.py new file mode 100644 index 0000000..f499744 --- /dev/null +++ b/book/make_tests.py @@ -0,0 +1,178 @@ +"""Make the test data for test/test_book_examples.py from the book's notebook +cells, a WMA run of them and a Mathics3 run of them. + +usage: make_tests.py WMA_DIR MATHICS_DIR [XFAIL.json] + +WMA_DIR holds NB.s1.jsonl and NB.s2.jsonl (two random seeds) and MATHICS_DIR +holds NB.jsonl, as the harness in this directory writes them (see README.md). +XFAIL.json maps a notebook to {cell number: reason} for the cells that are +expected to fail, defaulting to book/xfail.json. Writes test/data/book/NB.json. + +Each cell gets a mode: + + check WMA's result is the expected one: the cell is deterministic (the + same result with both seeds), does not time anything, and gave + WMA's result in the Mathics3 run. + run evaluated, as later cells may need what it defines, but not checked. + skip not evaluated: usage text (Information[...]), a cell that could not + be parsed, or one that failed or ran too long in the Mathics3 run. + +"secs" is the time the cell took in the Mathics3 run, or longer when it +uses a symbol that an earlier, slower cell assigned: the time of that cell +then counts too, since the test leaves out the cells slower than its limit +and the symbol would be missing. A cell using a symbol that a skipped cell +assigned is skipped too. +""" + +import json +import os +import re +import sys + +NOTEBOOKS = ["Chapter3", "Chapter4", "Chapter5", "newFeatures", "tutorial"] +HERE = os.path.dirname(os.path.abspath(__file__)) +OUT_DIR = os.path.join(HERE, "..", "test", "data", "book") + +# Cells that time things or measure memory: their values cannot be compared. +TIMING_RE = re.compile( + r"\b(Timing|AbsoluteTiming|ByteCount|MemoryInUse|MaxMemoryUsed|SessionTime)\[" +) +# Cells slower than this in the Mathics3 run are never evaluated. +MAX_SECS = 5.0 + + +def braces(s: str) -> str: + """Turn WMA's FullForm List[...] into {...}, as Mathics3 prints it.""" + out, stack, i, n = [], [], 0, len(s) + while i < n: + c = s[i] + if c == '"': + j = i + 1 + while j < n and s[j] != '"': + j += 2 if s[j] == "\\" else 1 + out.append(s[i : j + 1]) + i = j + 1 + continue + if s.startswith("List[", i) and ( + i == 0 or not (s[i - 1].isalnum() or s[i - 1] in "`$") + ): + out.append("{") + stack.append("}") + i += 5 + continue + if c == "[": + stack.append("]") + elif c == "]": + c = stack.pop() if stack else c + out.append(c) + i += 1 + return "".join(out) + + +def norm(s: str) -> str: + return re.sub(r"\s+", "", braces(s)) + + +def load(path): + if not os.path.exists(path): + return {} + return {r["i"]: r for r in map(json.loads, open(path))} + + +# Symbols a cell assigns ("g = ...", "f[x_] := ...") and the symbols it uses. +ASSIGN_RE = re.compile(r"(? MAX_SECS: + return "skip", "Mathics3 takes %.0f s" % m["secs"] + if w1 is None or w1["status"] in ("crash", "timeout"): + return "run", "WMA has no result" + if w2 is not None and w1["out"] != w2["out"]: + return "run", "random" + if TIMING_RE.search(text): + return "run", "timing" + if norm(w1["out"]) != norm(m["out"]): + return "run", "differs from WMA" + extra = msg_names(m["msgs"]) - msg_names(w1["msgs"]) + if w2 is not None: + extra -= msg_names(w2["msgs"]) + if extra: + return "run", "messages WMA does not give: " + " ".join(sorted(extra)) + return "check", "" + + +def main(): + wdir, mdir = sys.argv[1], sys.argv[2] + xfail_path = sys.argv[3] if len(sys.argv) > 3 else os.path.join(HERE, "xfail.json") + xfails = json.load(open(xfail_path)) if os.path.exists(xfail_path) else {} + os.makedirs(OUT_DIR, exist_ok=True) + for nb in NOTEBOOKS: + cells = json.load(open(os.path.join(HERE, "cells", f"{nb}.json"))) + w1 = load(os.path.join(wdir, f"{nb}.s1.jsonl")) + w2 = load(os.path.join(wdir, f"{nb}.s2.jsonl")) + ms = load(os.path.join(mdir, f"{nb}.jsonl")) + nb_xfails = xfails.get(nb, {}) + data = [] + # symbol -> (the cell that last assigned it, that cell's "secs"; + # None when the cell is skipped) + assigned = {} + for i, cell in enumerate(cells, 1): + m = ms.get(i) + mode, reason = cell_mode(cell, w1.get(i), w2.get(i), m) + sets, uses = symbols(cell["in"]) + secs = m["secs"] if m is not None else None + for sym in sorted(uses): + j, needs = assigned.get(sym, (None, 0)) + if j is None: + continue + if needs is None: + if mode != "skip": + mode, reason = "skip", f"uses {sym}, which skipped cell {j} assigns" + elif secs is not None: + secs = max(secs, needs) + for sym in sets: + assigned[sym] = (i, None if mode == "skip" else secs) + entry = {"i": i, "section": cell["sec"].strip(), "in": cell["in"], "mode": mode} + if secs is not None: + entry["secs"] = secs + if mode == "check": + entry["expected"] = norm(w1[i]["out"]) + elif reason: + entry["reason"] = reason + if mode != "skip" and str(i) in nb_xfails: + entry["xfail"] = nb_xfails[str(i)] + data.append(entry) + with open(os.path.join(OUT_DIR, f"{nb}.json"), "w") as f: + json.dump(data, f, indent=1, ensure_ascii=False) + f.write("\n") + counts = {k: sum(e["mode"] == k for e in data) for k in ("check", "run", "skip")} + print(nb, counts, "xfail", sum("xfail" in e for e in data)) + + +if __name__ == "__main__": + main() diff --git a/book/mathics/Chapter3.jsonl b/book/mathics/Chapter3.jsonl new file mode 100644 index 0000000..ac27c29 --- /dev/null +++ b/book/mathics/Chapter3.jsonl @@ -0,0 +1,352 @@ +{"i": 1, "in": "HoldComplete[t = Wheel[10]; ShowGraph[t, Background -> Yellow]]", "status": "ok", "out": "", "msgs": [], "secs": 1.388, "tmo": 120} +{"i": 2, "in": "HoldComplete[Information[\"Edges\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Edges[g] gives the list of edges in g. Edges[g, All] gives the edges of g along with the graphics options associated with each edge. Edges[g, EdgeWeight] returns the list of edges in g along with their edge weights.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Edges\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 3, "in": "HoldComplete[Edges[t]]", "status": "ok", "out": "{{1, 10}, {2, 10}, {3, 10}, {4, 10}, {5, 10}, {6, 10}, {7, 10}, {8, 10}, {9, 10}, {1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {8, 9}, {1, 9}}", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 4, "in": "HoldComplete[Edges[t1 = SetGraphOptions[t, {{{1, 9}, {2, 3}, EdgeStyle -> Fat}}], All]]", "status": "ok", "out": "{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}, Rule[EdgeStyle, Fat]}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}, Rule[EdgeStyle, Fat]}}", "msgs": [], "secs": 0.207, "tmo": 120} +{"i": 5, "in": "HoldComplete[ShowGraph[t1]]", "status": "ok", "out": "", "msgs": [], "secs": 1.268, "tmo": 120} +{"i": 6, "in": "HoldComplete[Edges[t2 = SetGraphOptions[t, {{{1, 9}, {2, 3}, EdgeStyle -> Fat}}]]]", "status": "ok", "out": "{{1, 10}, {2, 10}, {3, 10}, {4, 10}, {5, 10}, {6, 10}, {7, 10}, {8, 10}, {9, 10}, {1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {8, 9}, {1, 9}}", "msgs": [], "secs": 0.632, "tmo": 120} +{"i": 7, "in": "HoldComplete[Edges[t, EdgeWeight]]", "status": "ok", "out": "{{{1, 10}, 1}, {{2, 10}, 1}, {{3, 10}, 1}, {{4, 10}, 1}, {{5, 10}, 1}, {{6, 10}, 1}, {{7, 10}, 1}, {{8, 10}, 1}, {{9, 10}, 1}, {{1, 2}, 1}, {{2, 3}, 1}, {{3, 4}, 1}, {{4, 5}, 1}, {{5, 6}, 1}, {{6, 7}, 1}, {{7, 8}, 1}, {{8, 9}, 1}, {{1, 9}, 1}}", "msgs": [], "secs": 0.046, "tmo": 120} +{"i": 8, "in": "HoldComplete[Information[\"SetEdgeWeights\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"SetEdgeWeights[g] assigns random real weights in the range [0, 1] to edges in g. SetEdgeWeights accepts options WeightingFunction and WeightRange. WeightingFunction can take values Random, RandomInteger, Euclidean, or LNorm[n] for nonnegative n, or any pure function that takes two arguments, each argument having the form {Integer, {Number, Number}}. WeightRange can be an integer range or a real range. The default value for WeightingFunction is Random and the default value for WeightRange is [0, 1]. SetEdgeWeights[g, e] assigns edge weights to the edges in the edge list e. SetEdgeWeights[g, w] assigns the weights in the weight list w to the edges of g. SetEdgeWeights[g, e, w] assigns the weights in the weight list w to the edges in edge list e.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`SetEdgeWeights\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`WeightingFunction, System`Random],System`Rule[DiscreteMath`CombinatoricaV201`WeightRange, {0,1}]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 9, "in": "HoldComplete[k = SetEdgeWeights[t, WeightingFunction -> RandomInteger, WeightRange -> {10, 20}]]", "status": "ok", "out": "Graph[{{{1, 10}, Rule[EdgeWeight, 16]}, {{2, 10}, Rule[EdgeWeight, 19]}, {{3, 10}, Rule[EdgeWeight, 17]}, {{4, 10}, Rule[EdgeWeight, 20]}, {{5, 10}, Rule[EdgeWeight, 17]}, {{6, 10}, Rule[EdgeWeight, 12]}, {{7, 10}, Rule[EdgeWeight, 20]}, {{8, 10}, Rule[EdgeWeight, 16]}, {{9, 10}, Rule[EdgeWeight, 12]}, {{1, 2}, Rule[EdgeWeight, 17]}, {{2, 3}, Rule[EdgeWeight, 12]}, {{3, 4}, Rule[EdgeWeight, 16]}, {{4, 5}, Rule[EdgeWeight, 19]}, {{5, 6}, Rule[EdgeWeight, 18]}, {{6, 7}, Rule[EdgeWeight, 15]}, {{7, 8}, Rule[EdgeWeight, 11]}, {{8, 9}, Rule[EdgeWeight, 17]}, {{1, 9}, Rule[EdgeWeight, 12]}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}, {{0, 0}}}]", "msgs": [], "secs": 0.51, "tmo": 120} +{"i": 10, "in": "HoldComplete[Edges[k, EdgeWeight]]", "status": "ok", "out": "{{{1, 10}, 16}, {{2, 10}, 19}, {{3, 10}, 17}, {{4, 10}, 20}, {{5, 10}, 17}, {{6, 10}, 12}, {{7, 10}, 20}, {{8, 10}, 16}, {{9, 10}, 12}, {{1, 2}, 17}, {{2, 3}, 12}, {{3, 4}, 16}, {{4, 5}, 19}, {{5, 6}, 18}, {{6, 7}, 15}, {{7, 8}, 11}, {{8, 9}, 17}, {{1, 9}, 12}}", "msgs": [], "secs": 0.046, "tmo": 120} +{"i": 11, "in": "HoldComplete[Information[\"Vertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Vertices[g] gives the embedding of graph g, that is, the coordinates of each vertex in the plane. Vertices[g, All] gives the embedding of the graph along with graphics options associated with each vertex.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Vertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 12, "in": "HoldComplete[Vertices[t]]", "status": "ok", "out": "{{76604, 64279}, {17365, 98481}, {-50000, 86603}, {-93969, 34202}, {-93969, -34202}, {-50000, -86603}, {17365, -98481}, {76604, -64279}, {100000, 0}, {0, 0}}", "msgs": [], "secs": 0.028, "tmo": 120} +{"i": 13, "in": "HoldComplete[Vertices[t3 = SetGraphOptions[t, {{2, 5, 9, VertexStyle -> Disc[Large]}}], All]]", "status": "ok", "out": "{{{76604, 64279}}, {{17365, 98481}, Rule[VertexStyle, Disc[Large]]}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}, Rule[VertexStyle, Disc[Large]]}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}, Rule[VertexStyle, Disc[Large]]}, {{0, 0}}}", "msgs": [], "secs": 0.157, "tmo": 120} +{"i": 14, "in": "HoldComplete[ShowGraph[t3]]", "status": "ok", "out": "", "msgs": [], "secs": 1.279, "tmo": 120} +{"i": 15, "in": "HoldComplete[Vertices[t4 = SetGraphOptions[t, {{2, 5, 9, VertexStyle -> Disc[Large]}}]]]", "status": "ok", "out": "{{76604, 64279}, {17365, 98481}, {-50000, 86603}, {-93969, 34202}, {-93969, -34202}, {-50000, -86603}, {17365, -98481}, {76604, -64279}, {100000, 0}, {0, 0}}", "msgs": [], "secs": 0.149, "tmo": 120} +{"i": 16, "in": "HoldComplete[ShowGraph[t4]]", "status": "ok", "out": "", "msgs": [], "secs": 1.236, "tmo": 120} +{"i": 17, "in": "HoldComplete[Information[\"V\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"V[g] gives the order or number of vertices of the graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`V\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 18, "in": "HoldComplete[V[t]]", "status": "ok", "out": "10", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 19, "in": "HoldComplete[V[DeleteVertices[t, {1}]]]", "status": "ok", "out": "9", "msgs": [], "secs": 0.121, "tmo": 120} +{"i": 20, "in": "HoldComplete[V[RandomGraph[20, 0.4]]]", "status": "ok", "out": "20", "msgs": [], "secs": 1.115, "tmo": 120} +{"i": 21, "in": "HoldComplete[Information[\"M\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Usage of Directed as a second argument to M is obsolete.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`M\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 22, "in": "HoldComplete[M[t]]", "status": "ok", "out": "18", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 23, "in": "HoldComplete[M[AddEdges[t, {{{1, 2}}}]]]", "status": "ok", "out": "19", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 24, "in": "HoldComplete[Information[\"ChangeVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ChangeVertices[g, v] replaces the vertices of graph g with the vertices in the given list v. v can have the form {{x1, y1}, {x2, y2}, ...} or the form {{{x1, y1}, gr1}, {{x2, y2}, gr2}, ...}, where {x1, y1}, {x2, y2}, ... are coordinates of points and gr1, gr2, ... are graphics information associated with vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ChangeVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 25, "in": "HoldComplete[s = SetGraphOptions[t, {{1, VertexColor -> Red, VertexStyle -> Disc[Large]}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.095, "tmo": 120} +{"i": 26, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.788, "tmo": 120} +{"i": 27, "in": "HoldComplete[s = ChangeVertices[t, Vertices[CompleteGraph[5, 5], All]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.154, "tmo": 120} +{"i": 28, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.403, "tmo": 120} +{"i": 29, "in": "HoldComplete[s = ChangeVertices[t, Vertices[CompleteGraph[5, 5]]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.163, "tmo": 120} +{"i": 30, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.389, "tmo": 120} +{"i": 31, "in": "HoldComplete[Information[\"ChangeEdges\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ChangeEdges[g, e] replaces the edges of graph g with the edges in e. e can have the form {{s1, t1}, {s2, t2}, ...} or the form { {{s1, t1}, gr1}, {{s2, t2}, gr2}, ...}, where {s1, t1}, {s2, t2}, ... are endpoints of edges and gr1, gr2, ... are graphics information associated with edges.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ChangeEdges\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 32, "in": "HoldComplete[s = ChangeEdges[t, Edges[CompleteGraph[10], All]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.089, "tmo": 120} +{"i": 33, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 2.487, "tmo": 120} +{"i": 34, "in": "HoldComplete[s = ChangeEdges[t, Edges[CompleteGraph[5, 5], All]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.156, "tmo": 120} +{"i": 35, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 2.184, "tmo": 120} +{"i": 36, "in": "HoldComplete[Information[\"AddEdges\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"AddEdges[g, edgeList] gives graph g with the new edges in edgeList added. edgeList can have the form {a, b} to add a single edge {a, b} or the form {{a, b}, {c, d}, ...}, to add edges {a, b}, {c, d}, ... or the form { {{a, b}, x}, {{c, d}, y}, ...}, where x and y can specify graphics information associated with {a, b} and {c, d}, respectively.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`AddEdges\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 37, "in": "HoldComplete[s = AddEdges[t, {{{1, 3}, EdgeStyle -> Fat, EdgeColor -> Red}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.04, "tmo": 120} +{"i": 38, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.347, "tmo": 120} +{"i": 39, "in": "HoldComplete[s = AddEdges[t, {{1, 2}, {2, 1}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.042, "tmo": 120} +{"i": 40, "in": "HoldComplete[ShowGraph[s, VertexNumber -> On, VertexNumberColor -> Blue]]", "status": "ok", "out": "", "msgs": [], "secs": 1.72, "tmo": 120} +{"i": 41, "in": "HoldComplete[ShowGraph[AddEdges[t, {1, 3}]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.384, "tmo": 120} +{"i": 42, "in": "HoldComplete[Information[\"DeleteEdges\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"DeleteEdges[g, edgeList] gives graph g minus the list of edges edgeList. If g is undirected, then the edges in edgeList are treated as undirected edges, or otherwise they are treated as directed edges. If there are multiple edges that qualify, then only one edge is deleted. DeleteEdges[g, edgeList, All] will delete all edges that qualify. If only one edge is to be deleted, then edgeList can have the form {s, t}, or otherwise it has the form {{s1, t1}, {s2, t2}, ...}.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`DeleteEdges\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 43, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.65, "tmo": 120} +{"i": 44, "in": "HoldComplete[ShowGraph[DeleteEdges[s, {{1, 2}}]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.225, "tmo": 120} +{"i": 45, "in": "HoldComplete[ShowGraph[DeleteEdges[s, {{1, 2}}, All]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.262, "tmo": 120} +{"i": 46, "in": "HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.038, "tmo": 120} +{"i": 47, "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.293, "tmo": 120} +{"i": 48, "in": "HoldComplete[ShowGraph[DeleteEdges[s, {{1, 2}}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.296, "tmo": 120} +{"i": 49, "in": "HoldComplete[ShowGraph[DeleteEdges[s, {{2, 1}}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.317, "tmo": 120} +{"i": 50, "in": "HoldComplete[ShowGraph[DeleteEdges[s, {1, 2}]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.007, "tmo": 120} +{"i": 51, "in": "HoldComplete[Information[\"ExactRandomGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ExactRandomGraph[n, e] constructs a random labeled graph of exactly e edges and n vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ExactRandomGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 52, "in": "HoldComplete[gt = Table[ExactRandomGraph[50, 100 + 10*i], {i, 25}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 53, "in": "HoldComplete[et = Table[Edges[gt[[i]]][[RandomKSubset[Range[100 + 10*i], 50 + 5*i]]], {i, 25}]; ]", "status": "msg", "out": "Null", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[1]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 3 of Edges[gt[[2]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[3]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[4]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[5]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 3 of Edges[gt[[6]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[7]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 4 of Edges[gt[[8]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[9]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 3 of Edges[gt[[10]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[11]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[12]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 5 of Edges[gt[[13]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[14]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 3 of Edges[gt[[15]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 3 of Edges[gt[[16]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[17]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[18]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 3 of Edges[gt[[19]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 4 of Edges[gt[[20]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[21]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[22]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 2 of Edges[gt[[23]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 4 of Edges[gt[[24]]] does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 3 of Edges[gt[[25]]] does not exist."], "secs": 16.647, "tmo": 120} +{"i": 54, "in": "HoldComplete[rt = Table[Timing[DeleteEdges[gt[[i]], et[[i]]]; ][[1]], {i, 25}]]", "status": "msg", "out": "{127, 115, 110, 124, 107, 107, 103, 126, 104, 101, 102, 123, 102, 101, 101, 120, 104, 108, 102, 118, 103, 104, 104, 123, 105}", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.072, "tmo": 120} +{"i": 55, "in": "HoldComplete[ListPlot[First /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{First[127], First[115], First[110], First[124], First[107], First[107], First[103], First[126], First[104], First[101], First[102], First[123], First[102], First[101], First[101], First[120], First[104], First[108], First[102], First[118], First[103], First[104], First[104], First[123], First[105]}, Rule[PlotJoined, True]]", "msgs": ["First::normal: Nonatomic expression expected at position 1 in First[0.00127048].", "First::normal: Nonatomic expression expected at position 1 in First[0.00114643].", "First::normal: Nonatomic expression expected at position 1 in First[0.00109757].", "First::normal: Nonatomic expression expected at position 1 in First[0.00123545].", "First::normal: Nonatomic expression expected at position 1 in First[0.00106941].", "First::normal: Nonatomic expression expected at position 1 in First[0.00107251].", "First::normal: Nonatomic expression expected at position 1 in First[0.00103453].", "First::normal: Nonatomic expression expected at position 1 in First[0.00126448].", "First::normal: Nonatomic expression expected at position 1 in First[0.00103846].", "First::normal: Nonatomic expression expected at position 1 in First[0.00101146].", "First::normal: Nonatomic expression expected at position 1 in First[0.00102393].", "First::normal: Nonatomic expression expected at position 1 in First[0.00123451].", "First::normal: Nonatomic expression expected at position 1 in First[0.00102259].", "First::normal: Nonatomic expression expected at position 1 in First[0.00100848].", "First::normal: Nonatomic expression expected at position 1 in First[0.00101383].", "First::normal: Nonatomic expression expected at position 1 in First[0.00120227].", "First::normal: Nonatomic expression expected at position 1 in First[0.00104341].", "First::normal: Nonatomic expression expected at position 1 in First[0.00108046].", "First::normal: Nonatomic expression expected at position 1 in First[0.00101815].", "First::normal: Nonatomic expression expected at position 1 in First[0.00118039].", "First::normal: Nonatomic expression expected at position 1 in First[0.00102853].", "First::normal: Nonatomic expression expected at position 1 in First[0.00104237].", "First::normal: Nonatomic expression expected at position 1 in First[0.0010399].", "First::normal: Nonatomic expression expected at position 1 in First[0.00122578].", "First::normal: Nonatomic expression expected at position 1 in First[0.00105245].", "First::normal: Nonatomic expression expected at position 1 in First[0.00127048].", "First::normal: Nonatomic expression expected at position 1 in First[0.00114643].", "First::normal: Nonatomic expression expected at position 1 in First[0.00109757].", "First::normal: Nonatomic expression expected at position 1 in First[0.00123545].", "First::normal: Nonatomic expression expected at position 1 in First[0.00106941].", "First::normal: Nonatomic expression expected at position 1 in First[0.00107251].", "First::normal: Nonatomic expression expected at position 1 in First[0.00103453].", "First::normal: Nonatomic expression expected at position 1 in First[0.00126448].", "First::normal: Nonatomic expression expected at position 1 in First[0.00103846].", "First::normal: Nonatomic expression expected at position 1 in First[0.00101146].", "First::normal: Nonatomic expression expected at position 1 in First[0.00102393].", "First::normal: Nonatomic expression expected at position 1 in First[0.00123451].", "First::normal: Nonatomic expression expected at position 1 in First[0.00102259].", "First::normal: Nonatomic expression expected at position 1 in First[0.00100848].", "First::normal: Nonatomic expression expected at position 1 in First[0.00101383].", "First::normal: Nonatomic expression expected at position 1 in First[0.00120227].", "First::normal: Nonatomic expression expected at position 1 in First[0.00104341].", "First::normal: Nonatomic expression expected at position 1 in First[0.00108046].", "First::normal: Nonatomic expression expected at position 1 in First[0.00101815].", "First::normal: Nonatomic expression expected at position 1 in First[0.00118039].", "First::normal: Nonatomic expression expected at position 1 in First[0.00102853].", "First::normal: Nonatomic expression expected at position 1 in First[0.00104237].", "First::normal: Nonatomic expression expected at position 1 in First[0.0010399].", "First::normal: Nonatomic expression expected at position 1 in First[0.00122578].", "First::normal: Nonatomic expression expected at position 1 in First[0.00105245].", "ListPlot::lpn: {First[0.00127048], First[0.00114643], First[0.00109757], First[0.00123545], First[0.00106941], First[0.00107251], First[0.00103453], First[0.00126448], First[0.00103846], First[0.00101146], First[0.00102393], First[0.00123451], First[0.00102259], First[0.00100848], First[0.00101383], First[0.00120227], First[0.00104341], First[0.00108046], First[0.00101815], First[0.00118039], First[0.00102853], First[0.00104237], First[0.0010399], First[0.00122578], First[0.00105245]} is not a list of numbers or pairs of numbers.", "First::normal: Nonatomic expression expected at position 1 in First[127].", "First::normal: Nonatomic expression expected at position 1 in First[115].", "First::normal: Nonatomic expression expected at position 1 in First[110].", "First::normal: Nonatomic expression expected at position 1 in First[124].", "First::normal: Nonatomic expression expected at position 1 in First[107].", "First::normal: Nonatomic expression expected at position 1 in First[107].", "First::normal: Nonatomic expression expected at position 1 in First[103].", "First::normal: Nonatomic expression expected at position 1 in First[126].", "First::normal: Nonatomic expression expected at position 1 in First[104].", "First::normal: Nonatomic expression expected at position 1 in First[101].", "First::normal: Nonatomic expression expected at position 1 in First[102].", "First::normal: Nonatomic expression expected at position 1 in First[123].", "First::normal: Nonatomic expression expected at position 1 in First[102].", "First::normal: Nonatomic expression expected at position 1 in First[101].", "First::normal: Nonatomic expression expected at position 1 in First[101].", "First::normal: Nonatomic expression expected at position 1 in First[120].", "First::normal: Nonatomic expression expected at position 1 in First[104].", "First::normal: Nonatomic expression expected at position 1 in First[108].", "First::normal: Nonatomic expression expected at position 1 in First[102].", "First::normal: Nonatomic expression expected at position 1 in First[118].", "First::normal: Nonatomic expression expected at position 1 in First[103].", "First::normal: Nonatomic expression expected at position 1 in First[104].", "First::normal: Nonatomic expression expected at position 1 in First[104].", "First::normal: Nonatomic expression expected at position 1 in First[123].", "First::normal: Nonatomic expression expected at position 1 in First[105].", "First::normal: Nonatomic expression expected at position 1 in First[127.].", "First::normal: Nonatomic expression expected at position 1 in First[115.].", "First::normal: Nonatomic expression expected at position 1 in First[110.].", "First::normal: Nonatomic expression expected at position 1 in First[124.].", "First::normal: Nonatomic expression expected at position 1 in First[107.].", "First::normal: Nonatomic expression expected at position 1 in First[107.].", "First::normal: Nonatomic expression expected at position 1 in First[103.].", "First::normal: Nonatomic expression expected at position 1 in First[126.].", "First::normal: Nonatomic expression expected at position 1 in First[104.].", "First::normal: Nonatomic expression expected at position 1 in First[101.].", "First::normal: Nonatomic expression expected at position 1 in First[102.].", "First::normal: Nonatomic expression expected at position 1 in First[123.].", "First::normal: Nonatomic expression expected at position 1 in First[102.].", "First::normal: Nonatomic expression expected at position 1 in First[101.].", "First::normal: Nonatomic expression expected at position 1 in First[101.].", "First::normal: Nonatomic expression expected at position 1 in First[120.].", "First::normal: Nonatomic expression expected at position 1 in First[104.].", "First::normal: Nonatomic expression expected at position 1 in First[108.].", "First::normal: Nonatomic expression expected at position 1 in First[102.].", "First::normal: Nonatomic expression expected at position 1 in First[118.].", "First::normal: Nonatomic expression expected at position 1 in First[103.].", "First::normal: Nonatomic expression expected at position 1 in First[104.].", "First::normal: Nonatomic expression expected at position 1 in First[104.].", "First::normal: Nonatomic expression expected at position 1 in First[123.].", "First::normal: Nonatomic expression expected at position 1 in First[105.].", "ListPlot::lpn: {First[127], First[115], First[110], First[124], First[107], First[107], First[103], First[126], First[104], First[101], First[102], First[123], First[102], First[101], First[101], First[120], First[104], First[108], First[102], First[118], First[103], First[104], First[104], First[123], First[105]} is not a list of numbers or pairs of numbers."], "secs": 0.09, "tmo": 120} +{"i": 56, "in": "HoldComplete[Fit[First /@ rt, {1, x, x^2}, x]]", "status": "msg", "out": "Fit[{First[127], First[115], First[110], First[124], First[107], First[107], First[103], First[126], First[104], First[101], First[102], First[123], First[102], First[101], First[101], First[120], First[104], First[108], First[102], First[118], First[103], First[104], First[104], First[123], First[105]}, {1, x, Power[x, 2]}, x]", "msgs": ["First::normal: Nonatomic expression expected at position 1 in First[0.00127048].", "First::normal: Nonatomic expression expected at position 1 in First[0.00114643].", "First::normal: Nonatomic expression expected at position 1 in First[0.00109757].", "First::normal: Nonatomic expression expected at position 1 in First[0.00123545].", "First::normal: Nonatomic expression expected at position 1 in First[0.00106941].", "First::normal: Nonatomic expression expected at position 1 in First[0.00107251].", "First::normal: Nonatomic expression expected at position 1 in First[0.00103453].", "First::normal: Nonatomic expression expected at position 1 in First[0.00126448].", "First::normal: Nonatomic expression expected at position 1 in First[0.00103846].", "First::normal: Nonatomic expression expected at position 1 in First[0.00101146].", "First::normal: Nonatomic expression expected at position 1 in First[0.00102393].", "First::normal: Nonatomic expression expected at position 1 in First[0.00123451].", "First::normal: Nonatomic expression expected at position 1 in First[0.00102259].", "First::normal: Nonatomic expression expected at position 1 in First[0.00100848].", "First::normal: Nonatomic expression expected at position 1 in First[0.00101383].", "First::normal: Nonatomic expression expected at position 1 in First[0.00120227].", "First::normal: Nonatomic expression expected at position 1 in First[0.00104341].", "First::normal: Nonatomic expression expected at position 1 in First[0.00108046].", "First::normal: Nonatomic expression expected at position 1 in First[0.00101815].", "First::normal: Nonatomic expression expected at position 1 in First[0.00118039].", "First::normal: Nonatomic expression expected at position 1 in First[0.00102853].", "First::normal: Nonatomic expression expected at position 1 in First[0.00104237].", "First::normal: Nonatomic expression expected at position 1 in First[0.0010399].", "First::normal: Nonatomic expression expected at position 1 in First[0.00122578].", "First::normal: Nonatomic expression expected at position 1 in First[0.00105245].", "First::normal: Nonatomic expression expected at position 1 in First[127].", "First::normal: Nonatomic expression expected at position 1 in First[115].", "First::normal: Nonatomic expression expected at position 1 in First[110].", "First::normal: Nonatomic expression expected at position 1 in First[124].", "First::normal: Nonatomic expression expected at position 1 in First[107].", "First::normal: Nonatomic expression expected at position 1 in First[107].", "First::normal: Nonatomic expression expected at position 1 in First[103].", "First::normal: Nonatomic expression expected at position 1 in First[126].", "First::normal: Nonatomic expression expected at position 1 in First[104].", "First::normal: Nonatomic expression expected at position 1 in First[101].", "First::normal: Nonatomic expression expected at position 1 in First[102].", "First::normal: Nonatomic expression expected at position 1 in First[123].", "First::normal: Nonatomic expression expected at position 1 in First[102].", "First::normal: Nonatomic expression expected at position 1 in First[101].", "First::normal: Nonatomic expression expected at position 1 in First[101].", "First::normal: Nonatomic expression expected at position 1 in First[120].", "First::normal: Nonatomic expression expected at position 1 in First[104].", "First::normal: Nonatomic expression expected at position 1 in First[108].", "First::normal: Nonatomic expression expected at position 1 in First[102].", "First::normal: Nonatomic expression expected at position 1 in First[118].", "First::normal: Nonatomic expression expected at position 1 in First[103].", "First::normal: Nonatomic expression expected at position 1 in First[104].", "First::normal: Nonatomic expression expected at position 1 in First[104].", "First::normal: Nonatomic expression expected at position 1 in First[123].", "First::normal: Nonatomic expression expected at position 1 in First[105]."], "secs": 0.057, "tmo": 120} +{"i": 57, "in": "HoldComplete[Information[\"AddVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"AddVertices[g, n] adds n disconnected vertices to graph g. AddVertices[g, vList] adds vertices in vList to g. vList contains embedding and graphics information and can have the form {x, y} or {{x1, y1}, {x2, y2}...} or the form {{{x1, y1}, g1}, {{x2, y2}, g2},...}, where {x, y}, {x1, y1}, and {x2, y2} are point coordinates and g1 and g2 are graphics information associated with vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`AddVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 58, "in": "HoldComplete[ShowGraph[AddVertices[t, {0.2, 0.4}]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.368, "tmo": 120} +{"i": 59, "in": "HoldComplete[ShowGraph[AddVertices[t, {{{0.2, 0.4}}}]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.361, "tmo": 120} +{"i": 60, "in": "HoldComplete[ShowGraph[AddVertices[t, {{{0.2, 0.4}, VertexColor -> Red}, {{0.3, 0.4}, VertexColor -> Green}}]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.392, "tmo": 120} +{"i": 61, "in": "HoldComplete[ShowGraph[AddVertices[t, 1]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.531, "tmo": 120} +{"i": 62, "in": "HoldComplete[ShowGraph[AddVertices[t, 10]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.894, "tmo": 120} +{"i": 63, "in": "HoldComplete[ShowGraph[AddVertices[t, Vertices[CompleteGraph[5, 5], All]]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.703, "tmo": 120} +{"i": 64, "in": "HoldComplete[Information[\"DeleteVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"DeleteVertices[g, vList] deletes vertices in vList from graph g. vList has the form {i, j, ...}, where i, j, ... are vertex numbers.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`DeleteVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 65, "in": "HoldComplete[s = DeleteVertices[t, {1, 3, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.102, "tmo": 120} +{"i": 66, "in": "HoldComplete[p1 = ShowGraph[t, VertexNumber -> On, Graphics]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.333, "tmo": 120} +{"i": 67, "in": "HoldComplete[p2 = ShowGraph[s, VertexNumber -> On, Graphics]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.638, "tmo": 120} +{"i": 68, "in": "HoldComplete[Show[GraphicsArray[{p1, p2}], Background -> LightBlue, ImageSize -> 500]]", "status": "ok", "out": "", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 69, "in": "HoldComplete[ShowGraph[DeleteVertices[DeleteVertices[DeleteVertices[t, {1}], {3}], {10}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.262, "tmo": 120} +{"i": 70, "in": "HoldComplete[Information[\"Spectrum\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Spectrum[g] gives the eigenvalues of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Spectrum\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 71, "in": "HoldComplete[Spectrum[t]]", "status": "ok", "out": "{-1, -1, Plus[1, Power[10, Rational[1, 2]]], Plus[1, Times[-1, Power[10, Rational[1, 2]]]], Plus[Times[-3, Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[-1, 3]]], Times[Rational[-1, 3], Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[1, 3]]]], Plus[Times[-3, Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[-1, 3]]], Times[Rational[-1, 3], Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[1, 3]]]], Plus[Times[-3, Power[Plus[Rational[-1, 2], Times[Complex[0, Rational[-1, 2]], Power[3, Rational[1, 2]]]], -1], Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[-1, 3]]], Times[Rational[-1, 3], Plus[Rational[-1, 2], Times[Complex[0, Rational[-1, 2]], Power[3, Rational[1, 2]]]], Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[1, 3]]]], Plus[Times[-3, Power[Plus[Rational[-1, 2], Times[Complex[0, Rational[-1, 2]], Power[3, Rational[1, 2]]]], -1], Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[-1, 3]]], Times[Rational[-1, 3], Plus[Rational[-1, 2], Times[Complex[0, Rational[-1, 2]], Power[3, Rational[1, 2]]]], Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[1, 3]]]], Plus[Times[-3, Power[Plus[Rational[-1, 2], Times[Complex[0, Rational[1, 2]], Power[3, Rational[1, 2]]]], -1], Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[-1, 3]]], Times[Rational[-1, 3], Plus[Rational[-1, 2], Times[Complex[0, Rational[1, 2]], Power[3, Rational[1, 2]]]], Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[1, 3]]]], Plus[Times[-3, Power[Plus[Rational[-1, 2], Times[Complex[0, Rational[1, 2]], Power[3, Rational[1, 2]]]], -1], Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[-1, 3]]], Times[Rational[-1, 3], Plus[Rational[-1, 2], Times[Complex[0, Rational[1, 2]], Power[3, Rational[1, 2]]]], Power[Plus[Rational[27, 2], Times[Complex[0, Rational[27, 2]], Power[3, Rational[1, 2]]]], Rational[1, 3]]]]}", "msgs": [], "secs": 2.776, "tmo": 120} +{"i": 72, "in": "HoldComplete[Spectrum[GraphUnion[Cycle[4], CompleteGraph[1]]]]", "status": "ok", "out": "{-2, 2, 0, 0, 0}", "msgs": [], "secs": 0.181, "tmo": 120} +{"i": 73, "in": "HoldComplete[Spectrum[Star[5]]]", "status": "ok", "out": "{-2, 2, 0, 0, 0}", "msgs": [], "secs": 0.073, "tmo": 120} +{"i": 74, "in": "HoldComplete[Spectrum[CompleteGraph[3, 4]]]", "status": "ok", "out": "{Times[-2, Power[3, Rational[1, 2]]], Times[2, Power[3, Rational[1, 2]]], 0, 0, 0, 0, 0}", "msgs": [], "secs": 0.188, "tmo": 120} +{"i": 75, "in": "HoldComplete[Information[\"ToAdjacencyLists\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ToAdjacencyLists[g] constructs an adjacency list representation for graph g. It allows an option called Type that takes on values All or Simple. Type -> All is the default setting of the option, and this permits self-loops and multiple edges to be reported in the adjacency lists. Type -> Simple deletes self-loops and multiple edges from the constructed adjacency lists. ToAdjacencyLists[g, EdgeWeight] returns an adjacency list representation along with edge weights.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ToAdjacencyLists\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, System`All]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 76, "in": "HoldComplete[t = AddEdges[t, {{{1, 1}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 77, "in": "HoldComplete[t = AddEdges[t, {{{1, 9}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.034, "tmo": 120} +{"i": 78, "in": "HoldComplete[t = AddEdges[t, {{{2, 3}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 79, "in": "HoldComplete[ShowGraph[t, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.833, "tmo": 120} +{"i": 80, "in": "HoldComplete[l0 = ToAdjacencyLists[t]]", "status": "ok", "out": "{{1, 2, 9, 9, 10}, {1, 3, 3, 10}, {2, 2, 4, 10}, {3, 5, 10}, {4, 6, 10}, {5, 7, 10}, {6, 8, 10}, {7, 9, 10}, {1, 1, 8, 10}, {1, 2, 3, 4, 5, 6, 7, 8, 9}}", "msgs": [], "secs": 0.078, "tmo": 120} +{"i": 81, "in": "HoldComplete[ToAdjacencyLists[t, EdgeWeight]]", "status": "ok", "out": "{{{1, 1}, {2, 1}, {9, 1}, {9, 1}, {10, 1}}, {{1, 1}, {3, 1}, {3, 1}, {10, 1}}, {{2, 1}, {2, 1}, {4, 1}, {10, 1}}, {{3, 1}, {5, 1}, {10, 1}}, {{4, 1}, {6, 1}, {10, 1}}, {{5, 1}, {7, 1}, {10, 1}}, {{6, 1}, {8, 1}, {10, 1}}, {{7, 1}, {9, 1}, {10, 1}}, {{1, 1}, {1, 1}, {8, 1}, {10, 1}}, {{1, 1}, {2, 1}, {3, 1}, {4, 1}, {5, 1}, {6, 1}, {7, 1}, {8, 1}, {9, 1}}}", "msgs": [], "secs": 0.189, "tmo": 120} +{"i": 82, "in": "HoldComplete[ToAdjacencyLists[SetEdgeWeights[t, WeightingFunction -> Random, WeightRange -> {2, 3}], EdgeWeight]]", "status": "ok", "out": "{{{1, 260378}, {2, 243103}, {9, 237823}, {9, 237823}, {10, 284356}}, {{1, 243103}, {3, 290580}, {3, 290580}, {10, 287785}}, {{2, 290580}, {2, 290580}, {4, 281980}, {10, 285232}}, {{3, 281980}, {5, 200761}, {10, 275592}}, {{4, 200761}, {6, 201955}, {10, 257364}}, {{5, 201955}, {7, 274935}, {10, 229930}}, {{6, 274935}, {8, 250707}, {10, 205356}}, {{7, 250707}, {9, 280461}, {10, 238354}}, {{1, 237823}, {1, 237823}, {8, 280461}, {10, 269497}}, {{1, 284356}, {2, 287785}, {3, 285232}, {4, 275592}, {5, 257364}, {6, 229930}, {7, 205356}, {8, 238354}, {9, 269497}}}", "msgs": [], "secs": 0.838, "tmo": 120} +{"i": 83, "in": "HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.038, "tmo": 120} +{"i": 84, "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.624, "tmo": 120} +{"i": 85, "in": "HoldComplete[ToAdjacencyLists[s]]", "status": "ok", "out": "{{1, 2, 9, 9, 10}, {3, 3, 10}, {4, 10}, {5, 10}, {6, 10}, {7, 10}, {8, 10}, {9, 10}, {10}, {}}", "msgs": [], "secs": 0.059, "tmo": 120} +{"i": 86, "in": "HoldComplete[l3 = ToAdjacencyLists[t, Type -> Simple]]", "status": "ok", "out": "{{2, 9, 10}, {1, 3, 10}, {2, 4, 10}, {3, 5, 10}, {4, 6, 10}, {5, 7, 10}, {6, 8, 10}, {7, 9, 10}, {1, 8, 10}, {1, 2, 3, 4, 5, 6, 7, 8, 9}}", "msgs": [], "secs": 0.126, "tmo": 120} +{"i": 87, "in": "HoldComplete[Information[\"FromAdjacencyLists\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"FromAdjacencyLists[l] constructs an edge list representation for a graph from the given adjacency lists l, using a circular embedding. FromAdjacencyLists[l, v] uses v as the embedding for the resulting graph. An option called Type that takes on the values Directed or Undirected can be used to affect the type of graph produced. The default value of Type is Undirected.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`FromAdjacencyLists\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 88, "in": "HoldComplete[ShowGraph[s = FromAdjacencyLists[l0, Vertices[t]]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.913, "tmo": 120} +{"i": 89, "in": "HoldComplete[Edges[s]]", "status": "ok", "out": "{{1, 1}, {1, 2}, {1, 9}, {1, 9}, {1, 10}, {2, 3}, {2, 3}, {2, 10}, {3, 4}, {3, 10}, {4, 5}, {4, 10}, {5, 6}, {5, 10}, {6, 7}, {6, 10}, {7, 8}, {7, 10}, {8, 9}, {8, 10}, {9, 10}}", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 90, "in": "HoldComplete[ShowGraph[FromAdjacencyLists[l0]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.771, "tmo": 120} +{"i": 91, "in": "HoldComplete[ShowGraph[FromAdjacencyLists[ToAdjacencyLists[Star[10]], Type -> Directed]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.426, "tmo": 120} +{"i": 92, "in": "HoldComplete[Information[\"ToOrderedPairs\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ToOrderedPairs[g] constructs a list of ordered pairs representing the edges of the graph g. If g is undirected each edge is interpreted as two ordered pairs. An option called Type that takes on values Simple or All can be used to affect the constructed representation. Type -> Simple forces the removal of multiple edges and self-loops. Type -> All keeps all information and is the default option.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ToOrderedPairs\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, System`All]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 93, "in": "HoldComplete[l0 = ToOrderedPairs[t]]", "status": "ok", "out": "{{10, 1}, {10, 2}, {10, 3}, {10, 4}, {10, 5}, {10, 6}, {10, 7}, {10, 8}, {10, 9}, {2, 1}, {3, 2}, {4, 3}, {5, 4}, {6, 5}, {7, 6}, {8, 7}, {9, 8}, {9, 1}, {9, 1}, {3, 2}, {1, 10}, {2, 10}, {3, 10}, {4, 10}, {5, 10}, {6, 10}, {7, 10}, {8, 10}, {9, 10}, {1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {8, 9}, {1, 9}, {1, 1}, {1, 9}, {2, 3}}", "msgs": [], "secs": 0.045, "tmo": 120} +{"i": 94, "in": "HoldComplete[l1 = ToOrderedPairs[t, Type -> Simple]]", "status": "ok", "out": "{{1, 2}, {1, 9}, {1, 10}, {2, 1}, {2, 3}, {2, 10}, {3, 2}, {3, 4}, {3, 10}, {4, 3}, {4, 5}, {4, 10}, {5, 4}, {5, 6}, {5, 10}, {6, 5}, {6, 7}, {6, 10}, {7, 6}, {7, 8}, {7, 10}, {8, 7}, {8, 9}, {8, 10}, {9, 1}, {9, 8}, {9, 10}, {10, 1}, {10, 2}, {10, 3}, {10, 4}, {10, 5}, {10, 6}, {10, 7}, {10, 8}, {10, 9}}", "msgs": [], "secs": 0.07, "tmo": 120} +{"i": 95, "in": "HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.038, "tmo": 120} +{"i": 96, "in": "HoldComplete[ToOrderedPairs[s]]", "status": "ok", "out": "{{1, 10}, {2, 10}, {3, 10}, {4, 10}, {5, 10}, {6, 10}, {7, 10}, {8, 10}, {9, 10}, {1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {8, 9}, {1, 9}, {1, 1}, {1, 9}, {2, 3}}", "msgs": [], "secs": 0.03, "tmo": 120} +{"i": 97, "in": "HoldComplete[Information[\"FromOrderedPairs\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"FromOrderedPairs[l] constructs an edge list representation from a list of ordered pairs l, using a circular embedding. FromOrderedPairs[l, v] uses v as the embedding for the resulting graph. The option Type that takes on values Undirected or Directed can be used to affect the kind of graph produced. The default value of Type is Directed. Type -> Undirected results in the underlying undirected graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`FromOrderedPairs\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Directed]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 98, "in": "HoldComplete[s = FromOrderedPairs[l0]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.046, "tmo": 120} +{"i": 99, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 2.753, "tmo": 120} +{"i": 100, "in": "HoldComplete[s = FromOrderedPairs[l0, Type -> Undirected]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.045, "tmo": 120} +{"i": 101, "in": "HoldComplete[l0]", "status": "ok", "out": "{{10, 1}, {10, 2}, {10, 3}, {10, 4}, {10, 5}, {10, 6}, {10, 7}, {10, 8}, {10, 9}, {2, 1}, {3, 2}, {4, 3}, {5, 4}, {6, 5}, {7, 6}, {8, 7}, {9, 8}, {9, 1}, {9, 1}, {3, 2}, {1, 10}, {2, 10}, {3, 10}, {4, 10}, {5, 10}, {6, 10}, {7, 10}, {8, 10}, {9, 10}, {1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {8, 9}, {1, 9}, {1, 1}, {1, 9}, {2, 3}}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 102, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 2.245, "tmo": 120} +{"i": 103, "in": "HoldComplete[ShowGraph[FromOrderedPairs[l0, Vertices[CompleteGraph[5, 5]]]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.361, "tmo": 120} +{"i": 104, "in": "HoldComplete[Information[\"ToUnorderedPairs\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ToUnorderedPairs[g] constructs a list of unordered pairs representing the edges of graph g. Each edge, directed or undirected, results in a pair in which the smaller vertex appears first. An option called Type that takes on values All or Simple can be used, and All is the default value. Type -> Simple ignores multiple edges and self-loops in g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ToUnorderedPairs\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, System`All]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 105, "in": "HoldComplete[t]", "status": "ok", "out": "Graph[{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}}, {{1, 1}}, {{1, 9}}, {{2, 3}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}, {{0, 0}}}]", "msgs": [], "secs": 0.028, "tmo": 120} +{"i": 106, "in": "HoldComplete[ToUnorderedPairs[t]]", "status": "ok", "out": "{{1, 10}, {2, 10}, {3, 10}, {4, 10}, {5, 10}, {6, 10}, {7, 10}, {8, 10}, {9, 10}, {1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {8, 9}, {1, 9}, {1, 1}, {1, 9}, {2, 3}}", "msgs": [], "secs": 0.031, "tmo": 120} +{"i": 107, "in": "HoldComplete[ToUnorderedPairs[t, Type -> NoSelfLoops]]", "status": "ok", "out": "{{1, 2}, {1, 9}, {1, 10}, {2, 3}, {2, 10}, {3, 4}, {3, 10}, {4, 5}, {4, 10}, {5, 6}, {5, 10}, {6, 7}, {6, 10}, {7, 8}, {7, 10}, {8, 9}, {8, 10}, {9, 10}}", "msgs": [], "secs": 0.052, "tmo": 120} +{"i": 108, "in": "HoldComplete[ToUnorderedPairs[t, Type -> NoMultipleEdges]]", "status": "ok", "out": "{{1, 2}, {1, 9}, {1, 10}, {2, 3}, {2, 10}, {3, 4}, {3, 10}, {4, 5}, {4, 10}, {5, 6}, {5, 10}, {6, 7}, {6, 10}, {7, 8}, {7, 10}, {8, 9}, {8, 10}, {9, 10}}", "msgs": [], "secs": 0.047, "tmo": 120} +{"i": 109, "in": "HoldComplete[ToUnorderedPairs[t, Type -> Simple]]", "status": "ok", "out": "{{1, 2}, {1, 9}, {1, 10}, {2, 3}, {2, 10}, {3, 4}, {3, 10}, {4, 5}, {4, 10}, {5, 6}, {5, 10}, {6, 7}, {6, 10}, {7, 8}, {7, 10}, {8, 9}, {8, 10}, {9, 10}}", "msgs": [], "secs": 0.05, "tmo": 120} +{"i": 110, "in": "HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.042, "tmo": 120} +{"i": 111, "in": "HoldComplete[ToUnorderedPairs[s]]", "status": "ok", "out": "{{1, 10}, {2, 10}, {3, 10}, {4, 10}, {5, 10}, {6, 10}, {7, 10}, {8, 10}, {9, 10}, {1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {8, 9}, {1, 9}, {1, 1}, {1, 9}, {2, 3}}", "msgs": [], "secs": 0.032, "tmo": 120} +{"i": 112, "in": "HoldComplete[Information[\"FromUnorderedPairs\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"FromUnorderedPairs[l] constructs an edge list representation from a list of unordered pairs l, using a circular embedding. FromUnorderedPairs[l, v] uses v as the embedding for the resulting graph. The option Type that takes on values Undirected or Directed can be used to affect the kind of graph produced.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`FromUnorderedPairs\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 113, "in": "HoldComplete[l0 = ToUnorderedPairs[t]]", "status": "ok", "out": "{{1, 10}, {2, 10}, {3, 10}, {4, 10}, {5, 10}, {6, 10}, {7, 10}, {8, 10}, {9, 10}, {1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {8, 9}, {1, 9}, {1, 1}, {1, 9}, {2, 3}}", "msgs": [], "secs": 0.028, "tmo": 120} +{"i": 114, "in": "HoldComplete[ShowGraph[FromUnorderedPairs[l0]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.684, "tmo": 120} +{"i": 115, "in": "HoldComplete[ShowGraph[FromUnorderedPairs[l0, Type -> Directed]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.819, "tmo": 120} +{"i": 116, "in": "HoldComplete[Information[\"ToAdjacencyMatrix\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ToAdjacencyMatrix[g] constructs an adjacency matrix representation for graph g. An option Type that takes on values All or Simple can be used to affect the matrix constructed. Type -> All is the default, and Type -> Simple ignores any self-loops or multiple edges g may have. ToAdjacencyMatrix[g, EdgeWeight] returns edge weights as entries of the adjacency matrix with Infinity representing missing edges.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ToAdjacencyMatrix\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, System`All]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.013, "tmo": 120} +{"i": 117, "in": "HoldComplete[MatrixForm[ToAdjacencyMatrix[t]]]", "status": "ok", "out": "MatrixForm[{{1, 1, 0, 0, 0, 0, 0, 0, 2, 1}, {1, 0, 2, 0, 0, 0, 0, 0, 0, 1}, {0, 2, 0, 1, 0, 0, 0, 0, 0, 1}, {0, 0, 1, 0, 1, 0, 0, 0, 0, 1}, {0, 0, 0, 1, 0, 1, 0, 0, 0, 1}, {0, 0, 0, 0, 1, 0, 1, 0, 0, 1}, {0, 0, 0, 0, 0, 1, 0, 1, 0, 1}, {0, 0, 0, 0, 0, 0, 1, 0, 1, 1}, {2, 0, 0, 0, 0, 0, 0, 1, 0, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 0}}]", "msgs": [], "secs": 0.132, "tmo": 120} +{"i": 118, "in": "HoldComplete[MatrixForm[ToAdjacencyMatrix[t, Type -> Simple]]]", "status": "ok", "out": "MatrixForm[{{0, 1, 0, 0, 0, 0, 0, 0, 1, 1}, {1, 0, 1, 0, 0, 0, 0, 0, 0, 1}, {0, 1, 0, 1, 0, 0, 0, 0, 0, 1}, {0, 0, 1, 0, 1, 0, 0, 0, 0, 1}, {0, 0, 0, 1, 0, 1, 0, 0, 0, 1}, {0, 0, 0, 0, 1, 0, 1, 0, 0, 1}, {0, 0, 0, 0, 0, 1, 0, 1, 0, 1}, {0, 0, 0, 0, 0, 0, 1, 0, 1, 1}, {1, 0, 0, 0, 0, 0, 0, 1, 0, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 0}}]", "msgs": [], "secs": 0.16, "tmo": 120} +{"i": 119, "in": "HoldComplete[k = SetEdgeWeights[RandomGraph[10, 0.3], WeightingFunction -> Euclidean]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.844, "tmo": 120} +{"i": 120, "in": "HoldComplete[TableForm[ToAdjacencyMatrix[k, EdgeWeight]]]", "status": "ok", "out": "TableForm[{{DirectedInfinity[1], 61803, 117557, 161803, DirectedInfinity[1], 200000, 190211, 161803, DirectedInfinity[1], DirectedInfinity[1]}, {61803, DirectedInfinity[1], DirectedInfinity[1], 117557, DirectedInfinity[1], 190211, 200000, DirectedInfinity[1], DirectedInfinity[1], 117557}, {117557, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 161803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]}, {161803, 117557, DirectedInfinity[1], DirectedInfinity[1], 61803, DirectedInfinity[1], DirectedInfinity[1], 190211, DirectedInfinity[1], 190211}, {DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 61803, DirectedInfinity[1], 61803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 200000}, {200000, 190211, 161803, DirectedInfinity[1], 61803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]}, {190211, 200000, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 161803}, {161803, DirectedInfinity[1], DirectedInfinity[1], 190211, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]}, {DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]}, {DirectedInfinity[1], 117557, DirectedInfinity[1], 190211, 200000, DirectedInfinity[1], 161803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]}}]", "msgs": [], "secs": 0.235, "tmo": 120} +{"i": 121, "in": "HoldComplete[g = GraphUnion[CompleteGraph[2], CompleteGraph[2], CompleteGraph[2]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.19, "tmo": 120} +{"i": 122, "in": "HoldComplete[ToAdjacencyMatrix[g, EdgeWeight]]", "status": "ok", "out": "{{DirectedInfinity[1], 1, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]}, {1, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]}, {DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 1, DirectedInfinity[1], DirectedInfinity[1]}, {DirectedInfinity[1], DirectedInfinity[1], 1, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]}, {DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 1}, {DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 1, DirectedInfinity[1]}}", "msgs": [], "secs": 0.082, "tmo": 120} +{"i": 123, "in": "HoldComplete[MatrixForm[ToAdjacencyMatrix[g]]]", "status": "ok", "out": "MatrixForm[{{0, 1, 0, 0, 0, 0}, {1, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 1}, {0, 0, 0, 0, 1, 0}}]", "msgs": [], "secs": 0.059, "tmo": 120} +{"i": 124, "in": "HoldComplete[Information[\"FromAdjacencyMatrix\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"FromAdjacencyMatrix[m] constructs a graph from a given adjacency matrix m, using a circular embedding. FromAdjacencyMatrix[m, v] uses v as the embedding for the resulting graph. An option Type that takes on the values Directed or Undirected can be used to affect the type of graph produced. The default value of Type is Undirected. FromAdjacencyMatrix[m, EdgeWeight] interprets the entries in m as edge weights, with infinity representing missing edges, and from this constructs a weighted graph using a circular embedding. FromAdjacencyMatrix[m, v, EdgeWeight] uses v as the embedding for the resulting graph. The option Type can be used along with the EdgeWeight tag.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`FromAdjacencyMatrix\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 125, "in": "HoldComplete[tg = FromAdjacencyMatrix[ToAdjacencyMatrix[t]]]", "status": "ok", "out": "Graph[{{{1, 1}}, {{1, 2}}, {{1, 9}}, {{1, 9}}, {{1, 10}}, {{2, 3}}, {{2, 3}}, {{2, 10}}, {{3, 4}}, {{3, 10}}, {{4, 5}}, {{4, 10}}, {{5, 6}}, {{5, 10}}, {{6, 7}}, {{6, 10}}, {{7, 8}}, {{7, 10}}, {{8, 9}}, {{8, 10}}, {{9, 10}}}, {{{80902, 58779}}, {{30902, 95106}}, {{-30902, 95106}}, {{-80902, 58779}}, {{-100000, 0}}, {{-80902, -58779}}, {{-30902, -95106}}, {{30902, -95106}}, {{80902, -58779}}, {{100000, 0}}}]", "msgs": [], "secs": 1.305, "tmo": 120} +{"i": 126, "in": "HoldComplete[ShowGraph[tg]]", "status": "ok", "out": "", "msgs": [], "secs": 1.601, "tmo": 120} +{"i": 127, "in": "HoldComplete[Information[\"PseudographQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"PseudographQ[g] yields True if graph g is a pseudograph, meaning it contains self-loops.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`PseudographQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.013, "tmo": 120} +{"i": 128, "in": "HoldComplete[PseudographQ[t]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.033, "tmo": 120} +{"i": 129, "in": "HoldComplete[PseudographQ[DeleteEdges[t, {{1, 1}}]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.141, "tmo": 120} +{"i": 130, "in": "HoldComplete[Information[\"UnweightedQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"UnweightedQ[g] yields True if all edge weights are 1 and False otherwise.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`UnweightedQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 131, "in": "HoldComplete[UnweightedQ[t]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.081, "tmo": 120} +{"i": 132, "in": "HoldComplete[UnweightedQ[SetEdgeWeights[t, WeightingFunction -> Random]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.712, "tmo": 120} +{"i": 133, "in": "HoldComplete[Information[\"SimpleQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"SimpleQ[g] yields True if g is a simple graph, meaning it has no multiple edges and contains no self-loops.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`SimpleQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 134, "in": "HoldComplete[SimpleQ[t]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 135, "in": "HoldComplete[s = RemoveSelfLoops[t]; SimpleQ[s]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.071, "tmo": 120} +{"i": 136, "in": "HoldComplete[s = RemoveMultipleEdges[s]; SimpleQ[s]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.086, "tmo": 120} +{"i": 137, "in": "HoldComplete[Information[\"RemoveSelfLoops\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RemoveSelfLoops[g] returns the graph obtained by deleting self-loops in g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RemoveSelfLoops\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.013, "tmo": 120} +{"i": 138, "in": "HoldComplete[s = AddEdges[t, {{{2, 2}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.041, "tmo": 120} +{"i": 139, "in": "HoldComplete[PseudographQ[s]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 140, "in": "HoldComplete[PseudographQ[RemoveSelfLoops[s]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.08, "tmo": 120} +{"i": 141, "in": "HoldComplete[Information[\"RemoveMultipleEdges\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RemoveMultipleEdges[g] returns the graph obtained by deleting multiple edges from g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RemoveMultipleEdges\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 142, "in": "HoldComplete[s = SetGraphOptions[Wheel[10], {{{1, 10}, {2, 10}, EdgeStyle -> Fat, EdgeColor -> Green}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.258, "tmo": 120} +{"i": 143, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.342, "tmo": 120} +{"i": 144, "in": "HoldComplete[s = AddEdges[s, {{{1, 10}}, {{1, 10}}, {{2, 10}}, {{3, 4}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.043, "tmo": 120} +{"i": 145, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 2.338, "tmo": 120} +{"i": 146, "in": "HoldComplete[M[s]]", "status": "ok", "out": "22", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 147, "in": "HoldComplete[ss = RemoveMultipleEdges[s]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.061, "tmo": 120} +{"i": 148, "in": "HoldComplete[M[ss]]", "status": "ok", "out": "18", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 149, "in": "HoldComplete[ShowGraph[ss]]", "status": "ok", "out": "", "msgs": [], "secs": 1.281, "tmo": 120} +{"i": 150, "in": "HoldComplete[Information[\"EmptyQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"EmptyQ[g] yields True if graph g contains no edges.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`EmptyQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 151, "in": "HoldComplete[EmptyQ[DeleteEdges[CompleteGraph[2], {{1, 2}}]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.039, "tmo": 120} +{"i": 152, "in": "HoldComplete[EmptyQ[t]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 153, "in": "HoldComplete[Information[\"CompleteQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"CompleteQ[g] yields True if graph g is complete. This means that between any pair of vertices there is an undirected edge or two directed edges going in opposite directions.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`CompleteQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 154, "in": "HoldComplete[CompleteQ[t]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.04, "tmo": 120} +{"i": 155, "in": "HoldComplete[CompleteQ[CompleteGraph[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.152, "tmo": 120} +{"i": 156, "in": "HoldComplete[CompleteQ[s = DeleteEdges[CompleteGraph[3], {{1, 2}}]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.087, "tmo": 120} +{"i": 157, "in": "HoldComplete[s = AddEdges[EmptyGraph[3], {{{1, 2}}, {{1, 3}}, {{2, 3}}, {{2, 1}}, {{3, 1}}, {{3, 2}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.042, "tmo": 120} +{"i": 158, "in": "HoldComplete[CompleteQ[s]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 159, "in": "HoldComplete[s = SetGraphOptions[s, EdgeDirection -> On]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 160, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.119, "tmo": 120} +{"i": 161, "in": "HoldComplete[CompleteQ[s]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.021, "tmo": 120} +{"i": 162, "in": "HoldComplete[s = AddEdges[SetGraphOptions[EmptyGraph[3], EdgeDirection -> On], {{{1, 2}}, {{1, 3}}, {{2, 3}}, {{2, 1}}, {{3, 1}}, {{3, 2}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.062, "tmo": 120} +{"i": 163, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 0.506, "tmo": 120} +{"i": 164, "in": "HoldComplete[CompleteQ[s]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.026, "tmo": 120} +{"i": 165, "in": "HoldComplete[Information[\"MultipleEdgesQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"MultipleEdgesQ[g] yields True if g has multiple edges between pairs of vertices. It yields False otherwise.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`MultipleEdgesQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 166, "in": "HoldComplete[Sort[Edges[t]]]", "status": "ok", "out": "{{1, 1}, {1, 2}, {1, 9}, {1, 9}, {1, 10}, {2, 3}, {2, 3}, {2, 10}, {3, 4}, {3, 10}, {4, 5}, {4, 10}, {5, 6}, {5, 10}, {6, 7}, {6, 10}, {7, 8}, {7, 10}, {8, 9}, {8, 10}, {9, 10}}", "msgs": [], "secs": 0.013, "tmo": 120} +{"i": 167, "in": "HoldComplete[MultipleEdgesQ[t]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 168, "in": "HoldComplete[MultipleEdgesQ[DeleteEdges[t, {{2, 3}, {1, 9}}]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.125, "tmo": 120} +{"i": 169, "in": "HoldComplete[s = AddEdges[t, {{{2, 3}}}]; MultipleEdgesQ[DeleteEdges[s, {{2, 3}, {1, 9}}]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.155, "tmo": 120} +{"i": 170, "in": "HoldComplete[MultipleEdgesQ[DeleteEdges[s, {{2, 3}, {1, 9}}, All]]]", "status": "ok", "out": "False", "msgs": [], "secs": 1.187, "tmo": 120} +{"i": 171, "in": "HoldComplete[Information[\"InduceSubgraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"InduceSubgraph[g, s] constructs the subgraph of graph g induced by the list of vertices s.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`InduceSubgraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 172, "in": "HoldComplete[p1 = ShowGraph[t, Background -> HotPink, VertexNumber -> Text[{0.02, 0.02}, TextStyle -> {FontSize -> 12}], Graphics]; p2 = ShowGraph[InduceSubgraph[t, {1, 9, 8, 10}], Background -> HotPink, VertexNumber -> Text[{0.02, 0.02}, TextStyle -> {FontSize -> 12}], Graphics]]", "status": "ok", "out": "", "msgs": [], "secs": 2.77, "tmo": 120} +{"i": 173, "in": "HoldComplete[Show[GraphicsArray[{p1, p2}], Background -> Yellow, ImageSize -> 600]]", "status": "ok", "out": "", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 174, "in": "HoldComplete[ShowGraph[InduceSubgraph[t, {1, 9, 8, 10, 5}]]]", "status": "ok", "out": "", "msgs": [], "secs": 0.95, "tmo": 120} +{"i": 175, "in": "HoldComplete[ShowGraph[InduceSubgraph[t, {1, 9, 8, 10, 5, 4, 6}]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.237, "tmo": 120} +{"i": 176, "in": "HoldComplete[ShowGraph[InduceSubgraph[t, {1, 2, 4, 3, 5, 6, 7, 8, 9}]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.567, "tmo": 120} +{"i": 177, "in": "HoldComplete[g1 = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; g2 = GridGraph[30, 30]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 6.434, "tmo": 120} +{"i": 178, "in": "HoldComplete[s = RandomSubset[Range[900]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.784, "tmo": 120} +{"i": 179, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`InduceSubgraph[g1, s]; ], Timing[InduceSubgraph[g2, s]; ]}]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 180, "in": "HoldComplete[ShowGraph[InduceSubgraph[GridGraph[50, 50], RandomSubset[Range[2500]]], VertexStyle -> Disc[0]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 181, "in": "HoldComplete[r = RandomSubset[Range[100]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.1, "tmo": 120} +{"i": 182, "in": "HoldComplete[rp = Permute[r, RandomPermutation[Length[r]]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.142, "tmo": 120} +{"i": 183, "in": "HoldComplete[DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`InduceSubgraph[DiscreteMath`OldCombinatorica`GridGraph[10, 10], r]]]", "status": "ok", "out": "DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`InduceSubgraph[DiscreteMath`OldCombinatorica`GridGraph[10, 10], {2, 3, 5, 6, 9, 10, 11, 12, 14, 16, 18, 19, 20, 24, 25, 28, 29, 30, 32, 34, 38, 40, 42, 45, 46, 49, 52, 55, 56, 63, 65, 69, 70, 71, 73, 74, 76, 77, 79, 81, 82, 83, 86, 92, 93, 95, 96}]]", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 184, "in": "HoldComplete[ShowGraph[InduceSubgraph[GridGraph[10, 10], rp]]]", "status": "ok", "out": "", "msgs": [], "secs": 7.125, "tmo": 120} +{"i": 185, "in": "HoldComplete[Information[\"PermuteSubgraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"PermuteSubgraph[g, p] permutes the vertices of a subgraph of g induced by p according to p.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`PermuteSubgraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 186, "in": "HoldComplete[ShowGraph[t, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.828, "tmo": 120} +{"i": 187, "in": "HoldComplete[ShowGraph[PermuteSubgraph[t, {2, 10, 3, 4, 5, 6, 7, 8, 9, 1}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.844, "tmo": 120} +{"i": 188, "in": "HoldComplete[ShowGraph[PermuteSubgraph[t, {2, 10, 3, 4, 5, 9, 1}]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.906, "tmo": 120} +{"i": 189, "in": "HoldComplete[Length[rp]]", "status": "ok", "out": "47", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 190, "in": "HoldComplete[ShowGraph[PermuteSubgraph[GridGraph[10, 10], rp]]]", "status": "ok", "out": "", "msgs": [], "secs": 7.136, "tmo": 120} +{"i": 191, "in": "HoldComplete[ShowGraph[PermuteSubgraph[GridGraph[4, 4], RandomPermutation[16]]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.336, "tmo": 120} +{"i": 192, "in": "HoldComplete[Information[\"Contract\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Contract[g, {x, y}] gives the graph resulting from contracting the pair of vertices {x, y} of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Contract\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 193, "in": "HoldComplete[ShowGraph[s = Contract[t, {5, 6}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.077, "tmo": 120} +{"i": 194, "in": "HoldComplete[ShowGraph[s = Contract[s, {5, 8}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.302, "tmo": 120} +{"i": 195, "in": "HoldComplete[Information[\"GraphComplement\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphComplement[g] gives the complement of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphComplement\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 196, "in": "HoldComplete[s = Graph[{}, {}]; GraphComplement[s]]", "status": "ok", "out": "Graph[{}, {}]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 197, "in": "HoldComplete[ShowGraph[GraphComplement[t]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.092, "tmo": 120} +{"i": 198, "in": "HoldComplete[p1 = ShowGraph[s = SetGraphOptions[t, EdgeDirection -> On], Graphics]; , Null, p2 = ShowGraph[GraphComplement[s], Graphics]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 8.575, "tmo": 120} +{"i": 199, "in": "HoldComplete[Show[GraphicsArray[{p1, p2}], ImageSize -> 500]]", "status": "ok", "out": "", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 200, "in": "HoldComplete[ShowGraph[GraphComplement[CompleteGraph[10, Type -> Directed]]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.609, "tmo": 120} +{"i": 201, "in": "HoldComplete[ShowGraph[s = GraphComplement[GridGraph[4, 4]], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 8.927, "tmo": 120} +{"i": 202, "in": "HoldComplete[Information[\"MakeUndirected\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"MakeUndirected[g] gives the underlying undirected graph of the given directed graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`MakeUndirected\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 203, "in": "HoldComplete[s = MakeUndirected[t]]", "status": "ok", "out": "Graph[{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}}, {{1, 1}}, {{1, 9}}, {{2, 3}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}, {{0, 0}}}]", "msgs": [], "secs": 0.031, "tmo": 120} +{"i": 204, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.826, "tmo": 120} +{"i": 205, "in": "HoldComplete[s = SetGraphOptions[CompleteGraph[3], EdgeDirection -> On]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.065, "tmo": 120} +{"i": 206, "in": "HoldComplete[ShowGraph[s, ImageSize -> 200]]", "status": "ok", "out": "", "msgs": [], "secs": 0.391, "tmo": 120} +{"i": 207, "in": "HoldComplete[s = AddEdges[s, {{{2, 1}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.024, "tmo": 120} +{"i": 208, "in": "HoldComplete[ShowGraph[s, ImageSize -> 200]]", "status": "ok", "out": "", "msgs": [], "secs": 0.428, "tmo": 120} +{"i": 209, "in": "HoldComplete[ShowGraph[MakeUndirected[s]]]", "status": "ok", "out": "", "msgs": [], "secs": 0.437, "tmo": 120} +{"i": 210, "in": "HoldComplete[SetGraphOptions[s, EdgeDirection -> Off]]", "status": "ok", "out": "Graph[{{{1, 2}}, {{1, 3}}, {{2, 3}}, {{2, 1}}}, {{{-50000, 86603}}, {{-50000, -86603}}, {{100000, 0}}}, Rule[EdgeDirection, Off]]", "msgs": [], "secs": 0.044, "tmo": 120} +{"i": 211, "in": "HoldComplete[Information[\"UndirectedQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"UndirectedQ[g] yields True if graph g is undirected.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`UndirectedQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.021, "tmo": 120} +{"i": 212, "in": "HoldComplete[UndirectedQ[t]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 213, "in": "HoldComplete[UndirectedQ[s = SetGraphOptions[t, EdgeDirection -> On]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.069, "tmo": 120} +{"i": 214, "in": "HoldComplete[UndirectedQ[MakeUndirected[s = SetGraphOptions[t, EdgeDirection -> On]]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.178, "tmo": 120} +{"i": 215, "in": "HoldComplete[Information[\"MakeSimple\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"MakeSimple[g] gives the undirected graph, free of multiple edges and self-loops derived from graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`MakeSimple\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 216, "in": "HoldComplete[tt = MakeSimple[t]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.086, "tmo": 120} +{"i": 217, "in": "HoldComplete[M[tt]]", "status": "ok", "out": "18", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 218, "in": "HoldComplete[SimpleQ[tt]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 219, "in": "HoldComplete[ShowGraph[tt]]", "status": "ok", "out": "", "msgs": [], "secs": 1.331, "tmo": 120} +{"i": 220, "in": "HoldComplete[Information[\"DepthFirstTraversal\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"DepthFirstTraversal[g, v] performs a depth-first traversal of graph g starting from vertex v, and gives a list of vertices in the order in which they were encountered. DepthFirstTraversal[g, v, Edge] returns the edges of the graph that are traversed by the depth-first traversal in the order in which they are traversed. DepthFirstTraversal[g, v, Tree] returns the depth-first tree of the graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`DepthFirstTraversal\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.016, "tmo": 120} +{"i": 221, "in": "HoldComplete[s = DeleteEdges[t, {{2, 3}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.115, "tmo": 120} +{"i": 222, "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.627, "tmo": 120} +{"i": 223, "in": "HoldComplete[DepthFirstTraversal[s, 2]]", "status": "ok", "out": "{2, 1, 9, 8, 7, 6, 5, 4, 3, 10}", "msgs": [], "secs": 0.149, "tmo": 120} +{"i": 224, "in": "HoldComplete[s = DeleteEdges[s, {{1, 2}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.1, "tmo": 120} +{"i": 225, "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.488, "tmo": 120} +{"i": 226, "in": "HoldComplete[DepthFirstTraversal[s, 2]]", "status": "ok", "out": "{2, 3, 4, 5, 6, 7, 8, 9, 1, 10}", "msgs": [], "secs": 0.141, "tmo": 120} +{"i": 227, "in": "HoldComplete[s = DeleteEdges[s, {{2, 3}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.095, "tmo": 120} +{"i": 228, "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.412, "tmo": 120} +{"i": 229, "in": "HoldComplete[DepthFirstTraversal[s, 2]]", "status": "ok", "out": "{2, 10, 1, 9, 8, 7, 6, 5, 4, 3}", "msgs": [], "secs": 0.138, "tmo": 120} +{"i": 230, "in": "HoldComplete[ShowGraph[Highlight[t, {Sort /@ DepthFirstTraversal[t, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.414, "tmo": 120} +{"i": 231, "in": "HoldComplete[$RecursionLimit = 20000; ]", "status": "msg", "out": "Null", "msgs": ["$RecursionLimit::limset: Cannot set $RecursionLimit to 20000; value must be an integer between 20 and 512; use the MATHICS_MAX_RECURSION_DEPTH environment variable to allow higher limits."], "secs": 0.007, "tmo": 120} +{"i": 232, "in": "HoldComplete[s = GridGraph[20, 20]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 4.012, "tmo": 120} +{"i": 233, "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ DepthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 2.973, "tmo": 120} +{"i": 234, "in": "HoldComplete[DepthFirstTraversal[s = SetGraphOptions[t, EdgeDirection -> On], 1, Edge]]", "status": "ok", "out": "{{1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {8, 9}, {9, 10}}", "msgs": [], "secs": 0.162, "tmo": 120} +{"i": 235, "in": "HoldComplete[p1 = ShowGraph[s, Graphics]; p2 = ShowGraph[Highlight[s, {DepthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Green}], Graphics]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 4.129, "tmo": 120} +{"i": 236, "in": "HoldComplete[Show[GraphicsArray[{p1, p2}], ImageSize -> 500]]", "status": "ok", "out": "", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 237, "in": "HoldComplete[DepthFirstTraversal[s = SetGraphOptions[t, EdgeDirection -> On], 10, Edge]]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.115, "tmo": 120} +{"i": 238, "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; rt = Table[Timing[DepthFirstTraversal[gt[[i]], 1]; ], {i, 20}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 239, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[127, 1, 1], Part[115, 1, 1], Part[110, 1, 1], Part[124, 1, 1], Part[107, 1, 1], Part[107, 1, 1], Part[103, 1, 1], Part[126, 1, 1], Part[104, 1, 1], Part[101, 1, 1], Part[102, 1, 1], Part[123, 1, 1], Part[102, 1, 1], Part[101, 1, 1], Part[101, 1, 1], Part[120, 1, 1], Part[104, 1, 1], Part[108, 1, 1], Part[102, 1, 1], Part[118, 1, 1], Part[103, 1, 1], Part[104, 1, 1], Part[104, 1, 1], Part[123, 1, 1], Part[105, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {0.00127048[[1, 1]], 0.00114643[[1, 1]], 0.00109757[[1, 1]], 0.00123545[[1, 1]], 0.00106941[[1, 1]], 0.00107251[[1, 1]], 0.00103453[[1, 1]], 0.00126448[[1, 1]], 0.00103846[[1, 1]], 0.00101146[[1, 1]], 0.00102393[[1, 1]], 0.00123451[[1, 1]], 0.00102259[[1, 1]], 0.00100848[[1, 1]], 0.00101383[[1, 1]], 0.00120227[[1, 1]], 0.00104341[[1, 1]], 0.00108046[[1, 1]], 0.00101815[[1, 1]], 0.00118039[[1, 1]], 0.00102853[[1, 1]], 0.00104237[[1, 1]], 0.0010399[[1, 1]], 0.00122578[[1, 1]], 0.00105245[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {127[[1, 1]], 115[[1, 1]], 110[[1, 1]], 124[[1, 1]], 107[[1, 1]], 107[[1, 1]], 103[[1, 1]], 126[[1, 1]], 104[[1, 1]], 101[[1, 1]], 102[[1, 1]], 123[[1, 1]], 102[[1, 1]], 101[[1, 1]], 101[[1, 1]], 120[[1, 1]], 104[[1, 1]], 108[[1, 1]], 102[[1, 1]], 118[[1, 1]], 103[[1, 1]], 104[[1, 1]], 104[[1, 1]], 123[[1, 1]], 105[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.067, "tmo": 120} +{"i": 240, "in": "HoldComplete[NewDepthFirstTraversal[g_Graph, start_Integer, flag_:Vertex] := Block[{visit = {}, e = ToAdjacencyLists[g], edges = {}, dfi = Table[0, {V[g]}], cnt = 1}, NewDFS[start]; If[flag === Edge, edges, visit]]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 241, "in": "HoldComplete[NewDFS[v_Integer] := (dfi[[v]] = cnt++; Scan[If[dfi[[#1]] == 0, NewDFS[#1]] & , e[[v]]])]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 242, "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; rt = Table[Timing[NewDepthFirstTraversal[gt[[i]], 1]; ], {i, 20}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 243, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[127, 1, 1], Part[115, 1, 1], Part[110, 1, 1], Part[124, 1, 1], Part[107, 1, 1], Part[107, 1, 1], Part[103, 1, 1], Part[126, 1, 1], Part[104, 1, 1], Part[101, 1, 1], Part[102, 1, 1], Part[123, 1, 1], Part[102, 1, 1], Part[101, 1, 1], Part[101, 1, 1], Part[120, 1, 1], Part[104, 1, 1], Part[108, 1, 1], Part[102, 1, 1], Part[118, 1, 1], Part[103, 1, 1], Part[104, 1, 1], Part[104, 1, 1], Part[123, 1, 1], Part[105, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {0.00127048[[1, 1]], 0.00114643[[1, 1]], 0.00109757[[1, 1]], 0.00123545[[1, 1]], 0.00106941[[1, 1]], 0.00107251[[1, 1]], 0.00103453[[1, 1]], 0.00126448[[1, 1]], 0.00103846[[1, 1]], 0.00101146[[1, 1]], 0.00102393[[1, 1]], 0.00123451[[1, 1]], 0.00102259[[1, 1]], 0.00100848[[1, 1]], 0.00101383[[1, 1]], 0.00120227[[1, 1]], 0.00104341[[1, 1]], 0.00108046[[1, 1]], 0.00101815[[1, 1]], 0.00118039[[1, 1]], 0.00102853[[1, 1]], 0.00104237[[1, 1]], 0.0010399[[1, 1]], 0.00122578[[1, 1]], 0.00105245[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {127[[1, 1]], 115[[1, 1]], 110[[1, 1]], 124[[1, 1]], 107[[1, 1]], 107[[1, 1]], 103[[1, 1]], 126[[1, 1]], 104[[1, 1]], 101[[1, 1]], 102[[1, 1]], 123[[1, 1]], 102[[1, 1]], 101[[1, 1]], 101[[1, 1]], 120[[1, 1]], 104[[1, 1]], 108[[1, 1]], 102[[1, 1]], 118[[1, 1]], 103[[1, 1]], 104[[1, 1]], 104[[1, 1]], 123[[1, 1]], 105[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.067, "tmo": 120} +{"i": 244, "in": "HoldComplete[gt = Table[DiscreteMath`OldCombinatorica`GridGraph[20, 10*i], {i, 5}]; rt = Table[Timing[DiscreteMath`OldCombinatorica`DepthFirstTraversal[gt[[i]], 1]; ], {i, 5}]]", "status": "ok", "out": "{{50, Null}, {44, Null}, {42, Null}, {47, Null}, {48, Null}}", "msgs": [], "secs": 0.024, "tmo": 120} +{"i": 245, "in": "HoldComplete[Information[\"BreadthFirstTraversal\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"BreadthFirstTraversal[g, v] performs a breadth-first traversal of graph g starting from vertex v, and gives the breadth-first numbers of the vertices. BreadthFirstTraversal[g, v, Edge] returns the edges of the graph that are traversed by breadth-first traversal. BreadthFirstTraversal[g, v, Tree] returns the breadth-first search tree. BreadthFirstTraversal[g, v, Level] returns the level number of the vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`BreadthFirstTraversal\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 246, "in": "HoldComplete[ShowGraph[s = DeleteEdges[t, {{2, 3}}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.735, "tmo": 120} +{"i": 247, "in": "HoldComplete[ShowGraph[s = DeleteEdges[s, {{2, 10}}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.678, "tmo": 120} +{"i": 248, "in": "HoldComplete[ShowGraph[BreadthFirstTraversal[s, 1, Tree], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.096, "tmo": 120} +{"i": 249, "in": "HoldComplete[BreadthFirstTraversal[s, 1, Edge]]", "status": "ok", "out": "{{1, 2}, {1, 9}, {1, 10}, {2, 3}, {9, 8}, {10, 4}, {10, 5}, {10, 6}, {10, 7}}", "msgs": [], "secs": 0.216, "tmo": 120} +{"i": 250, "in": "HoldComplete[BreadthFirstTraversal[s, 1, Level]]", "status": "ok", "out": "{0, 1, 2, 2, 2, 2, 2, 2, 1, 1}", "msgs": [], "secs": 0.154, "tmo": 120} +{"i": 251, "in": "HoldComplete[ShowGraph[BreadthFirstTraversal[s, 10, Tree], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.101, "tmo": 120} +{"i": 252, "in": "HoldComplete[BreadthFirstTraversal[s, 10, Edge]]", "status": "ok", "out": "{{10, 1}, {10, 3}, {10, 4}, {10, 5}, {10, 6}, {10, 7}, {10, 8}, {10, 9}, {1, 2}}", "msgs": [], "secs": 0.222, "tmo": 120} +{"i": 253, "in": "HoldComplete[BreadthFirstTraversal[s, 10, Level]]", "status": "ok", "out": "{1, 2, 1, 1, 1, 1, 1, 1, 1, 0}", "msgs": [], "secs": 0.161, "tmo": 120} +{"i": 254, "in": "HoldComplete[ShowGraph[BreadthFirstTraversal[s, 5, Tree], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.117, "tmo": 120} +{"i": 255, "in": "HoldComplete[BreadthFirstTraversal[s, 5, Edge]]", "status": "ok", "out": "{{5, 4}, {5, 6}, {5, 10}, {4, 3}, {6, 7}, {10, 1}, {10, 8}, {10, 9}, {3, 2}}", "msgs": [], "secs": 0.215, "tmo": 120} +{"i": 256, "in": "HoldComplete[BreadthFirstTraversal[s, 5, Level]]", "status": "ok", "out": "{2, 3, 2, 1, 0, 1, 2, 2, 2, 1}", "msgs": [], "secs": 0.159, "tmo": 120} +{"i": 257, "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ BreadthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.234, "tmo": 120} +{"i": 258, "in": "HoldComplete[s = GridGraph[30, 30]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 5.141, "tmo": 120} +{"i": 259, "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ BreadthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 260, "in": "HoldComplete[s = InduceSubgraph[s, RandomSubset[Range[900]]]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 261, "in": "HoldComplete[ShowGraph[s, VertexStyle -> Disc[0]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 121.836, "tmo": 120} +{"i": 262, "in": "HoldComplete[BreadthFirstTraversal[s, 2, Edge]]", "status": "ok", "out": "{{2, 1}, {2, 3}, {2, 32}, {1, 31}, {3, 4}, {3, 33}, {32, 62}, {31, 61}, {4, 5}, {4, 34}, {33, 63}, {62, 92}, {61, 91}, {5, 6}, {5, 35}, {34, 64}, {63, 93}, {92, 122}, {91, 121}, {6, 7}, {6, 36}, {35, 65}, {64, 94}, {93, 123}, {122, 152}, {121, 151}, {7, 8}, {7, 37}, {36, 66}, {65, 95}, {94, 124}, {123, 153}, {152, 182}, {151, 181}, {8, 9}, {8, 38}, {37, 67}, {66, 96}, {95, 125}, {124, 154}, {153, 183}, {182, 212}, {181, 211}, {9, 10}, {9, 39}, {38, 68}, {67, 97}, {96, 126}, {125, 155}, {154, 184}, {183, 213}, {212, 242}, {211, 241}, {10, 11}, {10, 40}, {39, 69}, {68, 98}, {97, 127}, {126, 156}, {155, 185}, {184, 214}, {213, 243}, {242, 272}, {241, 271}, {11, 12}, {11, 41}, {40, 70}, {69, 99}, {98, 128}, {127, 157}, {156, 186}, {185, 215}, {214, 244}, {243, 273}, {272, 302}, {271, 301}, {12, 13}, {12, 42}, {41, 71}, {70, 100}, {99, 129}, {128, 158}, {157, 187}, {186, 216}, {215, 245}, {244, 274}, {273, 303}, {302, 332}, {301, 331}, {13, 14}, {13, 43}, {42, 72}, {71, 101}, {100, 130}, {129, 159}, {158, 188}, {187, 217}, {216, 246}, {245, 275}, {274, 304}, {303, 333}, {332, 362}, {331, 361}, {14, 15}, {14, 44}, {43, 73}, {72, 102}, {101, 131}, {130, 160}, {159, 189}, {188, 218}, {217, 247}, {246, 276}, {275, 305}, {304, 334}, {333, 363}, {362, 392}, {361, 391}, {15, 16}, {15, 45}, {44, 74}, {73, 103}, {102, 132}, {131, 161}, {160, 190}, {189, 219}, {218, 248}, {247, 277}, {276, 306}, {305, 335}, {334, 364}, {363, 393}, {392, 422}, {391, 421}, {16, 17}, {16, 46}, {45, 75}, {74, 104}, {103, 133}, {132, 162}, {161, 191}, {190, 220}, {219, 249}, {248, 278}, {277, 307}, {306, 336}, {335, 365}, {364, 394}, {393, 423}, {422, 452}, {421, 451}, {17, 18}, {17, 47}, {46, 76}, {75, 105}, {104, 134}, {133, 163}, {162, 192}, {191, 221}, {220, 250}, {249, 279}, {278, 308}, {307, 337}, {336, 366}, {365, 395}, {394, 424}, {423, 453}, {452, 482}, {451, 481}, {18, 19}, {18, 48}, {47, 77}, {76, 106}, {105, 135}, {134, 164}, {163, 193}, {192, 222}, {221, 251}, {250, 280}, {279, 309}, {308, 338}, {337, 367}, {366, 396}, {395, 425}, {424, 454}, {453, 483}, {482, 512}, {481, 511}, {19, 20}, {19, 49}, {48, 78}, {77, 107}, {106, 136}, {135, 165}, {164, 194}, {193, 223}, {222, 252}, {251, 281}, {280, 310}, {309, 339}, {338, 368}, {367, 397}, {396, 426}, {425, 455}, {454, 484}, {483, 513}, {512, 542}, {511, 541}, {20, 21}, {20, 50}, {49, 79}, {78, 108}, {107, 137}, {136, 166}, {165, 195}, {194, 224}, {223, 253}, {252, 282}, {281, 311}, {310, 340}, {339, 369}, {368, 398}, {397, 427}, {426, 456}, {455, 485}, {484, 514}, {513, 543}, {542, 572}, {541, 571}, {21, 22}, {21, 51}, {50, 80}, {79, 109}, {108, 138}, {137, 167}, {166, 196}, {195, 225}, {224, 254}, {253, 283}, {282, 312}, {311, 341}, {340, 370}, {369, 399}, {398, 428}, {427, 457}, {456, 486}, {485, 515}, {514, 544}, {543, 573}, {572, 602}, {571, 601}, {22, 23}, {22, 52}, {51, 81}, {80, 110}, {109, 139}, {138, 168}, {167, 197}, {196, 226}, {225, 255}, {254, 284}, {283, 313}, {312, 342}, {341, 371}, {370, 400}, {399, 429}, {428, 458}, {457, 487}, {486, 516}, {515, 545}, {544, 574}, {573, 603}, {602, 632}, {601, 631}, {23, 24}, {23, 53}, {52, 82}, {81, 111}, {110, 140}, {139, 169}, {168, 198}, {197, 227}, {226, 256}, {255, 285}, {284, 314}, {313, 343}, {342, 372}, {371, 401}, {400, 430}, {429, 459}, {458, 488}, {487, 517}, {516, 546}, {545, 575}, {574, 604}, {603, 633}, {632, 662}, {631, 661}, {24, 25}, {24, 54}, {53, 83}, {82, 112}, {111, 141}, {140, 170}, {169, 199}, {198, 228}, {227, 257}, {256, 286}, {285, 315}, {314, 344}, {343, 373}, {372, 402}, {401, 431}, {430, 460}, {459, 489}, {488, 518}, {517, 547}, {546, 576}, {575, 605}, {604, 634}, {633, 663}, {662, 692}, {661, 691}, {25, 26}, {25, 55}, {54, 84}, {83, 113}, {112, 142}, {141, 171}, {170, 200}, {199, 229}, {228, 258}, {257, 287}, {286, 316}, {315, 345}, {344, 374}, {373, 403}, {402, 432}, {431, 461}, {460, 490}, {489, 519}, {518, 548}, {547, 577}, {576, 606}, {605, 635}, {634, 664}, {663, 693}, {692, 722}, {691, 721}, {26, 27}, {26, 56}, {55, 8...", "msgs": [], "secs": 28.78, "tmo": 120} +{"i": 263, "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ BreadthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 264, "in": "HoldComplete[Information[\"CircularVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"CircularVertices[n] constructs a list of n points equally spaced on a circle. CircularVertices[g] embeds the vertices of g equally spaced on a circle. This function is obsolete; use CircularEmbedding instead.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`CircularVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 265, "in": "HoldComplete[s = CircularVertices[t]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 266, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.612, "tmo": 120} +{"i": 267, "in": "HoldComplete[ShowGraph[CircularVertices[CompleteGraph[10, 10]]]]", "status": "ok", "out": "", "msgs": [], "secs": 6.413, "tmo": 120} +{"i": 268, "in": "HoldComplete[Information[\"RankGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RankGraph[g, l] partitions the vertices into classes based on the shortest geodesic distance to a member of list l.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RankGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 269, "in": "HoldComplete[s = GridGraph[5, 4]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.194, "tmo": 120} +{"i": 270, "in": "HoldComplete[r = RankGraph[s, {1, 2, 3, 4}]]", "status": "ok", "out": "{1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5}", "msgs": [], "secs": 0.235, "tmo": 120} +{"i": 271, "in": "HoldComplete[s1 = SetGraphOptions[s, Table[{i, VertexLabel -> {r[[i]]}}, {i, Length[r]}]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.452, "tmo": 120} +{"i": 272, "in": "HoldComplete[ShowGraph[s1, PlotRange -> Large[0.2]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.567, "tmo": 120} +{"i": 273, "in": "HoldComplete[Information[\"RankedEmbedding\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RankedEmbedding[l] takes a set partition l of vertices {1, 2,..., n} and returns an embedding of the vertices in the plane such that the vertices in each block occur on a vertical line with block 1 vertices on the leftmost line, block 2 vertices in the next line, and so on. RankedEmbedding[g, l] takes a graph g and a set partition l of the vertices of g and returns the graph g with vertices embedded according to RankedEmbedding[l]. RankedEmbedding[g, s] takes a graph g and a set s of vertices of g and returns a ranked embedding of g in which vertices in s are in block 1, vertices at distance 1 from any vertex in block 1 are in block 2, and so on.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RankedEmbedding\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.026, "tmo": 120} +{"i": 274, "in": "HoldComplete[s = GridGraph[5, 5]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.236, "tmo": 120} +{"i": 275, "in": "HoldComplete[ShowGraph[RankedEmbedding[s, {13}]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.294, "tmo": 120} +{"i": 276, "in": "HoldComplete[ShowGraph[RankedEmbedding[t, {1}]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.986, "tmo": 120} +{"i": 277, "in": "HoldComplete[Information[\"Eccentricity\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Eccentricity[g] gives the eccentricity of each vertex v of graph g, the maximum length among all shortest paths from v.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Eccentricity\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.022, "tmo": 120} +{"i": 278, "in": "HoldComplete[g = Wheel[10]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 279, "in": "HoldComplete[Eccentricity[g]]", "status": "ok", "out": "{2, 2, 2, 2, 2, 2, 2, 2, 2, 1}", "msgs": [], "secs": 1.529, "tmo": 120} +{"i": 280, "in": "HoldComplete[g = GridGraph[10, 10]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.722, "tmo": 120} +{"i": 281, "in": "HoldComplete[Eccentricity[g]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 282, "in": "HoldComplete[Timing[Eccentricity[g]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 283, "in": "HoldComplete[g = SetEdgeWeights[g]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 29.95, "tmo": 120} +{"i": 284, "in": "HoldComplete[Timing[Eccentricity[g]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 285, "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[10, 10]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 286, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`Eccentricity[g]; ]]", "status": "ok", "out": "{20, Null}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 287, "in": "HoldComplete[Information[\"Diameter\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Diameter[g] gives the diameter of graph g, the maximum length, among all pairs of vertices in g, of a shortest path between each pair.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Diameter\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.032, "tmo": 120} +{"i": 288, "in": "HoldComplete[g = CompleteGraph[20]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.175, "tmo": 120} +{"i": 289, "in": "HoldComplete[Diameter[g]]", "status": "ok", "out": "1", "msgs": [], "secs": 23.685, "tmo": 120} +{"i": 290, "in": "HoldComplete[g = RandomGraph[25, 0.3]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.566, "tmo": 120} +{"i": 291, "in": "HoldComplete[Diameter[g]]", "status": "ok", "out": "3", "msgs": [], "secs": 11.832, "tmo": 120} +{"i": 292, "in": "HoldComplete[g = RandomGraph[50, 0.3]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 15.184, "tmo": 120} +{"i": 293, "in": "HoldComplete[Diameter[g]]", "status": "ok", "out": "3", "msgs": [], "secs": 101.421, "tmo": 120} +{"i": 294, "in": "HoldComplete[g = RandomGraph[100, 0.3]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 118.897, "tmo": 120} +{"i": 295, "in": "HoldComplete[Diameter[g]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 296, "in": "HoldComplete[Information[\"Radius\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Radius[g] gives the radius of graph g, the minimum eccentricity of any vertex of g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Radius\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 297, "in": "HoldComplete[g = Wheel[100]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.246, "tmo": 120} +{"i": 298, "in": "HoldComplete[Radius[g]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 299, "in": "HoldComplete[Information[\"GraphCenter\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphCenter[g] gives a list of the vertices of graph g with minimum eccentricity.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphCenter\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 300, "in": "HoldComplete[g = Wheel[100]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.241, "tmo": 120} +{"i": 301, "in": "HoldComplete[GraphCenter[g]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 302, "in": "HoldComplete[Information[\"RadialEmbedding\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RadialEmbedding[g, v] constructs a radial embedding of the graph g in which vertices are placed on concentric circles around v depending on their distance from v. RadialEmbedding[g] constructs a radial embedding of graph g, radiating from the center of the graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RadialEmbedding\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 303, "in": "HoldComplete[s = RandomTree[20]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.648, "tmo": 120} +{"i": 304, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.807, "tmo": 120} +{"i": 305, "in": "HoldComplete[ShowGraph[RadialEmbedding[s, 11], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.534, "tmo": 120} +{"i": 306, "in": "HoldComplete[ShowGraph[RadialEmbedding[RandomTree[20], 11], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 3.1, "tmo": 120} +{"i": 307, "in": "HoldComplete[ShowGraph[RadialEmbedding[RandomTree[20], 11], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 3.275, "tmo": 120} +{"i": 308, "in": "HoldComplete[ShowGraph[RadialEmbedding[GridGraph[3, 3]]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.767, "tmo": 120} +{"i": 309, "in": "HoldComplete[Information[\"RootedEmbedding\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RootedEmbedding[g, v] constructs a rooted embedding of graph g with vertex v as the root. RootedEmbedding[g] constructs a rooted embedding with a center of g as the root.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RootedEmbedding\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.038, "tmo": 120} +{"i": 310, "in": "HoldComplete[s = RandomTree[20]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.565, "tmo": 120} +{"i": 311, "in": "HoldComplete[ShowGraph[RootedEmbedding[s, 1], VertexNumber -> On, PlotRange -> Large[0.05]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.297, "tmo": 120} +{"i": 312, "in": "HoldComplete[ShowGraph[RootedEmbedding[s, 3], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.339, "tmo": 120} +{"i": 313, "in": "HoldComplete[ShowGraph[RootedEmbedding[s, 19], VertexNumber -> Center, VertexNumberColor -> White, VertexStyle -> Disc[Large], PlotRange -> Large[0.03], Background -> LightBlue]]", "status": "ok", "out": "", "msgs": [], "secs": 2.315, "tmo": 120} +{"i": 314, "in": "HoldComplete[Information[\"TranslateVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TranslateVertices[v, {x, y}] adds the vector {x, y} to the vertex embedding location of each vertex in list v. TranslateVertices[g, {x, y}] translates the embedding of the graph g by the vector {x, y}.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TranslateVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.041, "tmo": 120} +{"i": 315, "in": "HoldComplete[t]", "status": "ok", "out": "Graph[{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}}, {{1, 1}}, {{1, 9}}, {{2, 3}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}, {{0, 0}}}]", "msgs": [], "secs": 0.03, "tmo": 120} +{"i": 316, "in": "HoldComplete[TranslateVertices[t, {0.001, 0.002}]]", "status": "ok", "out": "Graph[{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}}, {{1, 1}}, {{1, 9}}, {{2, 3}}}, {{{76704, 64479}}, {{17465, 98681}}, {{-49900, 86803}}, {{-93869, 34402}}, {{-93869, -34002}}, {{-49900, -86403}}, {{17465, -98281}}, {{76704, -64079}}, {{100100, 200}}, {{100, 200}}}]", "msgs": [], "secs": 0.095, "tmo": 120} +{"i": 317, "in": "HoldComplete[Information[\"DilateVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"DilateVertices[v, d] multiplies each coordinate of each vertex position in list v by d, thus dilating the embedding. DilateVertices[g, d] dilates the embedding of graph g by the factor d.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`DilateVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 318, "in": "HoldComplete[t]", "status": "ok", "out": "Graph[{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}}, {{1, 1}}, {{1, 9}}, {{2, 3}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}, {{0, 0}}}]", "msgs": [], "secs": 0.024, "tmo": 120} +{"i": 319, "in": "HoldComplete[DilateVertices[t, 2]]", "status": "ok", "out": "Graph[{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}}, {{1, 1}}, {{1, 9}}, {{2, 3}}}, {{{153209, 128558}}, {{34730, 196962}}, {{-100000, 173205}}, {{-187939, 68404}}, {{-187939, -68404}}, {{-100000, -173205}}, {{34730, -196962}}, {{153209, -128558}}, {{200000, 0}}, {{0, 0}}}]", "msgs": [], "secs": 0.087, "tmo": 120} +{"i": 320, "in": "HoldComplete[Information[\"RotateVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RotateVertices[v, theta] rotates each vertex position in list v by theta radians about the origin (0, 0). RotateVertices[g, theta] rotates the embedding of the graph g by theta radians about the origin (0, 0).\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RotateVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 321, "in": "HoldComplete[ShowGraph[s = CompleteGraph[3, 2, 2, 4]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.125, "tmo": 120} +{"i": 322, "in": "HoldComplete[ShowGraph[RotateVertices[s, Pi/2]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.759, "tmo": 120} +{"i": 323, "in": "HoldComplete[ShowGraph[RotateVertices[s, Pi/4]]]", "status": "ok", "out": "", "msgs": [], "secs": 10.045, "tmo": 120} +{"i": 324, "in": "HoldComplete[Information[\"NormalizeVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"NormalizeVertices[v] gives a list of vertices with a similar embedding as v but with all coordinates of all points scaled to be between 0 and 1.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`NormalizeVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.04, "tmo": 120} +{"i": 325, "in": "HoldComplete[s = CompleteGraph[7]]", "status": "ok", "out": "Graph[{{{1, 2}}, {{1, 3}}, {{1, 4}}, {{1, 5}}, {{1, 6}}, {{1, 7}}, {{2, 3}}, {{2, 4}}, {{2, 5}}, {{2, 6}}, {{2, 7}}, {{3, 4}}, {{3, 5}}, {{3, 6}}, {{3, 7}}, {{4, 5}}, {{4, 6}}, {{4, 7}}, {{5, 6}}, {{5, 7}}, {{6, 7}}}, {{{62349, 78183}}, {{-22252, 97493}}, {{-90097, 43388}}, {{-90097, -43388}}, {{-22252, -97493}}, {{62349, -78183}}, {{100000, 0}}}]", "msgs": [], "secs": 0.075, "tmo": 120} +{"i": 326, "in": "HoldComplete[Vertices[s]]", "status": "ok", "out": "{{62349, 78183}, {-22252, 97493}, {-90097, 43388}, {-90097, -43388}, {-22252, -97493}, {62349, -78183}, {100000, 0}}", "msgs": [], "secs": 0.029, "tmo": 120} +{"i": 327, "in": "HoldComplete[s = TranslateVertices[s, {0.5, 0.3}]]", "status": "ok", "out": "Graph[{{{1, 2}}, {{1, 3}}, {{1, 4}}, {{1, 5}}, {{1, 6}}, {{1, 7}}, {{2, 3}}, {{2, 4}}, {{2, 5}}, {{2, 6}}, {{2, 7}}, {{3, 4}}, {{3, 5}}, {{3, 6}}, {{3, 7}}, {{4, 5}}, {{4, 6}}, {{4, 7}}, {{5, 6}}, {{5, 7}}, {{6, 7}}}, {{{112349, 108183}}, {{27748, 127493}}, {{-40097, 73388}}, {{-40097, -13388}}, {{27748, -67493}}, {{112349, -48183}}, {{150000, 30000}}}]", "msgs": [], "secs": 0.073, "tmo": 120} +{"i": 328, "in": "HoldComplete[Vertices[s]]", "status": "ok", "out": "{{112349, 108183}, {27748, 127493}, {-40097, 73388}, {-40097, -13388}, {27748, -67493}, {112349, -48183}, {150000, 30000}}", "msgs": [], "secs": 0.027, "tmo": 120} +{"i": 329, "in": "HoldComplete[Vertices[NormalizeVertices[s]]]", "status": "ok", "out": "{{82689, 80773}, {43790, 89652}, {12596, 64775}, {12596, 24876}, {43790, 0}, {82689, 8878}, {100000, 44826}}", "msgs": [], "secs": 0.075, "tmo": 120} +{"i": 330, "in": "HoldComplete[Information[\"ShakeGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ShakeGraph[g, d] performs a random perturbation of the vertices of graph g, with each vertex moving, at most, a distance d from its original position.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ShakeGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.041, "tmo": 120} +{"i": 331, "in": "HoldComplete[s = RankedEmbedding[Wheel[10], {1, 2, 3, 4, 5, 6, 7, 8, 9}]]", "status": "ok", "out": "Graph[{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}}}, {{{100000, -400000}}, {{100000, -300000}}, {{100000, -200000}}, {{100000, -100000}}, {{100000, 0}}, {{100000, 100000}}, {{100000, 200000}}, {{100000, 300000}}, {{100000, 400000}}, {{200000, 0}}}]", "msgs": [], "secs": 0.323, "tmo": 120} +{"i": 332, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 1.512, "tmo": 120} +{"i": 333, "in": "HoldComplete[ss = ShakeGraph[s]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.098, "tmo": 120} +{"i": 334, "in": "HoldComplete[ShowGraph[ss]]", "status": "ok", "out": "", "msgs": [], "secs": 1.436, "tmo": 120} +{"i": 335, "in": "HoldComplete[ss = ShakeGraph[s, 0.3]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.096, "tmo": 120} +{"i": 336, "in": "HoldComplete[ShowGraph[ss]]", "status": "ok", "out": "", "msgs": [], "secs": 1.354, "tmo": 120} +{"i": 337, "in": "HoldComplete[ShowGraph[CompleteGraph[2, 2, 2], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.019, "tmo": 120} +{"i": 338, "in": "HoldComplete[ShowGraph[ShakeGraph[CompleteGraph[2, 2, 2], 0.3], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.152, "tmo": 120} +{"i": 339, "in": "HoldComplete[Information[\"GraphOptions\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphOptions[g] returns the display options associated with g. GraphOptions[g, v] returns the display options associated with vertex v in g. GraphOptions[g, {u, v}] returns the display options associated with edge {u, v} in g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphOptions\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.04, "tmo": 120} +{"i": 340, "in": "HoldComplete[GraphOptions[s]]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 341, "in": "HoldComplete[r = SetGraphOptions[CompleteGraph[5, 5], VertexColor -> Red, EdgeColor -> Green]]", "status": "ok", "out": "Graph[{{{1, 6}}, {{1, 7}}, {{1, 8}}, {{1, 9}}, {{1, 10}}, {{2, 6}}, {{2, 7}}, {{2, 8}}, {{2, 9}}, {{2, 10}}, {{3, 6}}, {{3, 7}}, {{3, 8}}, {{3, 9}}, {{3, 10}}, {{4, 6}}, {{4, 7}}, {{4, 8}}, {{4, 9}}, {{4, 10}}, {{5, 6}}, {{5, 7}}, {{5, 8}}, {{5, 9}}, {{5, 10}}}, {{{100000, -200000}}, {{100000, -100000}}, {{100000, 0}}, {{100000, 100000}}, {{100000, 200000}}, {{200000, -200000}}, {{200000, -100000}}, {{200000, 0}}, {{200000, 100000}}, {{200000, 200000}}}, Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 1, 0]]]", "msgs": [], "secs": 0.232, "tmo": 120} +{"i": 342, "in": "HoldComplete[ShowGraph[r]]", "status": "ok", "out": "", "msgs": [], "secs": 1.844, "tmo": 120} +{"i": 343, "in": "HoldComplete[GraphOptions[r]]", "status": "ok", "out": "{Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 1, 0]]}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 344, "in": "HoldComplete[Information[\"SpringEmbedding\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"SpringEmbedding[g] beautifies the embedding of graph g by modeling the embedding as a system of springs. SpringEmbedding[g, step, increment] can be used to refine the algorithm. The value of step tells the function for how many iterations to run the algorithm. The value of increment tells the function the distance to move the vertices at each step. The default values are 10 and 0.15 for step and increment, respectively.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`SpringEmbedding\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.038, "tmo": 120} +{"i": 345, "in": "HoldComplete[s = MakeGraph[Permutations[{1, 2, 3, 4}], Count[#1 - #2, 0] == 0 & ]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 2.943, "tmo": 120} +{"i": 346, "in": "HoldComplete[oldS = DiscreteMath`OldCombinatorica`MakeGraph[Permutations[{1, 2, 3, 4}], Count[#1 - #2, 0] == 0 & ]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.013, "tmo": 120} +{"i": 347, "in": "HoldComplete[ShowGraph[s]]", "status": "ok", "out": "", "msgs": [], "secs": 16.038, "tmo": 120} +{"i": 348, "in": "HoldComplete[V[s]]", "status": "ok", "out": "24", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 349, "in": "HoldComplete[M[s]]", "status": "ok", "out": "216", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 350, "in": "HoldComplete[Timing[r = SpringEmbedding[s]; ]]", "status": "ok", "out": "{186866, Null}", "msgs": [], "secs": 1.876, "tmo": 120} +{"i": 351, "in": "HoldComplete[ShowGraph[r]]", "status": "ok", "out": "ShowGraph[ChangeVertices[Graph[{{{1, 8}}, {{1, 10}}, {{1, 11}}, {{1, 14}}, {{1, 17}}, {{1, 18}}, {{1, 19}}, {{1, 23}}, {{1, 24}}, {{2, 7}}, {{2, 9}}, {{2, 12}}, {{2, 13}}, {{2, 17}}, {{2, 18}}, {{2, 20}}, {{2, 23}}, {{2, 24}}, {{3, 8}}, {{3, 11}}, {{3, 12}}, {{3, 14}}, {{3, 16}}, {{3, 17}}, {{3, 20}}, {{3, 21}}, {{3, 22}}, {{4, 7}}, {{4, 11}}, {{4, 12}}, {{4, 13}}, {{4, 15}}, {{4, 18}}, {{4, 19}}, {{4, 21}}, {{4, 22}}, {{5, 7}}, {{5, 9}}, {{5, 10}}, {{5, 14}}, {{5, 15}}, {{5, 16}}, {{5, 20}}, {{5, 22}}, {{5, 23}}, {{6, 8}}, {{6, 9}}, {{6, 10}}, {{6, 13}}, {{6, 15}}, {{6, 16}}, {{6, 19}}, {{6, 21}}, {{6, 24}}, {{7, 2}}, {{7, 4}}, {{7, 5}}, {{7, 16}}, {{7, 17}}, {{7, 18}}, {{7, 21}}, {{7, 23}}, {{7, 24}}, {{8, 1}}, {{8, 3}}, {{8, 6}}, {{8, 15}}, {{8, 17}}, {{8, 18}}, {{8, 22}}, {{8, 23}}, {{8, 24}}, {{9, 2}}, {{9, 5}}, {{9, 6}}, {{9, 14}}, {{9, 16}}, {{9, 18}}, {{9, 19}}, {{9, 20}}, {{9, 22}}, {{10, 1}}, {{10, 5}}, {{10, 6}}, {{10, 13}}, {{10, 15}}, {{10, 17}}, {{10, 19}}, {{10, 20}}, {{10, 21}}, {{11, 1}}, {{11, 3}}, {{11, 4}}, {{11, 13}}, {{11, 14}}, {{11, 16}}, {{11, 20}}, {{11, 22}}, {{11, 24}}, {{12, 2}}, {{12, 3}}, {{12, 4}}, {{12, 13}}, {{12, 14}}, {{12, 15}}, {{12, 19}}, {{12, 21}}, {{12, 23}}, {{13, 2}}, {{13, 4}}, {{13, 6}}, {{13, 10}}, {{13, 11}}, {{13, 12}}, {{13, 21}}, {{13, 22}}, {{13, 23}}, {{14, 1}}, {{14, 3}}, {{14, 5}}, {{14, 9}}, {{14, 11}}, {{14, 12}}, {{14, 21}}, {{14, 22}}, {{14, 24}}, {{15, 4}}, {{15, 5}}, {{15, 6}}, {{15, 8}}, {{15, 10}}, {{15, 12}}, {{15, 19}}, {{15, 20}}, {{15, 24}}, {{16, 3}}, {{16, 5}}, {{16, 6}}, {{16, 7}}, {{16, 9}}, {{16, 11}}, {{16, 19}}, {{16, 20}}, {{16, 23}}, {{17, 1}}, {{17, 2}}, {{17, 3}}, {{17, 7}}, {{17, 8}}, {{17, 10}}, {{17, 19}}, {{17, 22}}, {{17, 24}}, {{18, 1}}, {{18, 2}}, {{18, 4}}, {{18, 7}}, {{18, 8}}, {{18, 9}}, {{18, 20}}, {{18, 21}}, {{18, 23}}, {{19, 1}}, {{19, 4}}, {{19, 6}}, {{19, 9}}, {{19, 10}}, {{19, 12}}, {{19, 15}}, {{19, 16}}, {{19, 17}}, {{20, 2}}, {{20, 3}}, {{20, 5}}, {{20, 9}}, {{20, 10}}, {{20, 11}}, {{20, 15}}, {{20, 16}}, {{20, 18}}, {{21, 3}}, {{21, 4}}, {{21, 6}}, {{21, 7}}, {{21, 10}}, {{21, 12}}, {{21, 13}}, {{21, 14}}, {{21, 18}}, {{22, 3}}, {{22, 4}}, {{22, 5}}, {{22, 8}}, {{22, 9}}, {{22, 11}}, {{22, 13}}, {{22, 14}}, {{22, 17}}, {{23, 1}}, {{23, 2}}, {{23, 5}}, {{23, 7}}, {{23, 8}}, {{23, 12}}, {{23, 13}}, {{23, 16}}, {{23, 18}}, {{24, 1}}, {{24, 2}}, {{24, 6}}, {{24, 7}}, {{24, 8}}, {{24, 11}}, {{24, 14}}, {{24, 15}}, {{24, 17}}}, {{{96593, 25882}}, {{86603, 50000}}, {{70711, 70711}}, {{50000, 86603}}, {{25882, 96593}}, {{0, 100000}}, {{-25882, 96593}}, {{-50000, 86603}}, {{-70711, 70711}}, {{-86603, 50000}}, {{-96593, 25882}}, {{-100000, 0}}, {{-96593, -25882}}, {{-86603, -50000}}, {{-70711, -70711}}, {{-50000, -86603}}, {{-25882, -96593}}, {{0, -100000}}, {{25882, -96593}}, {{50000, -86603}}, {{70711, -70711}}, {{86603, -50000}}, {{96593, -25882}}, {{100000, 0}}}, Rule[EdgeDirection, True]], DiscreteMath`CombinatoricaV201`Private`UV[10, 15000, {{0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1}, {0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1}, {0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0}, {0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1}, {0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 1}, {1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1}, {0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0}, {1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0}, {1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1}, {0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0}, {0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0}, {1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, ...", "msgs": [], "secs": 0.123, "tmo": 120} +{"i": 352, "in": "HoldComplete[Timing[r = DiscreteMath`OldCombinatorica`SpringEmbedding[oldS]; ]]", "status": "ok", "out": "{44, Null}", "msgs": [], "secs": 0.009, "tmo": 120} diff --git a/book/mathics/Chapter4.jsonl b/book/mathics/Chapter4.jsonl new file mode 100644 index 0000000..bdb2fbe --- /dev/null +++ b/book/mathics/Chapter4.jsonl @@ -0,0 +1,295 @@ +{"i": 1, "in": "HoldComplete[t = GridGraph[7, 9]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.514, "tmo": 120} +{"i": 2, "in": "HoldComplete[ShowGraph[t = SetGraphOptions[t, {{1, 10, 20, VertexStyle -> Disc[Large], VertexColor -> HotPink}, {{8, 9}, {32, 39}, EdgeStyle -> Fat}}]]]", "status": "ok", "out": "", "msgs": [], "secs": 13.38, "tmo": 120} +{"i": 3, "in": "HoldComplete[t = AddEdges[t, {{{29, 30}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.121, "tmo": 120} +{"i": 4, "in": "HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.02]]]", "status": "ok", "out": "", "msgs": [], "secs": 9.537, "tmo": 120} +{"i": 5, "in": "HoldComplete[Information[\"GraphUnion\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphUnion[g1, g2, ...] constructs the union of graphs g1, g2, and so forth. GraphUnion[n, g] constructs n copies of graph g, for any nonnegative integer n.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphUnion\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 6, "in": "HoldComplete[ShowGraph[GraphUnion[t, t], PlotRange -> Large[0.02]]]", "status": "ok", "out": "", "msgs": [], "secs": 24.721, "tmo": 120} +{"i": 7, "in": "HoldComplete[ShowGraph[GraphUnion[CompleteGraph[3], CompleteGraph[5, 5], Star[4]], PlotRange -> Large[0.1]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.876, "tmo": 120} +{"i": 8, "in": "HoldComplete[ShowGraph[GraphUnion[6, CompleteGraph[3]]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.109, "tmo": 120} +{"i": 9, "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 10, "in": "HoldComplete[rt = Table[Timing[GraphUnion[gt[[i]], gt[[i]]]; ], {i, 20}]]", "status": "msg", "out": "{{145, Null}, {122, Null}, {117, Null}, {127, Null}, {112, Null}, {115, Null}, {110, Null}, {127, Null}, {108, Null}, {109, Null}, {108, Null}, {107, Null}, {126, Null}, {115, Null}, {109, Null}, {109, Null}, {108, Null}, {131, Null}, {113, Null}, {109, Null}}", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.061, "tmo": 120} +{"i": 11, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{145, Null}, 1, 1], Part[{122, Null}, 1, 1], Part[{117, Null}, 1, 1], Part[{127, Null}, 1, 1], Part[{112, Null}, 1, 1], Part[{115, Null}, 1, 1], Part[{110, Null}, 1, 1], Part[{127, Null}, 1, 1], Part[{108, Null}, 1, 1], Part[{109, Null}, 1, 1], Part[{108, Null}, 1, 1], Part[{107, Null}, 1, 1], Part[{126, Null}, 1, 1], Part[{115, Null}, 1, 1], Part[{109, Null}, 1, 1], Part[{109, Null}, 1, 1], Part[{108, Null}, 1, 1], Part[{131, Null}, 1, 1], Part[{113, Null}, 1, 1], Part[{109, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.00144739, Null}[[1, 1]], {0.00121917, Null}[[1, 1]], {0.00117257, Null}[[1, 1]], {0.00127178, Null}[[1, 1]], {0.00112143, Null}[[1, 1]], {0.0011516, Null}[[1, 1]], {0.00110247, Null}[[1, 1]], {0.00127395, Null}[[1, 1]], {0.00107996, Null}[[1, 1]], {0.00109409, Null}[[1, 1]], {0.00107611, Null}[[1, 1]], {0.00106892, Null}[[1, 1]], {0.00126248, Null}[[1, 1]], {0.00114562, Null}[[1, 1]], {0.00109192, Null}[[1, 1]], {0.00108562, Null}[[1, 1]], {0.0010795, Null}[[1, 1]], {0.00131088, Null}[[1, 1]], {0.0011328, Null}[[1, 1]], {0.00109377, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{145, Null}[[1, 1]], {122, Null}[[1, 1]], {117, Null}[[1, 1]], {127, Null}[[1, 1]], {112, Null}[[1, 1]], {115, Null}[[1, 1]], {110, Null}[[1, 1]], {127, Null}[[1, 1]], {108, Null}[[1, 1]], {109, Null}[[1, 1]], {108, Null}[[1, 1]], {107, Null}[[1, 1]], {126, Null}[[1, 1]], {115, Null}[[1, 1]], {109, Null}[[1, 1]], {109, Null}[[1, 1]], {108, Null}[[1, 1]], {131, Null}[[1, 1]], {113, Null}[[1, 1]], {109, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.065, "tmo": 120} +{"i": 12, "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`Wheel[200]; aa = Wheel[200]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.475, "tmo": 120} +{"i": 13, "in": "HoldComplete[b = DiscreteMath`OldCombinatorica`CompleteGraph[75]; bb = CompleteGraph[75]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 4.008, "tmo": 120} +{"i": 14, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphUnion[a, b]; ], Timing[GraphUnion[aa, bb]; ]}]", "status": "ok", "out": "{{29, Null}, {1170648, Null}}", "msgs": [], "secs": 11.729, "tmo": 120} +{"i": 15, "in": "HoldComplete[cc = Star[1000]; c = DiscreteMath`OldCombinatorica`Star[1000]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 2.037, "tmo": 120} +{"i": 16, "in": "HoldComplete[Timing[GraphUnion[aa, cc]; ]]", "status": "ok", "out": "{1479677, Null}", "msgs": [], "secs": 14.824, "tmo": 120} +{"i": 17, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`GraphUnion[a, c]; ]]", "status": "ok", "out": "{25, Null}", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 18, "in": "HoldComplete[Information[\"ExpandGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ExpandGraph[g, n] expands graph g to n vertices by adding disconnected vertices. This is obsolete; use AddVertices[g, n] instead.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ExpandGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.01, "tmo": 120} +{"i": 19, "in": "HoldComplete[Information[\"AddVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"AddVertices[g, n] adds n disconnected vertices to graph g. AddVertices[g, vList] adds vertices in vList to g. vList contains embedding and graphics information and can have the form {x, y} or {{x1, y1}, {x2, y2}...} or the form {{{x1, y1}, g1}, {{x2, y2}, g2},...}, where {x, y}, {x1, y1}, and {x2, y2} are point coordinates and g1 and g2 are graphics information associated with vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`AddVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 20, "in": "HoldComplete[ShowGraph[ExpandGraph[Wheel[10], 20]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.969, "tmo": 120} +{"i": 21, "in": "HoldComplete[Information[\"GraphIntersection\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphIntersection[g1, g2, ...] constructs the graph defined by the edges that are in all the graphs g1, g2, ....\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphIntersection\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 22, "in": "HoldComplete[p1 = ShowGraph[s = Wheel[20], VertexColor -> Red, EdgeColor -> Red, VertexNumber -> On, Graphics]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 4.146, "tmo": 120} +{"i": 23, "in": "HoldComplete[p2 = ShowGraph[r = GridGraph[4, 5], VertexColor -> Blue, EdgeColor -> Blue, VertexNumber -> On, Graphics]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 2.699, "tmo": 120} +{"i": 24, "in": "HoldComplete[p3 = ShowGraph[GraphIntersection[s, r], VertexColor -> Green, EdgeColor -> Green, VertexNumber -> On, Graphics]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.895, "tmo": 120} +{"i": 25, "in": "HoldComplete[Show[GraphicsArray[{p1, p2, p3}], ImageSize -> 600]]", "status": "ok", "out": "", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 26, "in": "HoldComplete[p4 = ShowGraph[GraphIntersection[r, s], VertexColor -> Green, EdgeColor -> Green, VertexNumber -> On, Graphics]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.89, "tmo": 120} +{"i": 27, "in": "HoldComplete[Show[GraphicsArray[{p1, p2, p4}], ImageSize -> 600]]", "status": "ok", "out": "", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 28, "in": "HoldComplete[ShowGraph[GraphIntersection[t, CompleteGraph[63]], VertexNumber -> On, PlotRange -> Large[0.1]]]", "status": "ok", "out": "", "msgs": [], "secs": 16.816, "tmo": 120} +{"i": 29, "in": "HoldComplete[g = SetGraphOptions[Star[5], VertexColor -> Red]; ShowGraph[g]]", "status": "ok", "out": "", "msgs": [], "secs": 0.573, "tmo": 120} +{"i": 30, "in": "HoldComplete[ShowGraph[GraphIntersection[g, CompleteGraph[5]]]]", "status": "ok", "out": "", "msgs": [], "secs": 0.576, "tmo": 120} +{"i": 31, "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; rt = Table[Timing[GraphIntersection[gt[[i]], gt[[i]]]; ], {i, 20}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.002, "tmo": 120} +{"i": 32, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{145, Null}, 1, 1], Part[{122, Null}, 1, 1], Part[{117, Null}, 1, 1], Part[{127, Null}, 1, 1], Part[{112, Null}, 1, 1], Part[{115, Null}, 1, 1], Part[{110, Null}, 1, 1], Part[{127, Null}, 1, 1], Part[{108, Null}, 1, 1], Part[{109, Null}, 1, 1], Part[{108, Null}, 1, 1], Part[{107, Null}, 1, 1], Part[{126, Null}, 1, 1], Part[{115, Null}, 1, 1], Part[{109, Null}, 1, 1], Part[{109, Null}, 1, 1], Part[{108, Null}, 1, 1], Part[{131, Null}, 1, 1], Part[{113, Null}, 1, 1], Part[{109, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.00144739, Null}[[1, 1]], {0.00121917, Null}[[1, 1]], {0.00117257, Null}[[1, 1]], {0.00127178, Null}[[1, 1]], {0.00112143, Null}[[1, 1]], {0.0011516, Null}[[1, 1]], {0.00110247, Null}[[1, 1]], {0.00127395, Null}[[1, 1]], {0.00107996, Null}[[1, 1]], {0.00109409, Null}[[1, 1]], {0.00107611, Null}[[1, 1]], {0.00106892, Null}[[1, 1]], {0.00126248, Null}[[1, 1]], {0.00114562, Null}[[1, 1]], {0.00109192, Null}[[1, 1]], {0.00108562, Null}[[1, 1]], {0.0010795, Null}[[1, 1]], {0.00131088, Null}[[1, 1]], {0.0011328, Null}[[1, 1]], {0.00109377, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{145, Null}[[1, 1]], {122, Null}[[1, 1]], {117, Null}[[1, 1]], {127, Null}[[1, 1]], {112, Null}[[1, 1]], {115, Null}[[1, 1]], {110, Null}[[1, 1]], {127, Null}[[1, 1]], {108, Null}[[1, 1]], {109, Null}[[1, 1]], {108, Null}[[1, 1]], {107, Null}[[1, 1]], {126, Null}[[1, 1]], {115, Null}[[1, 1]], {109, Null}[[1, 1]], {109, Null}[[1, 1]], {108, Null}[[1, 1]], {131, Null}[[1, 1]], {113, Null}[[1, 1]], {109, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.065, "tmo": 120} +{"i": 33, "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`CompleteGraph[80]; aa = CompleteGraph[80]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.438, "tmo": 120} +{"i": 34, "in": "HoldComplete[b = DiscreteMath`OldCombinatorica`GridGraph[8, 10]; bb = GridGraph[8, 10]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.648, "tmo": 120} +{"i": 35, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphIntersection[a, b]; ], Timing[GraphIntersection[aa, bb]; ], Timing[GraphIntersection[bb, aa]; ]}]", "status": "ok", "out": "{{31, Null}, {9495290, Null}, {557464, Null}}", "msgs": [], "secs": 100.636, "tmo": 120} +{"i": 36, "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`RandomTree[100]; aa = RandomTree[100]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 3.721, "tmo": 120} +{"i": 37, "in": "HoldComplete[b = DiscreteMath`OldCombinatorica`GridGraph[10, 10]; bb = GridGraph[10, 10]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.766, "tmo": 120} +{"i": 38, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphIntersection[a, b]; ], Timing[GraphIntersection[aa, bb]; ]}]", "status": "ok", "out": "{{32, Null}, {35738, Null}}", "msgs": [], "secs": 0.366, "tmo": 120} +{"i": 39, "in": "HoldComplete[Information[\"GraphDifference\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphDifference[g, h] constructs the graph resulting from subtracting the edges of graph h from the edges of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphDifference\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 40, "in": "HoldComplete[Edges[GraphDifference[t, t]]]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.164, "tmo": 120} +{"i": 41, "in": "HoldComplete[ShowGraph[s = EmptyGraph[V[t]], VertexStyle -> Disc[Small]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.79, "tmo": 120} +{"i": 42, "in": "HoldComplete[ShowGraph[GraphDifference[t, s]]]", "status": "ok", "out": "", "msgs": [], "secs": 15.879, "tmo": 120} +{"i": 43, "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`CompleteGraph[100]; aa = CompleteGraph[100]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 2.166, "tmo": 120} +{"i": 44, "in": "HoldComplete[b = DiscreteMath`OldCombinatorica`RandomTree[100]; bb = RandomTree[100]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 3.857, "tmo": 120} +{"i": 45, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphDifference[a, a]; ], Timing[GraphDifference[aa, aa]; ]}]", "status": "ok", "out": "{{24, Null}, {1369958, Null}}", "msgs": [], "secs": 13.724, "tmo": 120} +{"i": 46, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphDifference[b, b]; ], Timing[GraphDifference[bb, bb]; ]}]", "status": "ok", "out": "{{26, Null}, {19839, Null}}", "msgs": [], "secs": 0.207, "tmo": 120} +{"i": 47, "in": "HoldComplete[Information[\"GraphSum\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphSum[g1, g2, ...] constructs the graph resulting from joining the edge lists of graphs g1, g2, and so forth.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphSum\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.013, "tmo": 120} +{"i": 48, "in": "HoldComplete[ShowGraph[GraphSum[t, Path[63]]]]", "status": "ok", "out": "", "msgs": [], "secs": 20.284, "tmo": 120} +{"i": 49, "in": "HoldComplete[g = SetGraphOptions[Wheel[10], EdgeStyle -> Fat, EdgeColor -> Purple]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.076, "tmo": 120} +{"i": 50, "in": "HoldComplete[h = SetGraphOptions[Star[10], EdgeColor -> Green]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.063, "tmo": 120} +{"i": 51, "in": "HoldComplete[ShowGraph[GraphSum[g, Star[10]]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.661, "tmo": 120} +{"i": 52, "in": "HoldComplete[p1 = ShowGraph[a = SetGraphOptions[GridGraph[3, 3], EdgeColor -> LightBlue, VertexColor -> Red, VertexStyle -> Disc[Large]], Graphics]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.215, "tmo": 120} +{"i": 53, "in": "HoldComplete[p2 = ShowGraph[b = SetGraphOptions[Wheel[9], EdgeColor -> Yellow, VertexColor -> LightBlue, VertexStyle -> Disc[Large]], Graphics]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.261, "tmo": 120} +{"i": 54, "in": "HoldComplete[Show[GraphicsArray[{p1, p2}], ImageSize -> 500, Background -> Black]]", "status": "ok", "out": "", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 55, "in": "HoldComplete[ShowGraph[GraphSum[a, b], Background -> Black, PlotRange -> Large[0.01]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.486, "tmo": 120} +{"i": 56, "in": "HoldComplete[b = Wheel[9]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 57, "in": "HoldComplete[ShowGraph[b]]", "status": "ok", "out": "", "msgs": [], "secs": 1.198, "tmo": 120} +{"i": 58, "in": "HoldComplete[p2 = ShowGraph[b = SetGraphOptions[b, Append[Edges[b], EdgeColor -> Yellow], VertexColor -> LightBlue, VertexStyle -> Disc[Large]], Background -> Black, PlotRange -> Large[0.01]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.116, "tmo": 120} +{"i": 59, "in": "HoldComplete[ShowGraph[GraphSum[a, b], Background -> Black, PlotRange -> Large[0.01]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.358, "tmo": 120} +{"i": 60, "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; , Null, rt = Table[Timing[GraphSum[gt[[i]], gt[[i]]]; ], {i, 20}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.796, "tmo": 120} +{"i": 61, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{145, Null}, 1, 1], Part[{122, Null}, 1, 1], Part[{117, Null}, 1, 1], Part[{127, Null}, 1, 1], Part[{112, Null}, 1, 1], Part[{115, Null}, 1, 1], Part[{110, Null}, 1, 1], Part[{127, Null}, 1, 1], Part[{108, Null}, 1, 1], Part[{109, Null}, 1, 1], Part[{108, Null}, 1, 1], Part[{107, Null}, 1, 1], Part[{126, Null}, 1, 1], Part[{115, Null}, 1, 1], Part[{109, Null}, 1, 1], Part[{109, Null}, 1, 1], Part[{108, Null}, 1, 1], Part[{131, Null}, 1, 1], Part[{113, Null}, 1, 1], Part[{109, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.00144739, Null}[[1, 1]], {0.00121917, Null}[[1, 1]], {0.00117257, Null}[[1, 1]], {0.00127178, Null}[[1, 1]], {0.00112143, Null}[[1, 1]], {0.0011516, Null}[[1, 1]], {0.00110247, Null}[[1, 1]], {0.00127395, Null}[[1, 1]], {0.00107996, Null}[[1, 1]], {0.00109409, Null}[[1, 1]], {0.00107611, Null}[[1, 1]], {0.00106892, Null}[[1, 1]], {0.00126248, Null}[[1, 1]], {0.00114562, Null}[[1, 1]], {0.00109192, Null}[[1, 1]], {0.00108562, Null}[[1, 1]], {0.0010795, Null}[[1, 1]], {0.00131088, Null}[[1, 1]], {0.0011328, Null}[[1, 1]], {0.00109377, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{145, Null}[[1, 1]], {122, Null}[[1, 1]], {117, Null}[[1, 1]], {127, Null}[[1, 1]], {112, Null}[[1, 1]], {115, Null}[[1, 1]], {110, Null}[[1, 1]], {127, Null}[[1, 1]], {108, Null}[[1, 1]], {109, Null}[[1, 1]], {108, Null}[[1, 1]], {107, Null}[[1, 1]], {126, Null}[[1, 1]], {115, Null}[[1, 1]], {109, Null}[[1, 1]], {109, Null}[[1, 1]], {108, Null}[[1, 1]], {131, Null}[[1, 1]], {113, Null}[[1, 1]], {109, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.067, "tmo": 120} +{"i": 62, "in": "HoldComplete[aa = Table[DiscreteMath`OldCombinatorica`RandomTree[i^2], {i, 10, 30, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.01, "tmo": 120} +{"i": 63, "in": "HoldComplete[bb = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 64, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`GraphSum[aa[[i]], bb[[i]]]; ], {i, 3}]]", "status": "ok", "out": "{{67, Null}, {37, Null}, {36, Null}}", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 65, "in": "HoldComplete[Information[\"GraphJoin\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphJoin[g1, g2, ...] constructs the join of graphs g1, g2, and so on. This is the graph obtained by adding all possible edges between different graphs to the graph union of g1, g2, ....\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphJoin\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 66, "in": "HoldComplete[l = r = EmptyGraph[5]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 67, "in": "HoldComplete[ShowGraph[GraphUnion[l, r]]]", "status": "ok", "out": "", "msgs": [], "secs": 0.662, "tmo": 120} +{"i": 68, "in": "HoldComplete[ShowGraph[GraphJoin[l, r]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.822, "tmo": 120} +{"i": 69, "in": "HoldComplete[g1 = SetGraphOptions[Cycle[10], VertexStyle -> Disc[Large], VertexColor -> Blue]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.083, "tmo": 120} +{"i": 70, "in": "HoldComplete[g2 = SetGraphOptions[CompleteGraph[1], VertexColor -> Green, VertexStyle -> Disc[Large]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.028, "tmo": 120} +{"i": 71, "in": "HoldComplete[g3 = SetGraphOptions[CompleteGraph[1], {1, VertexColor -> Green}, VertexStyle -> Disc[Large]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.023, "tmo": 120} +{"i": 72, "in": "HoldComplete[ShowGraph[GraphJoin[g1, g2], PlotRange -> Large[0.1]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.639, "tmo": 120} +{"i": 73, "in": "HoldComplete[ShowGraph[GraphJoin[g1, g3], PlotRange -> Large[0.1]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.701, "tmo": 120} +{"i": 74, "in": "HoldComplete[Information[\"GraphJoin\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphJoin[g1, g2, ...] constructs the join of graphs g1, g2, and so on. This is the graph obtained by adding all possible edges between different graphs to the graph union of g1, g2, ....\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphJoin\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.018, "tmo": 120} +{"i": 75, "in": "HoldComplete[gt = Table[GridGraph[5, 5*i], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 3.482, "tmo": 120} +{"i": 76, "in": "HoldComplete[rt = Table[Timing[GraphJoin[gt[[i]], gt[[i]]]; ], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 108.884, "tmo": 120} +{"i": 77, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{192591, Null}, 1, 1], Part[{1007964, Null}, 1, 1], Part[{1766675, Null}, 1, 1], Part[{3128520, Null}, 1, 1], Part[{4778354, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{1.92591, Null}[[1, 1]], {10.0796, Null}[[1, 1]], {17.6667, Null}[[1, 1]], {31.2852, Null}[[1, 1]], {47.7835, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{192591, Null}[[1, 1]], {1007964, Null}[[1, 1]], {1766675, Null}[[1, 1]], {3128520, Null}[[1, 1]], {4778354, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.026, "tmo": 120} +{"i": 78, "in": "HoldComplete[a = Table[DiscreteMath`OldCombinatorica`RandomTree[i], {i, 50, 70, 10}]; aa = Table[RandomTree[i], {i, 50, 70, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 6.303, "tmo": 120} +{"i": 79, "in": "HoldComplete[b = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; bb = Table[GridGraph[i, i], {i, 10, 30, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 9.534, "tmo": 120} +{"i": 80, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`GraphJoin[a[[i]], b[[i]]]; ], {i, 3}]]", "status": "ok", "out": "{{42, Null}, {43, Null}, {42, Null}}", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 81, "in": "HoldComplete[Table[Timing[GraphJoin[aa[[i]], bb[[i]]]; ], {i, 2}]]", "status": "ok", "out": "{{1601444, Null}, {7025045, Null}}", "msgs": [], "secs": 86.368, "tmo": 120} +{"i": 82, "in": "HoldComplete[Information[\"GraphProduct\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphProduct[g1, g2, ...] constructs the product of graphs g1, g2, and so forth.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphProduct\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 83, "in": "HoldComplete[l = Wheel[5]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.023, "tmo": 120} +{"i": 84, "in": "HoldComplete[r = GridGraph[3, 3]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.125, "tmo": 120} +{"i": 85, "in": "HoldComplete[ShowGraph[GraphProduct[l, r], VertexStyle -> Disc[Small]]]", "status": "ok", "out": "", "msgs": [], "secs": 10.235, "tmo": 120} +{"i": 86, "in": "HoldComplete[ShowGraph[GraphProduct[CompleteGraph[3], CompleteGraph[5]]]]", "status": "ok", "out": "", "msgs": [], "secs": 8.576, "tmo": 120} +{"i": 87, "in": "HoldComplete[ShowGraph[GraphProduct[CompleteGraph[5], CompleteGraph[3]]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.14, "tmo": 120} +{"i": 88, "in": "HoldComplete[ShowGraph[GraphProduct[CompleteGraph[3], Star[3], CompleteGraph[3]]]]", "status": "ok", "out": "", "msgs": [], "secs": 5.472, "tmo": 120} +{"i": 89, "in": "HoldComplete[ShowGraph[l = SetGraphOptions[l, VertexColor -> Green, EdgeColor -> Green], Background -> Black]]", "status": "ok", "out": "", "msgs": [], "secs": 0.71, "tmo": 120} +{"i": 90, "in": "HoldComplete[ShowGraph[r = SetGraphOptions[r, VertexColor -> Orange, EdgeColor -> Orange], Background -> Black]]", "status": "ok", "out": "", "msgs": [], "secs": 1.091, "tmo": 120} +{"i": 91, "in": "HoldComplete[ShowGraph[GraphProduct[l, r]]]", "status": "ok", "out": "", "msgs": [], "secs": 10.61, "tmo": 120} +{"i": 92, "in": "HoldComplete[ShowGraph[l1 = SetGraphOptions[l, VertexColor -> Red, EdgeColor -> Orange], Background -> Black]]", "status": "ok", "out": "", "msgs": [], "secs": 0.698, "tmo": 120} +{"i": 93, "in": "HoldComplete[ShowGraph[r1 = SetGraphOptions[r, VertexColor -> Orange, EdgeColor -> Orange], Background -> Black]]", "status": "ok", "out": "", "msgs": [], "secs": 1.085, "tmo": 120} +{"i": 94, "in": "HoldComplete[ShowGraph[GraphProduct[l, r]]]", "status": "ok", "out": "", "msgs": [], "secs": 10.53, "tmo": 120} +{"i": 95, "in": "HoldComplete[gt = Table[GridGraph[5, 5*i], {i, 10}]; , Null, rt = Table[Timing[GraphProduct[gt[[i]], gt[[i]]]; ], {i, 10}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.012, "tmo": 120} +{"i": 96, "in": "HoldComplete[g = GraphProduct[gt[[10]], gt[[10]]]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.049, "tmo": 120} +{"i": 97, "in": "HoldComplete[M[g]]", "status": "ok", "out": "18", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 98, "in": "HoldComplete[V[g]]", "status": "ok", "out": "10", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 99, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{192591, Null}, 1, 1], Part[{1007964, Null}, 1, 1], Part[{1766675, Null}, 1, 1], Part[{3128520, Null}, 1, 1], Part[{4778354, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{1.92591, Null}[[1, 1]], {10.0796, Null}[[1, 1]], {17.6667, Null}[[1, 1]], {31.2852, Null}[[1, 1]], {47.7835, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{192591, Null}[[1, 1]], {1007964, Null}[[1, 1]], {1766675, Null}[[1, 1]], {3128520, Null}[[1, 1]], {4778354, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.026, "tmo": 120} +{"i": 100, "in": "HoldComplete[aa = Cycle[100]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.394, "tmo": 120} +{"i": 101, "in": "HoldComplete[bb = RandomTree[100]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 3.73, "tmo": 120} +{"i": 102, "in": "HoldComplete[Timing[ans = GraphProduct[aa, bb]; ]]", "status": "ok", "out": "{5699825, Null}", "msgs": [], "secs": 57.019, "tmo": 120} +{"i": 103, "in": "HoldComplete[V[ans]]", "status": "ok", "out": "10000", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 104, "in": "HoldComplete[M[ans]]", "status": "ok", "out": "19900", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 105, "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`Cycle[30]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 106, "in": "HoldComplete[aa = Cycle[30]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.075, "tmo": 120} +{"i": 107, "in": "HoldComplete[b = DiscreteMath`OldCombinatorica`RandomTree[30]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 108, "in": "HoldComplete[bb = RandomTree[30]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.855, "tmo": 120} +{"i": 109, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphProduct[a, b]; ], Timing[GraphProduct[aa, bb]; ]}]", "status": "ok", "out": "{{42, Null}, {508449, Null}}", "msgs": [], "secs": 5.099, "tmo": 120} +{"i": 110, "in": "HoldComplete[Information[\"IncidenceMatrix\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"IncidenceMatrix[g] returns the (0, 1)-matrix of graph g, which has a row for each vertex and a column for each edge and (v, e) = 1 if and only if vertex v is incident upon edge e. For a directed graph, (v, e) = 1 if edge e is outgoing from v.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`IncidenceMatrix\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.022, "tmo": 120} +{"i": 111, "in": "HoldComplete[MatrixForm[IncidenceMatrix[Star[10]]]]", "status": "ok", "out": "MatrixForm[{{1, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 1, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 1, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1}}]", "msgs": [], "secs": 0.274, "tmo": 120} +{"i": 112, "in": "HoldComplete[g = SetGraphOptions[Star[10], EdgeDirection -> On]; ShowGraph[g, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 0.994, "tmo": 120} +{"i": 113, "in": "HoldComplete[MatrixForm[IncidenceMatrix[g]]]", "status": "ok", "out": "MatrixForm[{{1, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 1, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 1, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 1}, {0, 0, 0, 0, 0, 0, 0, 0, 0}}]", "msgs": [], "secs": 0.178, "tmo": 120} +{"i": 114, "in": "HoldComplete[Information[\"LineGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"LineGraph[g] constructs the line graph of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`LineGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.021, "tmo": 120} +{"i": 115, "in": "HoldComplete[ShowGraph[LineGraph[CompleteGraph[5]]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.106, "tmo": 120} +{"i": 116, "in": "HoldComplete[ShowGraph[LineGraph[Cycle[10]]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.2, "tmo": 120} +{"i": 117, "in": "HoldComplete[ShowGraph[LineGraph[GridGraph[7, 7]]]]", "status": "ok", "out": "", "msgs": [], "secs": 21.588, "tmo": 120} +{"i": 118, "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`GridGraph[25, 25]; aa = GridGraph[25, 25]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 3.979, "tmo": 120} +{"i": 119, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`LineGraph[a]; ], Timing[LineGraph[aa]; ]}]", "status": "ok", "out": "{{28, Null}, {3944544, Null}}", "msgs": [], "secs": 39.465, "tmo": 120} +{"i": 120, "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 15}]; , Null, rt = Table[Timing[LineGraph[gt[[i]]]; ], {i, 15}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 121, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{192591, Null}, 1, 1], Part[{1007964, Null}, 1, 1], Part[{1766675, Null}, 1, 1], Part[{3128520, Null}, 1, 1], Part[{4778354, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{1.92591, Null}[[1, 1]], {10.0796, Null}[[1, 1]], {17.6667, Null}[[1, 1]], {31.2852, Null}[[1, 1]], {47.7835, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{192591, Null}[[1, 1]], {1007964, Null}[[1, 1]], {1766675, Null}[[1, 1]], {3128520, Null}[[1, 1]], {4778354, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.028, "tmo": 120} +{"i": 122, "in": "HoldComplete[Information[\"CirculantGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"CirculantGraph[n, l] constructs a circulant graph on n vertices, meaning the ith vertex is adjacent to the (i+j)th and (i-j)th vertices, for each j in list l. CirculantGraph[n, l], where l is an integer, returns the graph with n vertices in which each i is adjacent to (i+l) and (i-l).\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`CirculantGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.023, "tmo": 120} +{"i": 123, "in": "HoldComplete[ShowGraph[CirculantGraph[21, RandomKSubset[Range[10], 3]]]]", "status": "ok", "out": "", "msgs": [], "secs": 4.321, "tmo": 120} +{"i": 124, "in": "HoldComplete[ShowGraph[CirculantGraph[21, RandomKSubset[Range[10], 3]]]]", "status": "ok", "out": "", "msgs": [], "secs": 4.258, "tmo": 120} +{"i": 125, "in": "HoldComplete[ShowGraph[CirculantGraph[21, RandomKSubset[Range[10], 3]]]]", "status": "ok", "out": "", "msgs": [], "secs": 12.688, "tmo": 120} +{"i": 126, "in": "HoldComplete[ne = Edges[CirculantGraph[5, {1, 2}]]]", "status": "ok", "out": "{{1, 2}, {1, 3}, {1, 4}, {1, 5}, {2, 3}, {2, 4}, {2, 5}, {3, 4}, {3, 5}, {4, 5}}", "msgs": [], "secs": 0.071, "tmo": 120} +{"i": 127, "in": "HoldComplete[Length[ne]]", "status": "ok", "out": "10", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 128, "in": "HoldComplete[ne = Edges[CirculantGraph[4, {1, 2}]]]", "status": "ok", "out": "{{1, 2}, {1, 3}, {1, 4}, {2, 3}, {2, 4}, {3, 4}}", "msgs": [], "secs": 0.058, "tmo": 120} +{"i": 129, "in": "HoldComplete[Length[ne]]", "status": "ok", "out": "6", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 130, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`CirculantGraph[2000, {1, 2, 3, 4, 5}]; ], Timing[CirculantGraph[2000, {1, 2, 3, 4, 5}]; ]}]", "status": "ok", "out": "{{9, Null}, {3469911, Null}}", "msgs": [], "secs": 34.72, "tmo": 120} +{"i": 131, "in": "HoldComplete[p = Table[RandomKSubset[Range[200*i], 5], {i, 20}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 132, "in": "HoldComplete[rt = Table[Timing[CirculantGraph[200*i, p[[i]]]; ], {i, 20}]]", "status": "msg", "out": "{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.099, "tmo": 120} +{"i": 133, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{377, Null}, 1, 1], Part[{208, Null}, 1, 1], Part[{204, Null}, 1, 1], Part[{232, Null}, 1, 1], Part[{203, Null}, 1, 1], Part[{195, Null}, 1, 1], Part[{221, Null}, 1, 1], Part[{197, Null}, 1, 1], Part[{199, Null}, 1, 1], Part[{230, Null}, 1, 1], Part[{202, Null}, 1, 1], Part[{199, Null}, 1, 1], Part[{819, Null}, 1, 1], Part[{250, Null}, 1, 1], Part[{229, Null}, 1, 1], Part[{442, Null}, 1, 1], Part[{296, Null}, 1, 1], Part[{254, Null}, 1, 1], Part[{273, Null}, 1, 1], Part[{221, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.0037704, Null}[[1, 1]], {0.00207517, Null}[[1, 1]], {0.00203754, Null}[[1, 1]], {0.00231734, Null}[[1, 1]], {0.00202681, Null}[[1, 1]], {0.00194982, Null}[[1, 1]], {0.00221188, Null}[[1, 1]], {0.00196741, Null}[[1, 1]], {0.00198581, Null}[[1, 1]], {0.0023032, Null}[[1, 1]], {0.00201682, Null}[[1, 1]], {0.00199178, Null}[[1, 1]], {0.00819466, Null}[[1, 1]], {0.00250176, Null}[[1, 1]], {0.00229304, Null}[[1, 1]], {0.00441899, Null}[[1, 1]], {0.00296493, Null}[[1, 1]], {0.00253921, Null}[[1, 1]], {0.0027282, Null}[[1, 1]], {0.00220539, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{377, Null}[[1, 1]], {208, Null}[[1, 1]], {204, Null}[[1, 1]], {232, Null}[[1, 1]], {203, Null}[[1, 1]], {195, Null}[[1, 1]], {221, Null}[[1, 1]], {197, Null}[[1, 1]], {199, Null}[[1, 1]], {230, Null}[[1, 1]], {202, Null}[[1, 1]], {199, Null}[[1, 1]], {819, Null}[[1, 1]], {250, Null}[[1, 1]], {229, Null}[[1, 1]], {442, Null}[[1, 1]], {296, Null}[[1, 1]], {254, Null}[[1, 1]], {273, Null}[[1, 1]], {221, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.07, "tmo": 120} +{"i": 134, "in": "HoldComplete[Information[\"CompleteGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"CompleteGraph[n] creates a complete graph on n vertices. An option Type that takes on the values Directed or Undirected is allowed. The default setting for this option is Type -> Undirected. CompleteGraph[a, b, c,...] creates a complete k-partite graph of the prescribed shape. The use of CompleteGraph to create a complete k-partite graph is obsolete; use CompleteKPartiteGraph instead.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`CompleteGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.03, "tmo": 120} +{"i": 135, "in": "HoldComplete[ShowGraph[CompleteGraph[10]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.696, "tmo": 120} +{"i": 136, "in": "HoldComplete[rt = Table[Timing[CompleteGraph[100 + 10*i]; ], {i, 30}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 137, "in": "HoldComplete[ListPlot[Table[{(50 + 5*i)*(99 + 10*i), rt[[i,1,1]]}, {i, 30}], PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{{5995, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 1, 1, 1]}, {7140, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 2, 1, 1]}, {8385, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 3, 1, 1]}, {9730, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 4, 1, 1]}, {11175, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 5, 1, 1]}, {12720, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 6, 1, 1]}, {14365, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 7, 1, 1]}, {16110, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 8, 1, 1]}, {17955, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 9, 1, 1]}, {19900, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 10, 1, 1]}, {21945, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 11, 1, 1]}, {24090, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 12, 1, 1]}, {26335, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}, 13, 1, 1]}, {28680, Part[{{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}...", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 21 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 22 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 23 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 24 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 25 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 26 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 27 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 28 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 29 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 30 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 21 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 22 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 23 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 24 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 25 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 26 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 27 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 28 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 29 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "Part::partw: Part 30 of {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}} does not exist.", "ListPlot::lpn: {{5995, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[1, 1, 1]]}, {7140, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[2, 1, 1]]}, {8385, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[3, 1, 1]]}, {9730, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[4, 1, 1]]}, {11175, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[5, 1, 1]]}, {12720, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[6, 1, 1]]}, {14365, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[7, 1, 1]]}, {16110, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[8, 1, 1]]}, {17955, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[9, 1, 1]]}, {19900, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[10, 1, 1]]}, {21945, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[11, 1, 1]]}, {24090, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[12, 1, 1]]}, {26335, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[13, 1, 1]]}, {28680, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[14, 1, 1]]}, {31125, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[15, 1, 1]]}, {33670, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[16, 1, 1]]}, {36315, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[17, 1, 1]]}, {39060, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[18, 1, 1]]}, {41905, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[19, 1, 1]]}, {44850, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[20, 1, 1]]}, {47895, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[21, 1, 1]]}, {51040, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[22, 1, 1]]}, {54285, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[23, 1, 1]]}, {57630, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[24, 1, 1]]}, {61075, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[25, 1, 1]]}, {64620, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[26, 1, 1]]}, {68265, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[27, 1, 1]]}, {72010, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[28, 1, 1]]}, {75855, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[29, 1, 1]]}, {79800, {{0.0037704, Null}, {0.00207517, Null}, {0.00203754, Null}, {0.00231734, Null}, {0.00202681, Null}, {0.00194982, Null}, {0.00221188, Null}, {0.00196741, Null}, {0.00198581, Null}, {0.0023032, Null}, {0.00201682, Null}, {0.00199178, Null}, {0.00819466, Null}, {0.00250176, Null}, {0.00229304, Null}, {0.00441899, Null}, {0.00296493, Null}, {0.00253921, Null}, {0.0027282, Null}, {0.00220539, Null}}[[30, 1, 1]]}} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 21 of {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}} does not exist.", "Part::partw: Part 22 of {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}} does not exist.", "Part::partw: Part 23 of {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}} does not exist.", "Part::partw: Part 24 of {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}} does not exist.", "Part::partw: Part 25 of {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}} does not exist.", "Part::partw: Part 26 of {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}} does not exist.", "Part::partw: Part 27 of {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}} does not exist.", "Part::partw: Part 28 of {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}} does not exist.", "Part::partw: Part 29 of {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}} does not exist.", "Part::partw: Part 30 of {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}} does not exist.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partw: Part 21 of {{377., Null}, {208., Null}, {204., Null}, {232., Null}, {203., Null}, {195., Null}, {221., Null}, {197., Null}, {199., Null}, {230., Null}, {202., Null}, {199., Null}, {819., Null}, {250., Null}, {229., Null}, {442., Null}, {296., Null}, {254., Null}, {273., Null}, {221., Null}} does not exist.", "Part::partw: Part 22 of {{377., Null}, {208., Null}, {204., Null}, {232., Null}, {203., Null}, {195., Null}, {221., Null}, {197., Null}, {199., Null}, {230., Null}, {202., Null}, {199., Null}, {819., Null}, {250., Null}, {229., Null}, {442., Null}, {296., Null}, {254., Null}, {273., Null}, {221., Null}} does not exist.", "Part::partw: Part 23 of {{377., Null}, {208., Null}, {204., Null}, {232., Null}, {203., Null}, {195., Null}, {221., Null}, {197., Null}, {199., Null}, {230., Null}, {202., Null}, {199., Null}, {819., Null}, {250., Null}, {229., Null}, {442., Null}, {296., Null}, {254., Null}, {273., Null}, {221., Null}} does not exist.", "Part::partw: Part 24 of {{377., Null}, {208., Null}, {204., Null}, {232., Null}, {203., Null}, {195., Null}, {221., Null}, {197., Null}, {199., Null}, {230., Null}, {202., Null}, {199., Null}, {819., Null}, {250., Null}, {229., Null}, {442., Null}, {296., Null}, {254., Null}, {273., Null}, {221., Null}} does not exist.", "Part::partw: Part 25 of {{377., Null}, {208., Null}, {204., Null}, {232., Null}, {203., Null}, {195., Null}, {221., Null}, {197., Null}, {199., Null}, {230., Null}, {202., Null}, {199., Null}, {819., Null}, {250., Null}, {229., Null}, {442., Null}, {296., Null}, {254., Null}, {273., Null}, {221., Null}} does not exist.", "Part::partw: Part 26 of {{377., Null}, {208., Null}, {204., Null}, {232., Null}, {203., Null}, {195., Null}, {221., Null}, {197., Null}, {199., Null}, {230., Null}, {202., Null}, {199., Null}, {819., Null}, {250., Null}, {229., Null}, {442., Null}, {296., Null}, {254., Null}, {273., Null}, {221., Null}} does not exist.", "Part::partw: Part 27 of {{377., Null}, {208., Null}, {204., Null}, {232., Null}, {203., Null}, {195., Null}, {221., Null}, {197., Null}, {199., Null}, {230., Null}, {202., Null}, {199., Null}, {819., Null}, {250., Null}, {229., Null}, {442., Null}, {296., Null}, {254., Null}, {273., Null}, {221., Null}} does not exist.", "Part::partw: Part 28 of {{377., Null}, {208., Null}, {204., Null}, {232., Null}, {203., Null}, {195., Null}, {221., Null}, {197., Null}, {199., Null}, {230., Null}, {202., Null}, {199., Null}, {819., Null}, {250., Null}, {229., Null}, {442., Null}, {296., Null}, {254., Null}, {273., Null}, {221., Null}} does not exist.", "Part::partw: Part 29 of {{377., Null}, {208., Null}, {204., Null}, {232., Null}, {203., Null}, {195., Null}, {221., Null}, {197., Null}, {199., Null}, {230., Null}, {202., Null}, {199., Null}, {819., Null}, {250., Null}, {229., Null}, {442., Null}, {296., Null}, {254., Null}, {273., Null}, {221., Null}} does not exist.", "Part::partw: Part 30 of {{377., Null}, {208., Null}, {204., Null}, {232., Null}, {203., Null}, {195., Null}, {221., Null}, {197., Null}, {199., Null}, {230., Null}, {202., Null}, {199., Null}, {819., Null}, {250., Null}, {229., Null}, {442., Null}, {296., Null}, {254., Null}, {273., Null}, {221., Null}} does not exist.", "ListPlot::lpn: {{5995, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[1, 1, 1]]}, {7140, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[2, 1, 1]]}, {8385, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[3, 1, 1]]}, {9730, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[4, 1, 1]]}, {11175, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[5, 1, 1]]}, {12720, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[6, 1, 1]]}, {14365, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[7, 1, 1]]}, {16110, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[8, 1, 1]]}, {17955, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[9, 1, 1]]}, {19900, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[10, 1, 1]]}, {21945, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[11, 1, 1]]}, {24090, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[12, 1, 1]]}, {26335, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[13, 1, 1]]}, {28680, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[14, 1, 1]]}, {31125, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[15, 1, 1]]}, {33670, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[16, 1, 1]]}, {36315, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[17, 1, 1]]}, {39060, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[18, 1, 1]]}, {41905, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[19, 1, 1]]}, {44850, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[20, 1, 1]]}, {47895, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[21, 1, 1]]}, {51040, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[22, 1, 1]]}, {54285, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[23, 1, 1]]}, {57630, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[24, 1, 1]]}, {61075, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[25, 1, 1]]}, {64620, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[26, 1, 1]]}, {68265, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[27, 1, 1]]}, {72010, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[28, 1, 1]]}, {75855, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[29, 1, 1]]}, {79800, {{377, Null}, {208, Null}, {204, Null}, {232, Null}, {203, Null}, {195, Null}, {221, Null}, {197, Null}, {199, Null}, {230, Null}, {202, Null}, {199, Null}, {819, Null}, {250, Null}, {229, Null}, {442, Null}, {296, Null}, {254, Null}, {273, Null}, {221, Null}}[[30, 1, 1]]}} is not a list of numbers or pairs of numbers."], "secs": 1.088, "tmo": 120} +{"i": 138, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`CompleteGraph[250]; ], Timing[CompleteGraph[250]; ]}]", "status": "ok", "out": "{{8, Null}, {2201475, Null}}", "msgs": [], "secs": 22.032, "tmo": 120} +{"i": 139, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`CompleteGraph[500]; ], Timing[CompleteGraph[500]; ]}]", "status": "ok", "out": "{{14, Null}, {5391150, Null}}", "msgs": [], "secs": 53.938, "tmo": 120} +{"i": 140, "in": "HoldComplete[ShowGraph[CompleteGraph[10, Type -> Directed]]]", "status": "ok", "out": "", "msgs": [], "secs": 14.536, "tmo": 120} +{"i": 141, "in": "HoldComplete[ShowGraph[CompleteGraph[3, 4, 3]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.312, "tmo": 120} +{"i": 142, "in": "HoldComplete[Information[\"ShakeGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ShakeGraph[g, d] performs a random perturbation of the vertices of graph g, with each vertex moving, at most, a distance d from its original position.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ShakeGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 143, "in": "HoldComplete[ShowGraph[ShakeGraph[CompleteGraph[3, 3, 3, 3], 0.3], VertexStyle -> Disc[Small], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 3.571, "tmo": 120} +{"i": 144, "in": "HoldComplete[Timing[CompleteGraph[100, 100, 100, 100]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 129.578, "tmo": 120} +{"i": 145, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`CompleteGraph[100, 100, 100, 100]; ]]", "status": "ok", "out": "{10, Null}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 146, "in": "HoldComplete[Information[\"EmptyGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"EmptyGraph[n] generates an empty graph on n vertices. An option Type that can take on values Directed or Undirected is provided. The default setting is Type -> Undirected.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`EmptyGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.032, "tmo": 120} +{"i": 147, "in": "HoldComplete[ShowGraph[EmptyGraph[10]]]", "status": "ok", "out": "", "msgs": [], "secs": 0.555, "tmo": 120} +{"i": 148, "in": "HoldComplete[DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`EmptyGraph[10]]]", "status": "ok", "out": "DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`EmptyGraph[10]]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 149, "in": "HoldComplete[Information[\"Turan\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Turan[n, p] constructs the Turan graph, the extremal graph on n vertices that does not contain CompleteGraph[p].\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Turan\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 150, "in": "HoldComplete[ShowGraph[Turan[10, 4]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.437, "tmo": 120} +{"i": 151, "in": "HoldComplete[ShowGraph[Turan[10, 2]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.041, "tmo": 120} +{"i": 152, "in": "HoldComplete[rt = Table[Timing[gt[[i]] = Turan[i*100, 50]; ], {i, 5, 10}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.008, "tmo": 120} +{"i": 153, "in": "PARSEFAIL:BoxData[RowBox[{\"ListPlot\", \"[\", \" \", RowBox[{\"Table\", \"[\", RowBox[{RowBox[{\"{\", RowBox[{RowBox[{\"M\", \"[\", \" \", RowBox[{\"gt\", \"[\", RowBox[{\"[\", \"i\", \"]\"}], \"]\"}], \" \", \"]\"}], \",\", \" \", RowBox[{\"rt\", \"[\", RowBox[{\"[\", \" \", \"i\", \"-\", \"4\", \",\", \" \", \"1\", \",\", \" \", \"1\", \" \", \"]\"}], \"]\"}], \" \"}], \"}\"}], \",\", \" \", RowBox[{\"{\", RowBox[{\"i\", \",\", \" \", \"5\", \",\", \" \", \"10\"}], \"}\"}]}], \"]\"}], \",\", \" \", RowBox[{\"PlotJoined\", \"->\", \"True\"}], \",\", \" \", RowBox[{\"ImageSize\", \"->\", \"400\"}], \"]\"}]]", "status": "ok", "out": "BoxData[RowBox[{\"ListPlot\", \"[\", \" \", RowBox[{\"Table\", \"[\", RowBox[{RowBox[{\"{\", RowBox[{RowBox[{\"M\", \"[\", \" \", RowBox[{\"gt\", \"[\", RowBox[{\"[\", \"i\", \"]\"}], \"]\"}], \" \", \"]\"}], \",\", \" \", RowBox[{\"rt\", \"[\", RowBox[{\"[\", \" \", \"i\", \"-\", \"4\", \",\", \" \", \"1\", \",\", \" \", \"1\", \" \", \"]\"}], \"]\"}], \" \"}], \"}\"}], \",\", \" \", RowBox[{\"{\", RowBox[{\"i\", \",\", \" \", \"5\", \",\", \" \", \"10\"}], \"}\"}]}], \"]\"}], \",\", \" \", RowBox[{\"PlotJoined\", \"->\", \"True\"}], \",\", \" \", RowBox[{\"ImageSize\", \"->\", \"400\"}], \"]\"}]]", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 154, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Turan[i*100, 50]; ], {i, 5, 10}]]", "status": "ok", "out": "{{24, Null}, {41, Null}, {33, Null}, {32, Null}, {47, Null}, {29, Null}}", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 155, "in": "HoldComplete[Clear[gt]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 156, "in": "HoldComplete[Information[\"Cycle\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Cycle[n] constructs the cycle on n vertices, the 2-regular connected graph. An option Type that takes on values Directed or Undirected is allowed. The default setting is Type -> Undirected.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Cycle\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.032, "tmo": 120} +{"i": 157, "in": "HoldComplete[ShowGraph[Cycle[20]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.912, "tmo": 120} +{"i": 158, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Cycle[2000]; ], Timing[Cycle[2000]; ]}]", "status": "ok", "out": "{{9, Null}, {589595, Null}}", "msgs": [], "secs": 5.907, "tmo": 120} +{"i": 159, "in": "HoldComplete[Timing[Cycle[50000]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 145.635, "tmo": 120} +{"i": 160, "in": "HoldComplete[rt = Table[Timing[Cycle[500*i]; ], {i, 20}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.006, "tmo": 120} +{"i": 161, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{377, Null}, 1, 1], Part[{208, Null}, 1, 1], Part[{204, Null}, 1, 1], Part[{232, Null}, 1, 1], Part[{203, Null}, 1, 1], Part[{195, Null}, 1, 1], Part[{221, Null}, 1, 1], Part[{197, Null}, 1, 1], Part[{199, Null}, 1, 1], Part[{230, Null}, 1, 1], Part[{202, Null}, 1, 1], Part[{199, Null}, 1, 1], Part[{819, Null}, 1, 1], Part[{250, Null}, 1, 1], Part[{229, Null}, 1, 1], Part[{442, Null}, 1, 1], Part[{296, Null}, 1, 1], Part[{254, Null}, 1, 1], Part[{273, Null}, 1, 1], Part[{221, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.0037704, Null}[[1, 1]], {0.00207517, Null}[[1, 1]], {0.00203754, Null}[[1, 1]], {0.00231734, Null}[[1, 1]], {0.00202681, Null}[[1, 1]], {0.00194982, Null}[[1, 1]], {0.00221188, Null}[[1, 1]], {0.00196741, Null}[[1, 1]], {0.00198581, Null}[[1, 1]], {0.0023032, Null}[[1, 1]], {0.00201682, Null}[[1, 1]], {0.00199178, Null}[[1, 1]], {0.00819466, Null}[[1, 1]], {0.00250176, Null}[[1, 1]], {0.00229304, Null}[[1, 1]], {0.00441899, Null}[[1, 1]], {0.00296493, Null}[[1, 1]], {0.00253921, Null}[[1, 1]], {0.0027282, Null}[[1, 1]], {0.00220539, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{377, Null}[[1, 1]], {208, Null}[[1, 1]], {204, Null}[[1, 1]], {232, Null}[[1, 1]], {203, Null}[[1, 1]], {195, Null}[[1, 1]], {221, Null}[[1, 1]], {197, Null}[[1, 1]], {199, Null}[[1, 1]], {230, Null}[[1, 1]], {202, Null}[[1, 1]], {199, Null}[[1, 1]], {819, Null}[[1, 1]], {250, Null}[[1, 1]], {229, Null}[[1, 1]], {442, Null}[[1, 1]], {296, Null}[[1, 1]], {254, Null}[[1, 1]], {273, Null}[[1, 1]], {221, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.068, "tmo": 120} +{"i": 162, "in": "HoldComplete[Information[\"Star\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Star[n] constructs a star on n vertices, which is a tree with one vertex of degree n-1.\", System`FullName \\[Rule] \"System`Star\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.033, "tmo": 120} +{"i": 163, "in": "HoldComplete[ShowGraph[Star[20]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.802, "tmo": 120} +{"i": 164, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Star[1000]; ], Timing[Star[1000]; ]}]", "status": "ok", "out": "{{8, Null}, {189995, Null}}", "msgs": [], "secs": 1.909, "tmo": 120} +{"i": 165, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Star[2000]; ], Timing[Star[2000]; ]}]", "status": "ok", "out": "{{8, Null}, {385757, Null}}", "msgs": [], "secs": 3.868, "tmo": 120} +{"i": 166, "in": "HoldComplete[rt = Table[Timing[Star[100*i]; ], {i, 100}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.006, "tmo": 120} +{"i": 167, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{377, Null}, 1, 1], Part[{208, Null}, 1, 1], Part[{204, Null}, 1, 1], Part[{232, Null}, 1, 1], Part[{203, Null}, 1, 1], Part[{195, Null}, 1, 1], Part[{221, Null}, 1, 1], Part[{197, Null}, 1, 1], Part[{199, Null}, 1, 1], Part[{230, Null}, 1, 1], Part[{202, Null}, 1, 1], Part[{199, Null}, 1, 1], Part[{819, Null}, 1, 1], Part[{250, Null}, 1, 1], Part[{229, Null}, 1, 1], Part[{442, Null}, 1, 1], Part[{296, Null}, 1, 1], Part[{254, Null}, 1, 1], Part[{273, Null}, 1, 1], Part[{221, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.0037704, Null}[[1, 1]], {0.00207517, Null}[[1, 1]], {0.00203754, Null}[[1, 1]], {0.00231734, Null}[[1, 1]], {0.00202681, Null}[[1, 1]], {0.00194982, Null}[[1, 1]], {0.00221188, Null}[[1, 1]], {0.00196741, Null}[[1, 1]], {0.00198581, Null}[[1, 1]], {0.0023032, Null}[[1, 1]], {0.00201682, Null}[[1, 1]], {0.00199178, Null}[[1, 1]], {0.00819466, Null}[[1, 1]], {0.00250176, Null}[[1, 1]], {0.00229304, Null}[[1, 1]], {0.00441899, Null}[[1, 1]], {0.00296493, Null}[[1, 1]], {0.00253921, Null}[[1, 1]], {0.0027282, Null}[[1, 1]], {0.00220539, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{377, Null}[[1, 1]], {208, Null}[[1, 1]], {204, Null}[[1, 1]], {232, Null}[[1, 1]], {203, Null}[[1, 1]], {195, Null}[[1, 1]], {221, Null}[[1, 1]], {197, Null}[[1, 1]], {199, Null}[[1, 1]], {230, Null}[[1, 1]], {202, Null}[[1, 1]], {199, Null}[[1, 1]], {819, Null}[[1, 1]], {250, Null}[[1, 1]], {229, Null}[[1, 1]], {442, Null}[[1, 1]], {296, Null}[[1, 1]], {254, Null}[[1, 1]], {273, Null}[[1, 1]], {221, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.071, "tmo": 120} +{"i": 168, "in": "HoldComplete[Information[\"Wheel\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Wheel[n] constructs a wheel on n vertices, which is the join of CompleteGraph[1] and Cycle[n-1].\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Wheel\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 169, "in": "HoldComplete[ShowGraph[Wheel[20]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.806, "tmo": 120} +{"i": 170, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Wheel[1000]; ], Timing[Wheel[1000]; ]}]", "status": "ok", "out": "{{10, Null}, {309697, Null}}", "msgs": [], "secs": 3.109, "tmo": 120} +{"i": 171, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Wheel[2000]; ], Timing[Wheel[2000]; ]}]", "status": "ok", "out": "{{9, Null}, {575626, Null}}", "msgs": [], "secs": 5.767, "tmo": 120} +{"i": 172, "in": "HoldComplete[rt = Table[Timing[Wheel[100*i]; ], {i, 200}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 173, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{377, Null}, 1, 1], Part[{208, Null}, 1, 1], Part[{204, Null}, 1, 1], Part[{232, Null}, 1, 1], Part[{203, Null}, 1, 1], Part[{195, Null}, 1, 1], Part[{221, Null}, 1, 1], Part[{197, Null}, 1, 1], Part[{199, Null}, 1, 1], Part[{230, Null}, 1, 1], Part[{202, Null}, 1, 1], Part[{199, Null}, 1, 1], Part[{819, Null}, 1, 1], Part[{250, Null}, 1, 1], Part[{229, Null}, 1, 1], Part[{442, Null}, 1, 1], Part[{296, Null}, 1, 1], Part[{254, Null}, 1, 1], Part[{273, Null}, 1, 1], Part[{221, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.0037704, Null}[[1, 1]], {0.00207517, Null}[[1, 1]], {0.00203754, Null}[[1, 1]], {0.00231734, Null}[[1, 1]], {0.00202681, Null}[[1, 1]], {0.00194982, Null}[[1, 1]], {0.00221188, Null}[[1, 1]], {0.00196741, Null}[[1, 1]], {0.00198581, Null}[[1, 1]], {0.0023032, Null}[[1, 1]], {0.00201682, Null}[[1, 1]], {0.00199178, Null}[[1, 1]], {0.00819466, Null}[[1, 1]], {0.00250176, Null}[[1, 1]], {0.00229304, Null}[[1, 1]], {0.00441899, Null}[[1, 1]], {0.00296493, Null}[[1, 1]], {0.00253921, Null}[[1, 1]], {0.0027282, Null}[[1, 1]], {0.00220539, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{377, Null}[[1, 1]], {208, Null}[[1, 1]], {204, Null}[[1, 1]], {232, Null}[[1, 1]], {203, Null}[[1, 1]], {195, Null}[[1, 1]], {221, Null}[[1, 1]], {197, Null}[[1, 1]], {199, Null}[[1, 1]], {230, Null}[[1, 1]], {202, Null}[[1, 1]], {199, Null}[[1, 1]], {819, Null}[[1, 1]], {250, Null}[[1, 1]], {229, Null}[[1, 1]], {442, Null}[[1, 1]], {296, Null}[[1, 1]], {254, Null}[[1, 1]], {273, Null}[[1, 1]], {221, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.066, "tmo": 120} +{"i": 174, "in": "HoldComplete[Information[\"Path\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"System`Path\", System`FullName \\[Rule] \"System`Path\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.031, "tmo": 120} +{"i": 175, "in": "HoldComplete[ShowGraph[Path[20]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.02, "tmo": 120} +{"i": 176, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`Path[2000]; ]]", "status": "ok", "out": "{10, Null}", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 177, "in": "HoldComplete[rt = Table[Timing[Path[100*i]; ], {i, 500}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 129.183, "tmo": 120} +{"i": 178, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{377, Null}, 1, 1], Part[{208, Null}, 1, 1], Part[{204, Null}, 1, 1], Part[{232, Null}, 1, 1], Part[{203, Null}, 1, 1], Part[{195, Null}, 1, 1], Part[{221, Null}, 1, 1], Part[{197, Null}, 1, 1], Part[{199, Null}, 1, 1], Part[{230, Null}, 1, 1], Part[{202, Null}, 1, 1], Part[{199, Null}, 1, 1], Part[{819, Null}, 1, 1], Part[{250, Null}, 1, 1], Part[{229, Null}, 1, 1], Part[{442, Null}, 1, 1], Part[{296, Null}, 1, 1], Part[{254, Null}, 1, 1], Part[{273, Null}, 1, 1], Part[{221, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.0037704, Null}[[1, 1]], {0.00207517, Null}[[1, 1]], {0.00203754, Null}[[1, 1]], {0.00231734, Null}[[1, 1]], {0.00202681, Null}[[1, 1]], {0.00194982, Null}[[1, 1]], {0.00221188, Null}[[1, 1]], {0.00196741, Null}[[1, 1]], {0.00198581, Null}[[1, 1]], {0.0023032, Null}[[1, 1]], {0.00201682, Null}[[1, 1]], {0.00199178, Null}[[1, 1]], {0.00819466, Null}[[1, 1]], {0.00250176, Null}[[1, 1]], {0.00229304, Null}[[1, 1]], {0.00441899, Null}[[1, 1]], {0.00296493, Null}[[1, 1]], {0.00253921, Null}[[1, 1]], {0.0027282, Null}[[1, 1]], {0.00220539, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{377, Null}[[1, 1]], {208, Null}[[1, 1]], {204, Null}[[1, 1]], {232, Null}[[1, 1]], {203, Null}[[1, 1]], {195, Null}[[1, 1]], {221, Null}[[1, 1]], {197, Null}[[1, 1]], {199, Null}[[1, 1]], {230, Null}[[1, 1]], {202, Null}[[1, 1]], {199, Null}[[1, 1]], {819, Null}[[1, 1]], {250, Null}[[1, 1]], {229, Null}[[1, 1]], {442, Null}[[1, 1]], {296, Null}[[1, 1]], {254, Null}[[1, 1]], {273, Null}[[1, 1]], {221, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.061, "tmo": 120} +{"i": 179, "in": "HoldComplete[Information[\"GridGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GridGraph[n, m] constructs an n*m grid graph, the product of paths on n and m vertices. GridGraph[p, q, r] constructs a p*q*r grid graph, the product of GridGraph[p, q] and a path of length r.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GridGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.032, "tmo": 120} +{"i": 180, "in": "HoldComplete[ShowGraph[GridGraph[3, 4]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.537, "tmo": 120} +{"i": 181, "in": "HoldComplete[ShowGraph[GridGraph[25, 25], VertexStyle -> Disc[Small]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 129.79, "tmo": 120} +{"i": 182, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`GridGraph[40, 40]; ]]", "status": "ok", "out": "{9, Null}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 183, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ]]", "status": "ok", "out": "{8, Null}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 184, "in": "HoldComplete[p = Table[Timing[GridGraph[20, 10*i]; ], {i, 15}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 185, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ p, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[p, Rule[PlotJoined, True]]", "msgs": ["ListPlot::lpn: p is not a list of numbers or pairs of numbers.", "ListPlot::lpn: p is not a list of numbers or pairs of numbers."], "secs": 0.007, "tmo": 120} +{"i": 186, "in": "HoldComplete[Information[\"Hypercube\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Hypercube[n] constructs an n-dimensional hypercube.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Hypercube\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 187, "in": "HoldComplete[ShowGraph[Hypercube[6]]]", "status": "ok", "out": "", "msgs": [], "secs": 16.598, "tmo": 120} +{"i": 188, "in": "HoldComplete[ShowGraph[Hypercube[6], PlotRange -> Zoom[{1, 2, 3, 4, 5, 6, 7, 8}], VertexNumber -> On, ImageSize -> 400]]", "status": "ok", "out": "", "msgs": [], "secs": 15.376, "tmo": 120} +{"i": 189, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`Hypercube[10]; ]]", "status": "ok", "out": "{11, Null}", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 190, "in": "HoldComplete[Timing[Hypercube[10]; ]]", "status": "ok", "out": "{1011277, Null}", "msgs": [], "secs": 10.123, "tmo": 120} +{"i": 191, "in": "HoldComplete[Table[Timing[Hypercube[n]; ], {n, 15}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.009, "tmo": 120} +{"i": 192, "in": "HoldComplete[Hypercube[15]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.071, "tmo": 120} +{"i": 193, "in": "HoldComplete[Information[\"LabeledTreeToCode\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"LabeledTreeToCode[g] reduces the tree g to its Prufer code.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`LabeledTreeToCode\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 194, "in": "HoldComplete[LabeledTreeToCode[RandomTree[20]]]", "status": "ok", "out": "{7, 3, 14, 20, 17, 9, 18, 11, 5, 5, 13, 3, 20, 10, 3, 12, 19, 15}", "msgs": [], "secs": 0.881, "tmo": 120} +{"i": 195, "in": "HoldComplete[LabeledTreeToCode[CodeToLabeledTree[Table[10, {20}]]]]", "status": "ok", "out": "{10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10}", "msgs": [], "secs": 0.317, "tmo": 120} +{"i": 196, "in": "HoldComplete[LabeledTreeToCode[Path[100]]]", "status": "ok", "out": "{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99}", "msgs": [], "secs": 2.073, "tmo": 120} +{"i": 197, "in": "HoldComplete[g = Table[RandomTree[i], {i, 500, 1000, 100}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 198, "in": "HoldComplete[rt = Table[Timing[LabeledTreeToCode[g[[i]]]; ], {i, 6}]]", "status": "msg", "out": "{{77, Null}, {31, Null}, {25, Null}, {471, Null}, {320, Null}, {283, Null}}", "msgs": ["Part::partw: Part 4 of \u2043Graph:<9, 10, Directed>\u2043 does not exist.", "Part::partw: Part 5 of \u2043Graph:<9, 10, Directed>\u2043 does not exist.", "Part::partw: Part 6 of \u2043Graph:<9, 10, Directed>\u2043 does not exist."], "secs": 0.032, "tmo": 120} +{"i": 199, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{77, Null}, 1, 1], Part[{31, Null}, 1, 1], Part[{25, Null}, 1, 1], Part[{471, Null}, 1, 1], Part[{320, Null}, 1, 1], Part[{283, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.000769886, Null}[[1, 1]], {0.000311718, Null}[[1, 1]], {0.000246781, Null}[[1, 1]], {0.00470584, Null}[[1, 1]], {0.00319995, Null}[[1, 1]], {0.00282704, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{77, Null}[[1, 1]], {31, Null}[[1, 1]], {25, Null}[[1, 1]], {471, Null}[[1, 1]], {320, Null}[[1, 1]], {283, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.027, "tmo": 120} +{"i": 200, "in": "HoldComplete[gg = Table[DiscreteMath`OldCombinatorica`RandomTree[i], {i, 500, 1000, 500}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 201, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`LabeledTreeToCode[gg[[i]]]; ], {i, 2}]]", "status": "ok", "out": "{{29, Null}, {24, Null}}", "msgs": [], "secs": 0.013, "tmo": 120} +{"i": 202, "in": "HoldComplete[Information[\"CodeToLabeledTree\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"CodeToLabeledTree[l] constructs the unique labeled tree on n vertices from the Prufer code l, which consists of a list of n-2 integers between 1 and n.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`CodeToLabeledTree\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 203, "in": "HoldComplete[ShowGraph[CodeToLabeledTree[Table[10, {20}]]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.039, "tmo": 120} +{"i": 204, "in": "HoldComplete[ShowGraph[RadialEmbedding[CodeToLabeledTree[Table[10, {20}]], 1]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.883, "tmo": 120} +{"i": 205, "in": "HoldComplete[s = Table[Table[Random[Integer, {1, i*100}], {i*100 - 2}], {i, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 5.833, "tmo": 120} +{"i": 206, "in": "HoldComplete[rt = Table[Timing[CodeToLabeledTree[s[[i]]]; ], {i, 10}]]", "status": "ok", "out": "{{42841, Null}, {99778, Null}, {177585, Null}, {276077, Null}, {382653, Null}, {541833, Null}, {695366, Null}, {868570, Null}, {1066510, Null}, {1300461, Null}}", "msgs": [], "secs": 54.562, "tmo": 120} +{"i": 207, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{42841, Null}, 1, 1], Part[{99778, Null}, 1, 1], Part[{177585, Null}, 1, 1], Part[{276077, Null}, 1, 1], Part[{382653, Null}, 1, 1], Part[{541833, Null}, 1, 1], Part[{695366, Null}, 1, 1], Part[{868570, Null}, 1, 1], Part[{1066510, Null}, 1, 1], Part[{1300461, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.428407, Null}[[1, 1]], {0.997779, Null}[[1, 1]], {1.77585, Null}[[1, 1]], {2.76077, Null}[[1, 1]], {3.82653, Null}[[1, 1]], {5.41833, Null}[[1, 1]], {6.95366, Null}[[1, 1]], {8.6857, Null}[[1, 1]], {10.6651, Null}[[1, 1]], {13.0046, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{42841, Null}[[1, 1]], {99778, Null}[[1, 1]], {177585, Null}[[1, 1]], {276077, Null}[[1, 1]], {382653, Null}[[1, 1]], {541833, Null}[[1, 1]], {695366, Null}[[1, 1]], {868570, Null}[[1, 1]], {1066510, Null}[[1, 1]], {1300461, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.044, "tmo": 120} +{"i": 208, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`CodeToLabeledTree[s[[i]]]; ], {i, 3}]]", "status": "ok", "out": "{{49, Null}, {25, Null}, {23, Null}}", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 209, "in": "HoldComplete[Information[\"RandomTree\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RandomTree[n] constructs a random labeled tree on n vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RandomTree\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 210, "in": "HoldComplete[ShowGraph[RadialEmbedding[RandomTree[20], 1], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.883, "tmo": 120} +{"i": 211, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`RandomTree[i]; ], {i, 100, 800, 100}]]", "status": "ok", "out": "{{10, Null}, {9, Null}, {228, Null}, {10, Null}, {12, Null}, {10, Null}, {8, Null}, {8, Null}}", "msgs": [], "secs": 0.025, "tmo": 120} +{"i": 212, "in": "HoldComplete[p = Table[Timing[RandomTree[i]; ], {i, 100, 800, 100}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.009, "tmo": 120} +{"i": 213, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ p, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[p, Rule[PlotJoined, True]]", "msgs": ["ListPlot::lpn: p is not a list of numbers or pairs of numbers.", "ListPlot::lpn: p is not a list of numbers or pairs of numbers."], "secs": 0.008, "tmo": 120} +{"i": 214, "in": "HoldComplete[Information[\"RandomGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RandomGraph[n, p] constructs a random labeled graph on n vertices with an edge probability of p. An option Type is provided, which can take on values Directed and Undirected, and whose default value is Undirected. Type->Directed produces a corresponding random directed graph. The usages Random[n, p, Directed], Random[n, p, range], and Random[n, p, range, Directed] are all obsolete. Use SetEdgeWeights to set random edge weights.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RandomGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.041, "tmo": 120} +{"i": 215, "in": "HoldComplete[ShowGraph[s = RandomGraph[50, 0.3], VertexStyle -> Disc[0.01]]]", "status": "ok", "out": "", "msgs": [], "secs": 42.08, "tmo": 120} +{"i": 216, "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ DepthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", "status": "ok", "out": "", "msgs": [], "secs": 68.796, "tmo": 120} +{"i": 217, "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ BreadthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", "status": "ok", "out": "", "msgs": [], "secs": 93.316, "tmo": 120} +{"i": 218, "in": "HoldComplete[rt = Table[Timing[RandomGraph[100, p]; ], {p, 0.1, 0.9, 0.1}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.011, "tmo": 120} +{"i": 219, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{42841, Null}, 1, 1], Part[{99778, Null}, 1, 1], Part[{177585, Null}, 1, 1], Part[{276077, Null}, 1, 1], Part[{382653, Null}, 1, 1], Part[{541833, Null}, 1, 1], Part[{695366, Null}, 1, 1], Part[{868570, Null}, 1, 1], Part[{1066510, Null}, 1, 1], Part[{1300461, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.428407, Null}[[1, 1]], {0.997779, Null}[[1, 1]], {1.77585, Null}[[1, 1]], {2.76077, Null}[[1, 1]], {3.82653, Null}[[1, 1]], {5.41833, Null}[[1, 1]], {6.95366, Null}[[1, 1]], {8.6857, Null}[[1, 1]], {10.6651, Null}[[1, 1]], {13.0046, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{42841, Null}[[1, 1]], {99778, Null}[[1, 1]], {177585, Null}[[1, 1]], {276077, Null}[[1, 1]], {382653, Null}[[1, 1]], {541833, Null}[[1, 1]], {695366, Null}[[1, 1]], {868570, Null}[[1, 1]], {1066510, Null}[[1, 1]], {1300461, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.047, "tmo": 120} +{"i": 220, "in": "HoldComplete[rt = Table[Timing[RandomGraph[20*i, N[1/(20*i)]]; ], {i, 20}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.01, "tmo": 120} +{"i": 221, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{42841, Null}, 1, 1], Part[{99778, Null}, 1, 1], Part[{177585, Null}, 1, 1], Part[{276077, Null}, 1, 1], Part[{382653, Null}, 1, 1], Part[{541833, Null}, 1, 1], Part[{695366, Null}, 1, 1], Part[{868570, Null}, 1, 1], Part[{1066510, Null}, 1, 1], Part[{1300461, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.428407, Null}[[1, 1]], {0.997779, Null}[[1, 1]], {1.77585, Null}[[1, 1]], {2.76077, Null}[[1, 1]], {3.82653, Null}[[1, 1]], {5.41833, Null}[[1, 1]], {6.95366, Null}[[1, 1]], {8.6857, Null}[[1, 1]], {10.6651, Null}[[1, 1]], {13.0046, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{42841, Null}[[1, 1]], {99778, Null}[[1, 1]], {177585, Null}[[1, 1]], {276077, Null}[[1, 1]], {382653, Null}[[1, 1]], {541833, Null}[[1, 1]], {695366, Null}[[1, 1]], {868570, Null}[[1, 1]], {1066510, Null}[[1, 1]], {1300461, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.046, "tmo": 120} +{"i": 222, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomGraph[100, 0.5]; ], Timing[RandomGraph[100, 0.5]; ]}]", "status": "ok", "out": "{{12, Null}, {10959044, Null}}", "msgs": [], "secs": 109.631, "tmo": 120} +{"i": 223, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomGraph[300, 0.5]; ], Timing[RandomGraph[300, 0.5]; ]}]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.039, "tmo": 120} +{"i": 224, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomGraph[300, 0.8]; ], Timing[RandomGraph[300, 0.8]; ]}]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.05, "tmo": 120} +{"i": 225, "in": "HoldComplete[Information[\"ExactRandomGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ExactRandomGraph[n, e] constructs a random labeled graph of exactly e edges and n vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ExactRandomGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.06, "tmo": 120} +{"i": 226, "in": "HoldComplete[ShowGraph[ExactRandomGraph[10, 5], Background -> LightBlue]]", "status": "ok", "out": "", "msgs": [], "secs": 0.92, "tmo": 120} +{"i": 227, "in": "HoldComplete[ShowGraph[ExactRandomGraph[20, 30], Background -> Pink]]", "status": "ok", "out": "", "msgs": [], "secs": 3.097, "tmo": 120} +{"i": 228, "in": "HoldComplete[ShowGraph[s = ExactRandomGraph[100, 100], VertexStyle -> Disc[0.02]]]", "status": "ok", "out": "", "msgs": [], "secs": 97.033, "tmo": 120} +{"i": 229, "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ DepthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", "status": "ok", "out": "", "msgs": [], "secs": 18.175, "tmo": 120} +{"i": 230, "in": "HoldComplete[rt = Table[Timing[ExactRandomGraph[100, m]; ], {m, 100, 1000, 100}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 231, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{42841, Null}, 1, 1], Part[{99778, Null}, 1, 1], Part[{177585, Null}, 1, 1], Part[{276077, Null}, 1, 1], Part[{382653, Null}, 1, 1], Part[{541833, Null}, 1, 1], Part[{695366, Null}, 1, 1], Part[{868570, Null}, 1, 1], Part[{1066510, Null}, 1, 1], Part[{1300461, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.428407, Null}[[1, 1]], {0.997779, Null}[[1, 1]], {1.77585, Null}[[1, 1]], {2.76077, Null}[[1, 1]], {3.82653, Null}[[1, 1]], {5.41833, Null}[[1, 1]], {6.95366, Null}[[1, 1]], {8.6857, Null}[[1, 1]], {10.6651, Null}[[1, 1]], {13.0046, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{42841, Null}[[1, 1]], {99778, Null}[[1, 1]], {177585, Null}[[1, 1]], {276077, Null}[[1, 1]], {382653, Null}[[1, 1]], {541833, Null}[[1, 1]], {695366, Null}[[1, 1]], {868570, Null}[[1, 1]], {1066510, Null}[[1, 1]], {1300461, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.051, "tmo": 120} +{"i": 232, "in": "HoldComplete[rt = Table[Timing[ExactRandomGraph[n, 5*n]; ], {n, 50, 250, 50}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.012, "tmo": 120} +{"i": 233, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{42841, Null}, 1, 1], Part[{99778, Null}, 1, 1], Part[{177585, Null}, 1, 1], Part[{276077, Null}, 1, 1], Part[{382653, Null}, 1, 1], Part[{541833, Null}, 1, 1], Part[{695366, Null}, 1, 1], Part[{868570, Null}, 1, 1], Part[{1066510, Null}, 1, 1], Part[{1300461, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.428407, Null}[[1, 1]], {0.997779, Null}[[1, 1]], {1.77585, Null}[[1, 1]], {2.76077, Null}[[1, 1]], {3.82653, Null}[[1, 1]], {5.41833, Null}[[1, 1]], {6.95366, Null}[[1, 1]], {8.6857, Null}[[1, 1]], {10.6651, Null}[[1, 1]], {13.0046, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{42841, Null}[[1, 1]], {99778, Null}[[1, 1]], {177585, Null}[[1, 1]], {276077, Null}[[1, 1]], {382653, Null}[[1, 1]], {541833, Null}[[1, 1]], {695366, Null}[[1, 1]], {868570, Null}[[1, 1]], {1066510, Null}[[1, 1]], {1300461, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.048, "tmo": 120} +{"i": 234, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`ExactRandomGraph[100, 100]; ], Timing[ExactRandomGraph[100, 100]; ]}]", "status": "ok", "out": "{{9, Null}, {9047551, Null}}", "msgs": [], "secs": 90.505, "tmo": 120} +{"i": 235, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`ExactRandomGraph[500, 500]; ], Timing[ExactRandomGraph[500, 500]; ]}]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.017, "tmo": 120} +{"i": 236, "in": "HoldComplete[Timing[({NthPair[#1]} & ) /@ Take[RandomPermutation[500*((500 - 1)/2)], 500]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.058, "tmo": 120} +{"i": 237, "in": "HoldComplete[Timing[CircularVertices[1000]; ]]", "status": "ok", "out": "{192657, Null}", "msgs": [], "secs": 1.936, "tmo": 120} +{"i": 238, "in": "HoldComplete[Information[\"RandomVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RandomVertices[g] assigns a random embedding to graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RandomVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.044, "tmo": 120} +{"i": 239, "in": "HoldComplete[ShowGraph[RandomVertices[Cycle[10]]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.088, "tmo": 120} +{"i": 240, "in": "HoldComplete[g = GridGraph[50, 50]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 15.365, "tmo": 120} +{"i": 241, "in": "HoldComplete[Timing[RandomVertices[g]; ]]", "status": "ok", "out": "{430448, Null}", "msgs": [], "secs": 4.313, "tmo": 120} +{"i": 242, "in": "HoldComplete[Information[\"DegreeSequence\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"DegreeSequence[g] gives the sorted degree sequence of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`DegreeSequence\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.043, "tmo": 120} +{"i": 243, "in": "HoldComplete[DegreeSequence[CompleteGraph[10]]]", "status": "ok", "out": "{9, 9, 9, 9, 9, 9, 9, 9, 9, 9}", "msgs": [], "secs": 0.245, "tmo": 120} +{"i": 244, "in": "HoldComplete[DegreeSequence[Path[100]]]", "status": "ok", "out": "{2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1}", "msgs": [], "secs": 0.624, "tmo": 120} +{"i": 245, "in": "HoldComplete[g = GridGraph[40, 40]; h = DiscreteMath`OldCombinatorica`GridGraph[40, 40]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 9.954, "tmo": 120} +{"i": 246, "in": "HoldComplete[Timing[DegreeSequence[g]; ]]", "status": "ok", "out": "{848352, Null}", "msgs": [], "secs": 8.495, "tmo": 120} +{"i": 247, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`DegreeSequence[h]; ]]", "status": "ok", "out": "{18, Null}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 248, "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.008, "tmo": 120} +{"i": 249, "in": "HoldComplete[rt = Table[Timing[DegreeSequence[gt[[i]]]; ], {i, 20}]; ]", "status": "msg", "out": "Null", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.041, "tmo": 120} +{"i": 250, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{114, Null}, 1, 1], Part[{103, Null}, 1, 1], Part[{98, Null}, 1, 1], Part[{96, Null}, 1, 1], Part[{110, Null}, 1, 1], Part[{120, Null}, 1, 1], Part[{95, Null}, 1, 1], Part[{89, Null}, 1, 1], Part[{92, Null}, 1, 1], Part[{90, Null}, 1, 1], Part[{103, Null}, 1, 1], Part[{134, Null}, 1, 1], Part[{96, Null}, 1, 1], Part[{98, Null}, 1, 1], Part[{94, Null}, 1, 1], Part[{98, Null}, 1, 1], Part[{95, Null}, 1, 1], Part[{181, Null}, 1, 1], Part[{98, Null}, 1, 1], Part[{95, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.00113677, Null}[[1, 1]], {0.00103276, Null}[[1, 1]], {0.000976838, Null}[[1, 1]], {0.000964568, Null}[[1, 1]], {0.00110204, Null}[[1, 1]], {0.00120012, Null}[[1, 1]], {0.000945579, Null}[[1, 1]], {0.00088585, Null}[[1, 1]], {0.00091941, Null}[[1, 1]], {0.000897257, Null}[[1, 1]], {0.00103236, Null}[[1, 1]], {0.00133661, Null}[[1, 1]], {0.00095868, Null}[[1, 1]], {0.000978048, Null}[[1, 1]], {0.000943798, Null}[[1, 1]], {0.00097863, Null}[[1, 1]], {0.000946391, Null}[[1, 1]], {0.00180505, Null}[[1, 1]], {0.000982535, Null}[[1, 1]], {0.000946601, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{114, Null}[[1, 1]], {103, Null}[[1, 1]], {98, Null}[[1, 1]], {96, Null}[[1, 1]], {110, Null}[[1, 1]], {120, Null}[[1, 1]], {95, Null}[[1, 1]], {89, Null}[[1, 1]], {92, Null}[[1, 1]], {90, Null}[[1, 1]], {103, Null}[[1, 1]], {134, Null}[[1, 1]], {96, Null}[[1, 1]], {98, Null}[[1, 1]], {94, Null}[[1, 1]], {98, Null}[[1, 1]], {95, Null}[[1, 1]], {181, Null}[[1, 1]], {98, Null}[[1, 1]], {95, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.074, "tmo": 120} +{"i": 251, "in": "HoldComplete[gt = Table[DiscreteMath`OldCombinatorica`GridGraph[20, 10*i], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.01, "tmo": 120} +{"i": 252, "in": "HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`DegreeSequence[gt[[i]]]; ], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 253, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{52, Null}, 1, 1], Part[{165, Null}, 1, 1], Part[{58, Null}, 1, 1], Part[{55, Null}, 1, 1], Part[{51, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.000523215, Null}[[1, 1]], {0.0016464, Null}[[1, 1]], {0.00057894, Null}[[1, 1]], {0.000548633, Null}[[1, 1]], {0.000511558, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{52, Null}[[1, 1]], {165, Null}[[1, 1]], {58, Null}[[1, 1]], {55, Null}[[1, 1]], {51, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.028, "tmo": 120} +{"i": 254, "in": "HoldComplete[Information[\"GraphicQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphicQ[s] yields True if the list of integers s is a graphic sequence, and thus represents a degree sequence of some graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphicQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.043, "tmo": 120} +{"i": 255, "in": "HoldComplete[GraphicQ[DegreeSequence[RandomGraph[100, 0.2]]]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 200 exceeded."], "secs": 99.713, "tmo": 120} +{"i": 256, "in": "HoldComplete[GraphicQ[Range[100]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 257, "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`RandomTree[400]; aa = RandomTree[400]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 27.853, "tmo": 120} +{"i": 258, "in": "HoldComplete[$RecursionLimit = 10000; ]", "status": "msg", "out": "Null", "msgs": ["$RecursionLimit::limset: Cannot set $RecursionLimit to 10000; value must be an integer between 20 and 512; use the MATHICS_MAX_RECURSION_DEPTH environment variable to allow higher limits."], "secs": 0.005, "tmo": 120} +{"i": 259, "in": "HoldComplete[{Timing[GraphicQ[DegreeSequence[aa]]; ], Timing[DiscreteMath`OldCombinatorica`GraphicQ[DiscreteMath`OldCombinatorica`DegreeSequence[a]]; ]}]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 200 exceeded."], "secs": 2.553, "tmo": 120} +{"i": 260, "in": "HoldComplete[gt = Table[DegreeSequence[RandomTree[20*i]], {i, 20}]; ]", "status": "crash", "out": "", "msgs": [], "secs": 50.215, "tmo": 120} +{"i": 261, "in": "HoldComplete[rt = Table[Timing[GraphicQ[gt[[i]]]; ], {i, 20}]]", "status": "msg", "out": "{{114, Null}, {118, Null}, {115, Null}, {116, Null}, {110, Null}, {641, Null}, {701, Null}, {698, Null}, {717, Null}, {708, Null}, {700, Null}, {706, Null}, {720, Null}, {720, Null}, {723, Null}, {798, Null}, {721, Null}, {719, Null}, {712, Null}, {718, Null}}", "msgs": ["Part::partw: Part 6 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 7 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 8 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 9 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 10 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 11 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 12 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 13 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 14 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 15 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 16 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 17 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 18 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 19 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist.", "Part::partw: Part 20 of {DiscreteMath`OldCombinatorica`GridGraph[20, 10], DiscreteMath`OldCombinatorica`GridGraph[20, 20], DiscreteMath`OldCombinatorica`GridGraph[20, 30], DiscreteMath`OldCombinatorica`GridGraph[20, 40], DiscreteMath`OldCombinatorica`GridGraph[20, 50]} does not exist."], "secs": 0.248, "tmo": 120} +{"i": 262, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "crash", "out": "", "msgs": [], "secs": 87.0} +{"i": 263, "in": "HoldComplete[Information[\"RealizeDegreeSequence\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RealizeDegreeSequence[s] constructs a semirandom graph with degree sequence s.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RealizeDegreeSequence\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.031, "tmo": 120} +{"i": 264, "in": "HoldComplete[ShowGraph[s = RandomTree[15], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.881, "tmo": 120} +{"i": 265, "in": "HoldComplete[seq = DegreeSequence[s]]", "status": "ok", "out": "{3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1}", "msgs": [], "secs": 0.092, "tmo": 120} +{"i": 266, "in": "HoldComplete[ShowGraph[g = RealizeDegreeSequence[seq], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 3.864, "tmo": 120} +{"i": 267, "in": "HoldComplete[DegreeSequence[g]]", "status": "ok", "out": "{3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1}", "msgs": [], "secs": 0.092, "tmo": 120} +{"i": 268, "in": "HoldComplete[IsomorphicQ[s, g]]", "status": "ok", "out": "False", "msgs": [], "secs": 4.728, "tmo": 120} +{"i": 269, "in": "HoldComplete[st = Table[DegreeSequence[GridGraph[10, 5*i]], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 14.64, "tmo": 120} +{"i": 270, "in": "HoldComplete[rt = Table[Timing[RealizeDegreeSequence[st[[i]]]; ], {i, 5}]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 200 exceeded."], "secs": 16.246, "tmo": 120} +{"i": 271, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{40, Null}, 1, 1], Part[{33, Null}, 1, 1], Part[{31, Null}, 1, 1], Part[{32, Null}, 1, 1], Part[{37, Null}, 1, 1], Part[{174, Null}, 1, 1], Part[{156, Null}, 1, 1], Part[{151, Null}, 1, 1], Part[{151, Null}, 1, 1], Part[{142, Null}, 1, 1], Part[{158, Null}, 1, 1], Part[{143, Null}, 1, 1], Part[{145, Null}, 1, 1], Part[{144, Null}, 1, 1], Part[{147, Null}, 1, 1], Part[{164, Null}, 1, 1], Part[{145, Null}, 1, 1], Part[{143, Null}, 1, 1], Part[{146, Null}, 1, 1], Part[{146, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.000395874, Null}[[1, 1]], {0.000328173, Null}[[1, 1]], {0.000310636, Null}[[1, 1]], {0.000318398, Null}[[1, 1]], {0.000370676, Null}[[1, 1]], {0.00173856, Null}[[1, 1]], {0.00156215, Null}[[1, 1]], {0.00151345, Null}[[1, 1]], {0.00151026, Null}[[1, 1]], {0.00141952, Null}[[1, 1]], {0.001578, Null}[[1, 1]], {0.00143441, Null}[[1, 1]], {0.00145339, Null}[[1, 1]], {0.00144003, Null}[[1, 1]], {0.00146813, Null}[[1, 1]], {0.00164408, Null}[[1, 1]], {0.00145032, Null}[[1, 1]], {0.00142816, Null}[[1, 1]], {0.0014579, Null}[[1, 1]], {0.00146479, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{40, Null}[[1, 1]], {33, Null}[[1, 1]], {31, Null}[[1, 1]], {32, Null}[[1, 1]], {37, Null}[[1, 1]], {174, Null}[[1, 1]], {156, Null}[[1, 1]], {151, Null}[[1, 1]], {151, Null}[[1, 1]], {142, Null}[[1, 1]], {158, Null}[[1, 1]], {143, Null}[[1, 1]], {145, Null}[[1, 1]], {144, Null}[[1, 1]], {147, Null}[[1, 1]], {164, Null}[[1, 1]], {145, Null}[[1, 1]], {143, Null}[[1, 1]], {146, Null}[[1, 1]], {146, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.071, "tmo": 120} +{"i": 272, "in": "HoldComplete[st = Table[DiscreteMath`OldCombinatorica`DegreeSequence[DiscreteMath`OldCombinatorica`GridGraph[10, 5*i]], {i, 5}]; rt = Table[Timing[DiscreteMath`OldCombinatorica`RealizeDegreeSequence[st[[i]]]; ], {i, 5}]]", "status": "ok", "out": "{{48, Null}, {43, Null}, {49, Null}, {49, Null}, {48, Null}}", "msgs": [], "secs": 0.024, "tmo": 120} +{"i": 273, "in": "HoldComplete[Information[\"RegularQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RegularQ[g] yields True if g is a regular graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RegularQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 274, "in": "HoldComplete[RegularQ[CompleteGraph[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.24, "tmo": 120} +{"i": 275, "in": "HoldComplete[RegularQ[CompleteGraph[10, 10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.696, "tmo": 120} +{"i": 276, "in": "HoldComplete[RegularQ[RandomTree[10]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.397, "tmo": 120} +{"i": 277, "in": "HoldComplete[RegularQ[Cycle[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.105, "tmo": 120} +{"i": 278, "in": "HoldComplete[Information[\"RegularGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RegularGraph[k, n] constructs a semirandom k-regular graph on n vertices, if such a graph exists.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RegularGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 279, "in": "HoldComplete[ShowGraph[RegularGraph[1, 30], VertexStyle -> Disc[Small]]]", "status": "ok", "out": "", "msgs": [], "secs": 10.308, "tmo": 120} +{"i": 280, "in": "HoldComplete[ShowGraph[RealizeDegreeSequence[{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}], VertexStyle -> Disc[Small]]]", "status": "ok", "out": "", "msgs": [], "secs": 7.644, "tmo": 120} +{"i": 281, "in": "HoldComplete[ShowGraph[RegularGraph[2, 30], VertexStyle -> Disc[Small]]]", "status": "ok", "out": "", "msgs": [], "secs": 11.802, "tmo": 120} +{"i": 282, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RegularGraph[10, 100]; ], Timing[RegularGraph[10, 100]; ]}]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 200 exceeded."], "secs": 0.558, "tmo": 120} +{"i": 283, "in": "HoldComplete[Information[\"MakeGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"MakeGraph[v, f] constructs the graph whose vertices correspond to v and edges between pairs of vertices x and y in v for which the binary relation defined by the Boolean function f is True. MakeGraph takes two options, Type and VertexLabel. Type can be set to Directed or Undirected and this tells MakeGraph whether to construct a directed or an undirected graph. The default setting is Directed. VertexLabel can be set to True or False, with False being the default setting. Using VertexLabel -> True assigns labels derived from v to the vertices of the graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`MakeGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Directed],System`Rule[DiscreteMath`CombinatoricaV201`VertexLabel, System`False]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 284, "in": "HoldComplete[ShowGraph[g = MakeGraph[Permutations[{1, 2, 3, 4}], Count[#1 - #2, 0] == 2 && Inversions[#1] > Inversions[#2] & ]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 12.522, "tmo": 120} +{"i": 285, "in": "HoldComplete[p = Permutations[{1, 2, 3, 4}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 286, "in": "HoldComplete[p1 = (Text[#1, {0.05, 0.02}] & ) /@ Cases[p, {1, ___}]; p2 = (Text[#1, {-0.05, 0.02}] & ) /@ Cases[p, {2, ___}]; , Null, p3 = (Text[#1, {-0.05, -0.02}] & ) /@ Cases[p, {3, ___}]; , Null, p4 = (Text[#1, {0.05, -0.02}] & ) /@ Cases[p, {4, ___}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.017, "tmo": 120} +{"i": 287, "in": "HoldComplete[g = SetVertexLabels[g, Join[p1, p2, p3, p4]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.601, "tmo": 120} +{"i": 288, "in": "HoldComplete[ShowGraph[g, ImageSize -> 600, VertexLabelColor -> Red, PlotRange -> Large[0.2]]]", "status": "ok", "out": "", "msgs": [], "secs": 5.276, "tmo": 120} +{"i": 289, "in": "HoldComplete[Information[\"IntervalGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"IntervalGraph[l] constructs the interval graph defined by the list of intervals l.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`IntervalGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 290, "in": "HoldComplete[l = {{1, 10}, {2, 3}, {4, 5}, {6, 7}, {8, 9}}; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 291, "in": "HoldComplete[s = IntervalGraph[l]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.284, "tmo": 120} +{"i": 292, "in": "HoldComplete[s = SetVertexLabels[s, (Text[#1, {-0.09, 0.02}] & ) /@ l]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.137, "tmo": 120} +{"i": 293, "in": "HoldComplete[ShowGraph[s, PlotRange -> Large[0.4], ImageSize -> 400]]", "status": "ok", "out": "", "msgs": [], "secs": 0.621, "tmo": 120} +{"i": 294, "in": "HoldComplete[Information[\"FunctionalGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"FunctionalGraph[f, v] takes a set v and a function f from v to v and constructs a directed graph with vertex set v and edges (x, f(x)) for each x in v. FunctionalGraph[f, v], where f is a list of functions, constructs a graph with vertex set v and edge set (x, fi(x)) for every fi in f. An option called Type that takes on the values Directed and Undirected is allowed. Type -> Directed is the default, while Type -> Undirected returns the corresponding underlying undirected graph. FunctionalGraph[f, n] takes a nonnegative integer nand a function f from {0,1,..., n-1} onto itself and produces the directed graphwith vertex set {0, 1,..., n-1} and edge set {x, f(x)} for each vertex x.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`FunctionalGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Directed]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.039, "tmo": 120} +{"i": 295, "in": "HoldComplete[ShowGraph[FunctionalGraph[Mod[#1^2 + 2*#1, 20] & , Table[i, {i, 0, 19}]]]]", "status": "ok", "out": "", "msgs": [], "secs": 5.239, "tmo": 120} diff --git a/book/mathics/Chapter5.jsonl b/book/mathics/Chapter5.jsonl new file mode 100644 index 0000000..b5f01f6 --- /dev/null +++ b/book/mathics/Chapter5.jsonl @@ -0,0 +1,518 @@ +{"i": 1, "in": "HoldComplete[Information[\"ConnectedComponents\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ConnectedComponents[g] gives the vertices of graph g partitioned into connected components.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ConnectedComponents\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 2, "in": "HoldComplete[ConnectedComponents[s = RegularGraph[1, 10]]]", "status": "ok", "out": "{{1, 3}, {2, 7}, {4, 6}, {5, 9}, {8, 10}}", "msgs": [], "secs": 0.535, "tmo": 120} +{"i": 3, "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 0.689, "tmo": 120} +{"i": 4, "in": "HoldComplete[c = ConnectedComponents[s = RegularGraph[2, 20]]]", "status": "ok", "out": "{{1, 3, 6, 10, 16, 18, 20}, {2, 4, 7, 8, 11, 12}, {5, 9, 13, 14, 15, 17, 19}}", "msgs": [], "secs": 2.176, "tmo": 120} +{"i": 5, "in": "HoldComplete[ShowGraph[s, VertexNumber -> On, VertexNumberColor -> Purple, Background -> Yellow]]", "status": "ok", "out": "", "msgs": [], "secs": 1.704, "tmo": 120} +{"i": 6, "in": "HoldComplete[ShowGraph[InduceSubgraph[s, c[[1]]]]]", "status": "ok", "out": "", "msgs": [], "secs": 0.727, "tmo": 120} +{"i": 7, "in": "HoldComplete[a = GraphUnion[Wheel[5], Star[10]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.221, "tmo": 120} +{"i": 8, "in": "HoldComplete[ConnectedComponents[a]]", "status": "ok", "out": "{{1, 2, 3, 4, 5}, {6, 7, 8, 9, 10, 11, 12, 13, 14, 15}}", "msgs": [], "secs": 0.158, "tmo": 120} +{"i": 9, "in": "HoldComplete[a = GraphUnion[10, Star[10]]; ConnectedComponents[a]]", "status": "ok", "out": "{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, {11, 12, 13, 14, 15, 16, 17, 18, 19, 20}, {21, 22, 23, 24, 25, 26, 27, 28, 29, 30}, {31, 32, 33, 34, 35, 36, 37, 38, 39, 40}, {41, 42, 43, 44, 45, 46, 47, 48, 49, 50}, {51, 52, 53, 54, 55, 56, 57, 58, 59, 60}, {61, 62, 63, 64, 65, 66, 67, 68, 69, 70}, {71, 72, 73, 74, 75, 76, 77, 78, 79, 80}, {81, 82, 83, 84, 85, 86, 87, 88, 89, 90}, {91, 92, 93, 94, 95, 96, 97, 98, 99, 100}}", "msgs": [], "secs": 3.602, "tmo": 120} +{"i": 10, "in": "HoldComplete[$RecursionLimit = 100000; ]", "status": "msg", "out": "Null", "msgs": ["$RecursionLimit::limset: Cannot set $RecursionLimit to 100000; value must be an integer between 20 and 512; use the MATHICS_MAX_RECURSION_DEPTH environment variable to allow higher limits."], "secs": 0.004, "tmo": 120} +{"i": 11, "in": "HoldComplete[g = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*100, 0.01], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 12, "in": "HoldComplete[h = Table[RandomGraph[i*100, 0.01], {i, 10}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.008, "tmo": 120} +{"i": 13, "in": "HoldComplete[Table[{Length[DiscreteMath`OldCombinatorica`ConnectedComponents[g[[i]]]], Length[ConnectedComponents[h[[i]]]]}, {i, 5}]]", "status": "msg", "out": "{{1, 1}, {1, 1}, {1, 1}, {1, 1}, {1, 1}}", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.014, "tmo": 120} +{"i": 14, "in": "HoldComplete[ort = Table[Timing[DiscreteMath`OldCombinatorica`ConnectedComponents[g[[i]]]; ], {i, 5}]]", "status": "ok", "out": "{{28, Null}, {25, Null}, {22, Null}, {22, Null}, {20, Null}}", "msgs": [], "secs": 0.016, "tmo": 120} +{"i": 15, "in": "HoldComplete[rt = Table[Timing[ConnectedComponents[h[[i]]]; ], {i, 10}]]", "status": "msg", "out": "{{80, Null}, {70, Null}, {60, Null}, {56, Null}, {75, Null}, {59, Null}, {53, Null}, {53, Null}, {53, Null}, {54, Null}}", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.03, "tmo": 120} +{"i": 16, "in": "HoldComplete[p1 = ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{80, Null}, 1, 1], Part[{70, Null}, 1, 1], Part[{60, Null}, 1, 1], Part[{56, Null}, 1, 1], Part[{75, Null}, 1, 1], Part[{59, Null}, 1, 1], Part[{53, Null}, 1, 1], Part[{53, Null}, 1, 1], Part[{53, Null}, 1, 1], Part[{54, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.000796876, Null}[[1, 1]], {0.000695984, Null}[[1, 1]], {0.000598218, Null}[[1, 1]], {0.000559109, Null}[[1, 1]], {0.000749645, Null}[[1, 1]], {0.000588253, Null}[[1, 1]], {0.00053302, Null}[[1, 1]], {0.000533941, Null}[[1, 1]], {0.000531468, Null}[[1, 1]], {0.000543186, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{80, Null}[[1, 1]], {70, Null}[[1, 1]], {60, Null}[[1, 1]], {56, Null}[[1, 1]], {75, Null}[[1, 1]], {59, Null}[[1, 1]], {53, Null}[[1, 1]], {53, Null}[[1, 1]], {53, Null}[[1, 1]], {54, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.042, "tmo": 120} +{"i": 17, "in": "HoldComplete[gt = Table[InduceSubgraph[GridGraph[20, 10*i], RandomKSubset[Range[200*i], 100*i]], {i, 10}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.002, "tmo": 120} +{"i": 18, "in": "HoldComplete[V /@ gt]", "status": "ok", "out": "gt", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 19, "in": "HoldComplete[M /@ gt]", "status": "ok", "out": "gt", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 20, "in": "HoldComplete[rt = Table[Timing[ConnectedComponents[gt[[i]]]; ], {i, 10}]]", "status": "msg", "out": "{{75, Null}, {59, Null}, {57, Null}, {53, Null}, {67, Null}, {57, Null}, {57, Null}, {56, Null}, {55, Null}, {51, Null}}", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.028, "tmo": 120} +{"i": 21, "in": "HoldComplete[Clear[gt]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 22, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{75, Null}, 1, 1], Part[{59, Null}, 1, 1], Part[{57, Null}, 1, 1], Part[{53, Null}, 1, 1], Part[{67, Null}, 1, 1], Part[{57, Null}, 1, 1], Part[{57, Null}, 1, 1], Part[{56, Null}, 1, 1], Part[{55, Null}, 1, 1], Part[{51, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.000746532, Null}[[1, 1]], {0.000594122, Null}[[1, 1]], {0.000565038, Null}[[1, 1]], {0.000534512, Null}[[1, 1]], {0.00067232, Null}[[1, 1]], {0.000574482, Null}[[1, 1]], {0.000569084, Null}[[1, 1]], {0.000557707, Null}[[1, 1]], {0.000552479, Null}[[1, 1]], {0.000506942, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{75, Null}[[1, 1]], {59, Null}[[1, 1]], {57, Null}[[1, 1]], {53, Null}[[1, 1]], {67, Null}[[1, 1]], {57, Null}[[1, 1]], {57, Null}[[1, 1]], {56, Null}[[1, 1]], {55, Null}[[1, 1]], {51, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.036, "tmo": 120} +{"i": 23, "in": "HoldComplete[s = GridGraph[50, 50]; {Timing[DepthFirstTraversal[s, 1]; ], Timing[BreadthFirstTraversal[s, 1]; ]}]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 37.258, "tmo": 120} +{"i": 24, "in": "HoldComplete[s = InduceSubgraph[GridGraph[70, 70], RandomSubset[Range[4900]]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.002, "tmo": 120} +{"i": 25, "in": "HoldComplete[V[s]]", "status": "ok", "out": "2500", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 26, "in": "HoldComplete[M[s]]", "status": "ok", "out": "4900", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 27, "in": "HoldComplete[ShowGraph[s, VertexStyle -> Disc[0]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.008, "tmo": 120} +{"i": 28, "in": "HoldComplete[Timing[c = ConnectedComponents[s]; ]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 21.41, "tmo": 120} +{"i": 29, "in": "HoldComplete[Length[c]]", "status": "ok", "out": "3", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 30, "in": "HoldComplete[Max[Length /@ c]]", "status": "ok", "out": "7", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 31, "in": "HoldComplete[g = GridGraph[100, 100]]", "status": "ok", "out": "Graph[{{{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{9, 10}}, {{10, 11}}, {{11, 12}}, {{12, 13}}, {{13, 14}}, {{14, 15}}, {{15, 16}}, {{16, 17}}, {{17, 18}}, {{18, 19}}, {{19, 20}}, {{20, 21}}, {{21, 22}}, {{22, 23}}, {{23, 24}}, {{24, 25}}, {{25, 26}}, {{26, 27}}, {{27, 28}}, {{28, 29}}, {{29, 30}}, {{30, 31}}, {{31, 32}}, {{32, 33}}, {{33, 34}}, {{34, 35}}, {{35, 36}}, {{36, 37}}, {{37, 38}}, {{38, 39}}, {{39, 40}}, {{40, 41}}, {{41, 42}}, {{42, 43}}, {{43, 44}}, {{44, 45}}, {{45, 46}}, {{46, 47}}, {{47, 48}}, {{48, 49}}, {{49, 50}}, {{50, 51}}, {{51, 52}}, {{52, 53}}, {{53, 54}}, {{54, 55}}, {{55, 56}}, {{56, 57}}, {{57, 58}}, {{58, 59}}, {{59, 60}}, {{60, 61}}, {{61, 62}}, {{62, 63}}, {{63, 64}}, {{64, 65}}, {{65, 66}}, {{66, 67}}, {{67, 68}}, {{68, 69}}, {{69, 70}}, {{70, 71}}, {{71, 72}}, {{72, 73}}, {{73, 74}}, {{74, 75}}, {{75, 76}}, {{76, 77}}, {{77, 78}}, {{78, 79}}, {{79, 80}}, {{80, 81}}, {{81, 82}}, {{82, 83}}, {{83, 84}}, {{84, 85}}, {{85, 86}}, {{86, 87}}, {{87, 88}}, {{88, 89}}, {{89, 90}}, {{90, 91}}, {{91, 92}}, {{92, 93}}, {{93, 94}}, {{94, 95}}, {{95, 96}}, {{96, 97}}, {{97, 98}}, {{98, 99}}, {{99, 100}}, {{101, 102}}, {{102, 103}}, {{103, 104}}, {{104, 105}}, {{105, 106}}, {{106, 107}}, {{107, 108}}, {{108, 109}}, {{109, 110}}, {{110, 111}}, {{111, 112}}, {{112, 113}}, {{113, 114}}, {{114, 115}}, {{115, 116}}, {{116, 117}}, {{117, 118}}, {{118, 119}}, {{119, 120}}, {{120, 121}}, {{121, 122}}, {{122, 123}}, {{123, 124}}, {{124, 125}}, {{125, 126}}, {{126, 127}}, {{127, 128}}, {{128, 129}}, {{129, 130}}, {{130, 131}}, {{131, 132}}, {{132, 133}}, {{133, 134}}, {{134, 135}}, {{135, 136}}, {{136, 137}}, {{137, 138}}, {{138, 139}}, {{139, 140}}, {{140, 141}}, {{141, 142}}, {{142, 143}}, {{143, 144}}, {{144, 145}}, {{145, 146}}, {{146, 147}}, {{147, 148}}, {{148, 149}}, {{149, 150}}, {{150, 151}}, {{151, 152}}, {{152, 153}}, {{153, 154}}, {{154, 155}}, {{155, 156}}, {{156, 157}}, {{157, 158}}, {{158, 159}}, {{159, 160}}, {{160, 161}}, {{161, 162}}, {{162, 163}}, {{163, 164}}, {{164, 165}}, {{165, 166}}, {{166, 167}}, {{167, 168}}, {{168, 169}}, {{169, 170}}, {{170, 171}}, {{171, 172}}, {{172, 173}}, {{173, 174}}, {{174, 175}}, {{175, 176}}, {{176, 177}}, {{177, 178}}, {{178, 179}}, {{179, 180}}, {{180, 181}}, {{181, 182}}, {{182, 183}}, {{183, 184}}, {{184, 185}}, {{185, 186}}, {{186, 187}}, {{187, 188}}, {{188, 189}}, {{189, 190}}, {{190, 191}}, {{191, 192}}, {{192, 193}}, {{193, 194}}, {{194, 195}}, {{195, 196}}, {{196, 197}}, {{197, 198}}, {{198, 199}}, {{199, 200}}, {{201, 202}}, {{202, 203}}, {{203, 204}}, {{204, 205}}, {{205, 206}}, {{206, 207}}, {{207, 208}}, {{208, 209}}, {{209, 210}}, {{210, 211}}, {{211, 212}}, {{212, 213}}, {{213, 214}}, {{214, 215}}, {{215, 216}}, {{216, 217}}, {{217, 218}}, {{218, 219}}, {{219, 220}}, {{220, 221}}, {{221, 222}}, {{222, 223}}, {{223, 224}}, {{224, 225}}, {{225, 226}}, {{226, 227}}, {{227, 228}}, {{228, 229}}, {{229, 230}}, {{230, 231}}, {{231, 232}}, {{232, 233}}, {{233, 234}}, {{234, 235}}, {{235, 236}}, {{236, 237}}, {{237, 238}}, {{238, 239}}, {{239, 240}}, {{240, 241}}, {{241, 242}}, {{242, 243}}, {{243, 244}}, {{244, 245}}, {{245, 246}}, {{246, 247}}, {{247, 248}}, {{248, 249}}, {{249, 250}}, {{250, 251}}, {{251, 252}}, {{252, 253}}, {{253, 254}}, {{254, 255}}, {{255, 256}}, {{256, 257}}, {{257, 258}}, {{258, 259}}, {{259, 260}}, {{260, 261}}, {{261, 262}}, {{262, 263}}, {{263, 264}}, {{264, 265}}, {{265, 266}}, {{266, 267}}, {{267, 268}}, {{268, 269}}, {{269, 270}}, {{270, 271}}, {{271, 272}}, {{272, 273}}, {{273, 274}}, {{274, 275}}, {{275, 276}}, {{276, 277}}, {{277, 278}}, {{278, 279}}, {{279, 280}}, {{280, 281}}, {{281, 282}}, {{282, 283}}, {{283, 284}}, {{284, 285}}, {{285, 286}}, {{286, 287}}, {{287, 288}}, {{288, 289}}, {{289, 290}}, {{290, 291}}, {{291, 292}}, {{292, 293}}, {{293, 294}}, {{294, 295}}, {{295, 296}}, {{296, 297}}, {{297, 298}}, {{298, 299}}, {{299, 300}}, {{301, 302}}, {{302, 303}}, {{303, 304}}, {{304, ...", "msgs": [], "secs": 85.422, "tmo": 120} +{"i": 32, "in": "HoldComplete[h = InduceSubgraph[g, RandomSubset[Range[10000]]]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.002, "tmo": 120} +{"i": 33, "in": "HoldComplete[ShowGraph[h, VertexStyle -> Disc[0]]]", "status": "ok", "out": "ShowGraph[h, Rule[VertexStyle, Disc[0]]]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 34, "in": "HoldComplete[V[h]]", "status": "ok", "out": "V[h]", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 35, "in": "HoldComplete[M[h]]", "status": "ok", "out": "M[h]", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 36, "in": "HoldComplete[Timing[c = ConnectedComponents[h]; ]]", "status": "ok", "out": "{33, Null}", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 37, "in": "HoldComplete[{Length[c], Max[Length /@ c]}]", "status": "ok", "out": "{1, ConnectedComponents[0]}", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 38, "in": "HoldComplete[Information[\"ConnectedQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ConnectedQ[g] yields True if undirected graph g is connected. If g is directed, the function returns True if the underlying undirected graph is connected. ConnectedQ[g, Strong] and ConnectedQ[g, Weak] yield True if the directed graph g is strongly or weakly connected, respectively.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ConnectedQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 39, "in": "HoldComplete[ConnectedQ[Wheel[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.17, "tmo": 120} +{"i": 40, "in": "HoldComplete[ConnectedQ[DeleteVertices[Star[10], {10}]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.123, "tmo": 120} +{"i": 41, "in": "HoldComplete[ConnectedQ[Wheel[10], Weak]]", "status": "ok", "out": "ConnectedQ[Graph[{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}, {{0, 0}}}], Weak]", "msgs": [], "secs": 0.06, "tmo": 120} +{"i": 42, "in": "HoldComplete[ConnectedQ[OrientGraph[Wheel[10]], Strong]]", "status": "ok", "out": "False", "msgs": [], "secs": 1.641, "tmo": 120} +{"i": 43, "in": "HoldComplete[ConnectedQ[SetGraphOptions[RandomTree[20], EdgeDirection -> On], Strong]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.979, "tmo": 120} +{"i": 44, "in": "HoldComplete[ConnectedQ[SetGraphOptions[RandomTree[20], EdgeDirection -> On], Weak]]", "status": "ok", "out": "True", "msgs": [], "secs": 2.926, "tmo": 120} +{"i": 45, "in": "HoldComplete[ConnectedQ[Wheel[10], Weak]]", "status": "ok", "out": "ConnectedQ[Graph[{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}, {{0, 0}}}], Weak]", "msgs": [], "secs": 0.061, "tmo": 120} +{"i": 46, "in": "HoldComplete[ConnectedQ[Wheel[10], Strong]]", "status": "ok", "out": "ConnectedQ[Graph[{{{1, 10}}, {{2, 10}}, {{3, 10}}, {{4, 10}}, {{5, 10}}, {{6, 10}}, {{7, 10}}, {{8, 10}}, {{9, 10}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{1, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}, {{0, 0}}}], Strong]", "msgs": [], "secs": 0.06, "tmo": 120} +{"i": 47, "in": "HoldComplete[g = SetGraphOptions[Wheel[10], EdgeDirection -> On]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.064, "tmo": 120} +{"i": 48, "in": "HoldComplete[ShowGraph[g, VertexNumber -> Text[{0.03, 0}, TextStyle -> {FontSize -> 14, FontColor -> Blue, FontWeight -> Bold}], PlotRange -> Large[0.05]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.246, "tmo": 120} +{"i": 49, "in": "HoldComplete[ConnectedQ[g, Weak]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.274, "tmo": 120} +{"i": 50, "in": "HoldComplete[ConnectedQ[g, Strong]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.186, "tmo": 120} +{"i": 51, "in": "HoldComplete[h = AddEdges[g, {{{9, 1}}, {{10, 1}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 52, "in": "HoldComplete[ConnectedQ[h, Strong]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.165, "tmo": 120} +{"i": 53, "in": "HoldComplete[ConnectedQ[h, Weak]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.283, "tmo": 120} +{"i": 54, "in": "HoldComplete[ShowGraph[h]]", "status": "ok", "out": "", "msgs": [], "secs": 1.336, "tmo": 120} +{"i": 55, "in": "HoldComplete[Information[\"WeaklyConnectedComponents\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"WeaklyConnectedComponents[g] gives the weakly connected components of directed graph g as lists of vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`WeaklyConnectedComponents\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 56, "in": "HoldComplete[Information[\"StronglyConnectedComponents\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"StronglyConnectedComponents[g] gives the strongly connected components of directed graph g as lists of vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`StronglyConnectedComponents\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 57, "in": "HoldComplete[s = SetGraphOptions[GridGraph[5, 6], EdgeDirection -> On]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.353, "tmo": 120} +{"i": 58, "in": "HoldComplete[ShowGraph[s, VertexNumber -> Text[{-0.04, -0.04}], PlotRange -> Large[0.05]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.728, "tmo": 120} +{"i": 59, "in": "HoldComplete[WeaklyConnectedComponents[s]]", "status": "ok", "out": "{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30}}", "msgs": [], "secs": 0.645, "tmo": 120} +{"i": 60, "in": "HoldComplete[StronglyConnectedComponents[s]]", "status": "ok", "out": "{{1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}, {11}, {12}, {13}, {14}, {15}, {16}, {17}, {18}, {19}, {20}, {21}, {22}, {23}, {24}, {25}, {26}, {27}, {28}, {29}, {30}}", "msgs": [], "secs": 0.513, "tmo": 120} +{"i": 61, "in": "HoldComplete[s = AddEdges[s, {{{30, 1}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.072, "tmo": 120} +{"i": 62, "in": "HoldComplete[StronglyConnectedComponents[s]]", "status": "ok", "out": "{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30}}", "msgs": [], "secs": 0.513, "tmo": 120} +{"i": 63, "in": "HoldComplete[gt = Table[RandomGraph[100*i, N[(1/100)*i], Directed], {i, 10}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 64, "in": "HoldComplete[rt = Table[Timing[StronglyConnectedComponents[gt[[i]]]; ], {i, 10}]]", "status": "msg", "out": "{{166, Null}, {73, Null}, {61, Null}, {57, Null}, {57, Null}, {54, Null}, {77, Null}, {60, Null}, {59, Null}, {60, Null}}", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.031, "tmo": 120} +{"i": 65, "in": "HoldComplete[V /@ gt]", "status": "ok", "out": "gt", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 66, "in": "HoldComplete[M /@ gt]", "status": "ok", "out": "gt", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 67, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{166, Null}, 1, 1], Part[{73, Null}, 1, 1], Part[{61, Null}, 1, 1], Part[{57, Null}, 1, 1], Part[{57, Null}, 1, 1], Part[{54, Null}, 1, 1], Part[{77, Null}, 1, 1], Part[{60, Null}, 1, 1], Part[{59, Null}, 1, 1], Part[{60, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.00166323, Null}[[1, 1]], {0.000732931, Null}[[1, 1]], {0.000608413, Null}[[1, 1]], {0.000574482, Null}[[1, 1]], {0.000566, Null}[[1, 1]], {0.00053981, Null}[[1, 1]], {0.00077312, Null}[[1, 1]], {0.000597507, Null}[[1, 1]], {0.00058566, Null}[[1, 1]], {0.000597086, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{166, Null}[[1, 1]], {73, Null}[[1, 1]], {61, Null}[[1, 1]], {57, Null}[[1, 1]], {57, Null}[[1, 1]], {54, Null}[[1, 1]], {77, Null}[[1, 1]], {60, Null}[[1, 1]], {59, Null}[[1, 1]], {60, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.035, "tmo": 120} +{"i": 68, "in": "HoldComplete[ogt = Table[DiscreteMath`OldCombinatorica`RandomGraph[100*i, N[(1/100)*i], {0, 1}], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 69, "in": "HoldComplete[ort = Table[Timing[DiscreteMath`OldCombinatorica`StronglyConnectedComponents[ogt[[i]]]; ], {i, 5}]]", "status": "ok", "out": "{{28, Null}, {27, Null}, {31, Null}, {21, Null}, {19, Null}}", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 70, "in": "HoldComplete[Clear[MultipleListPlot]; Remove[MultipleListPlot]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 71, "in": "HoldComplete[Get[\"Graphics`MultipleListPlot`\"]]", "status": "msg", "out": "$Failed", "msgs": ["Get::noopen: Cannot open Graphics`MultipleListPlot`."], "secs": 0.004, "tmo": 120} +{"i": 72, "in": "HoldComplete[MultipleListPlot[(#1[[1,1]] & ) /@ rt, (#1[[1,1]] & ) /@ ort, PlotJoined -> True]]", "status": "msg", "out": "MultipleListPlot[{Part[{166, Null}, 1, 1], Part[{73, Null}, 1, 1], Part[{61, Null}, 1, 1], Part[{57, Null}, 1, 1], Part[{57, Null}, 1, 1], Part[{54, Null}, 1, 1], Part[{77, Null}, 1, 1], Part[{60, Null}, 1, 1], Part[{59, Null}, 1, 1], Part[{60, Null}, 1, 1]}, {Part[{28, Null}, 1, 1], Part[{27, Null}, 1, 1], Part[{31, Null}, 1, 1], Part[{21, Null}, 1, 1], Part[{19, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.041, "tmo": 120} +{"i": 73, "in": "HoldComplete[g = SetGraphOptions[GridGraph[70, 70], EdgeDirection -> On]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 43.667, "tmo": 120} +{"i": 74, "in": "HoldComplete[{Timing[cw = WeaklyConnectedComponents[g]; ], Timing[cs = StronglyConnectedComponents[g]; ], Length[cw], Length[cs]}]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 89.16, "tmo": 120} +{"i": 75, "in": "HoldComplete[Information[\"OrientGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"OrientGraph[g] assigns a direction to each edge of a bridgeless, undirected graph g, so that the graph is strongly connected.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`OrientGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 76, "in": "HoldComplete[g = GridGraph[10, 10]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.704, "tmo": 120} +{"i": 77, "in": "HoldComplete[ShowGraph[h = OrientGraph[GridGraph[10, 10]]]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 4.528, "tmo": 120} +{"i": 78, "in": "HoldComplete[Length[StronglyConnectedComponents[h]]]", "status": "ok", "out": "1", "msgs": [], "secs": 0.163, "tmo": 120} +{"i": 79, "in": "HoldComplete[g = RandomGraph[20, 0.6]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.149, "tmo": 120} +{"i": 80, "in": "HoldComplete[Bridges[g]]", "status": "ok", "out": "{}", "msgs": [], "secs": 4.872, "tmo": 120} +{"i": 81, "in": "HoldComplete[Length[StronglyConnectedComponents[SetGraphOptions[g, EdgeDirection -> On]]]]", "status": "ok", "out": "20", "msgs": [], "secs": 0.721, "tmo": 120} +{"i": 82, "in": "HoldComplete[h = OrientGraph[g]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 12.772, "tmo": 120} +{"i": 83, "in": "HoldComplete[Length[StronglyConnectedComponents[g]]]", "status": "ok", "out": "1", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 84, "in": "HoldComplete[g = GridGraph[20, 20]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 2.501, "tmo": 120} +{"i": 85, "in": "HoldComplete[Timing[OrientGraph[g]; ]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 8.114, "tmo": 120} +{"i": 86, "in": "HoldComplete[Timing[ExtractCycles[g]; ]]", "status": "ok", "out": "{286779, Null}", "msgs": [], "secs": 2.874, "tmo": 120} +{"i": 87, "in": "HoldComplete[h = DiscreteMath`OldCombinatorica`GridGraph[20, 20]; Timing[DiscreteMath`OldCombinatorica`OrientGraph[h]; ]]", "status": "ok", "out": "{18, Null}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 88, "in": "HoldComplete[Information[\"BiconnectedComponents\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"BiconnectedComponents[g] gives a list of the biconnected components of graph g. If g is directed, the underlying undirected graph is used.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`BiconnectedComponents\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 89, "in": "HoldComplete[BiconnectedComponents[RandomTree[100]]]", "status": "ok", "out": "{{67, 77}, {17, 77}, {17, 61}, {61, 90}, {1, 61}, {42, 62}, {27, 56}, {27, 70}, {70, 87}, {62, 87}, {55, 62}, {55, 89}, {22, 60}, {22, 52}, {24, 52}, {48, 50}, {48, 52}, {4, 32}, {4, 6}, {59, 82}, {47, 82}, {23, 47}, {15, 23}, {12, 15}, {6, 12}, {6, 20}, {20, 26}, {9, 64}, {35, 51}, {35, 54}, {54, 84}, {9, 84}, {5, 9}, {5, 80}, {5, 41}, {69, 96}, {29, 69}, {36, 71}, {53, 71}, {29, 71}, {29, 88}, {16, 58}, {39, 40}, {18, 39}, {18, 91}, {2, 43}, {43, 91}, {45, 91}, {45, 95}, {66, 95}, {58, 66}, {58, 88}, {33, 63}, {11, 38}, {10, 14}, {14, 19}, {19, 38}, {38, 63}, {63, 88}, {86, 88}, {41, 86}, {26, 41}, {8, 49}, {3, 8}, {3, 37}, {7, 57}, {25, 57}, {73, 93}, {25, 73}, {25, 94}, {65, 75}, {21, 78}, {78, 85}, {78, 92}, {65, 92}, {31, 65}, {31, 83}, {31, 46}, {13, 74}, {30, 76}, {74, 76}, {46, 74}, {46, 94}, {72, 79}, {79, 99}, {79, 94}, {3, 94}, {3, 44}, {44, 97}, {26, 97}, {26, 98}, {52, 98}, {52, 81}, {28, 34}, {28, 100}, {28, 68}, {68, 81}, {81, 89}, {1, 89}}", "msgs": [], "secs": 10.828, "tmo": 120} +{"i": 90, "in": "HoldComplete[Length[%]]", "status": "ok", "out": "0", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 91, "in": "HoldComplete[BiconnectedComponents[Cycle[100]]]", "status": "ok", "out": "{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100}}", "msgs": [], "secs": 6.038, "tmo": 120} +{"i": 92, "in": "HoldComplete[ShowGraph[g = Contract[Cycle[50], {1, 30}]]]", "status": "ok", "out": "", "msgs": [], "secs": 4.947, "tmo": 120} +{"i": 93, "in": "HoldComplete[BiconnectedComponents[g]]", "status": "ok", "out": "{{29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49}, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 49}}", "msgs": [], "secs": 1.493, "tmo": 120} +{"i": 94, "in": "HoldComplete[gt = Table[RandomGraph[i*10, N[1/(10*i)]], {i, 20}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.005, "tmo": 120} +{"i": 95, "in": "HoldComplete[rt = Table[Timing[BiconnectedComponents[gt[[i]]]; ], {i, 20}]]", "status": "msg", "out": "{{83, Null}, {66, Null}, {76, Null}, {67, Null}, {62, Null}, {70, Null}, {61, Null}, {64, Null}, {75, Null}, {62, Null}, {60, Null}, {60, Null}, {58, Null}, {55, Null}, {77, Null}, {59, Null}, {65, Null}, {65, Null}, {62, Null}, {64, Null}}", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.054, "tmo": 120} +{"i": 96, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{83, Null}, 1, 1], Part[{66, Null}, 1, 1], Part[{76, Null}, 1, 1], Part[{67, Null}, 1, 1], Part[{62, Null}, 1, 1], Part[{70, Null}, 1, 1], Part[{61, Null}, 1, 1], Part[{64, Null}, 1, 1], Part[{75, Null}, 1, 1], Part[{62, Null}, 1, 1], Part[{60, Null}, 1, 1], Part[{60, Null}, 1, 1], Part[{58, Null}, 1, 1], Part[{55, Null}, 1, 1], Part[{77, Null}, 1, 1], Part[{59, Null}, 1, 1], Part[{65, Null}, 1, 1], Part[{65, Null}, 1, 1], Part[{62, Null}, 1, 1], Part[{64, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.000829205, Null}[[1, 1]], {0.000661454, Null}[[1, 1]], {0.000762295, Null}[[1, 1]], {0.000666471, Null}[[1, 1]], {0.000624527, Null}[[1, 1]], {0.000696165, Null}[[1, 1]], {0.000608434, Null}[[1, 1]], {0.000635645, Null}[[1, 1]], {0.000750057, Null}[[1, 1]], {0.000619821, Null}[[1, 1]], {0.000602765, Null}[[1, 1]], {0.000600691, Null}[[1, 1]], {0.000578448, Null}[[1, 1]], {0.000546701, Null}[[1, 1]], {0.000766721, Null}[[1, 1]], {0.000588483, Null}[[1, 1]], {0.000654083, Null}[[1, 1]], {0.000646611, Null}[[1, 1]], {0.000621153, Null}[[1, 1]], {0.000642604, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{83, Null}[[1, 1]], {66, Null}[[1, 1]], {76, Null}[[1, 1]], {67, Null}[[1, 1]], {62, Null}[[1, 1]], {70, Null}[[1, 1]], {61, Null}[[1, 1]], {64, Null}[[1, 1]], {75, Null}[[1, 1]], {62, Null}[[1, 1]], {60, Null}[[1, 1]], {60, Null}[[1, 1]], {58, Null}[[1, 1]], {55, Null}[[1, 1]], {77, Null}[[1, 1]], {59, Null}[[1, 1]], {65, Null}[[1, 1]], {65, Null}[[1, 1]], {62, Null}[[1, 1]], {64, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.063, "tmo": 120} +{"i": 97, "in": "HoldComplete[gt = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*10, 1/(10*i)], {i, 20}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.027, "tmo": 120} +{"i": 98, "in": "HoldComplete[ort = Table[Timing[DiscreteMath`OldCombinatorica`BiconnectedComponents[gt[[i]]]; ], {i, 20}]]", "status": "ok", "out": "{{39, Null}, {35, Null}, {29, Null}, {32, Null}, {27, Null}, {45, Null}, {31, Null}, {27, Null}, {28, Null}, {29, Null}, {28, Null}, {48, Null}, {29, Null}, {28, Null}, {34, Null}, {28, Null}, {30, Null}, {44, Null}, {27, Null}, {30, Null}}", "msgs": [], "secs": 0.041, "tmo": 120} +{"i": 99, "in": "HoldComplete[MultipleListPlot[(#1[[1,1]] & ) /@ rt, (#1[[1,1]] & ) /@ ort, PlotJoined -> True]]", "status": "msg", "out": "MultipleListPlot[{Part[{83, Null}, 1, 1], Part[{66, Null}, 1, 1], Part[{76, Null}, 1, 1], Part[{67, Null}, 1, 1], Part[{62, Null}, 1, 1], Part[{70, Null}, 1, 1], Part[{61, Null}, 1, 1], Part[{64, Null}, 1, 1], Part[{75, Null}, 1, 1], Part[{62, Null}, 1, 1], Part[{60, Null}, 1, 1], Part[{60, Null}, 1, 1], Part[{58, Null}, 1, 1], Part[{55, Null}, 1, 1], Part[{77, Null}, 1, 1], Part[{59, Null}, 1, 1], Part[{65, Null}, 1, 1], Part[{65, Null}, 1, 1], Part[{62, Null}, 1, 1], Part[{64, Null}, 1, 1]}, {Part[{39, Null}, 1, 1], Part[{35, Null}, 1, 1], Part[{29, Null}, 1, 1], Part[{32, Null}, 1, 1], Part[{27, Null}, 1, 1], Part[{45, Null}, 1, 1], Part[{31, Null}, 1, 1], Part[{27, Null}, 1, 1], Part[{28, Null}, 1, 1], Part[{29, Null}, 1, 1], Part[{28, Null}, 1, 1], Part[{48, Null}, 1, 1], Part[{29, Null}, 1, 1], Part[{28, Null}, 1, 1], Part[{34, Null}, 1, 1], Part[{28, Null}, 1, 1], Part[{30, Null}, 1, 1], Part[{44, Null}, 1, 1], Part[{27, Null}, 1, 1], Part[{30, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object."], "secs": 0.102, "tmo": 120} +{"i": 100, "in": "HoldComplete[Information[\"BiconnectedQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"BiconnectedQ[g] yields True if graph g is biconnected. If g is directed, the underlying undirected graph is used.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`BiconnectedQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 101, "in": "HoldComplete[g = GridGraph[4, 4]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.185, "tmo": 120} +{"i": 102, "in": "HoldComplete[BiconnectedQ[g]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.543, "tmo": 120} +{"i": 103, "in": "HoldComplete[BiconnectedQ[CompleteGraph[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.79, "tmo": 120} +{"i": 104, "in": "HoldComplete[BiconnectedQ[GraphUnion[CompleteGraph[10], CompleteGraph[10]]]]", "status": "ok", "out": "False", "msgs": [], "secs": 1.877, "tmo": 120} +{"i": 105, "in": "HoldComplete[BiconnectedQ[g = Contract[GraphUnion[CompleteGraph[10], CompleteGraph[10]], {10, 14}]]]", "status": "ok", "out": "False", "msgs": [], "secs": 2.02, "tmo": 120} +{"i": 106, "in": "HoldComplete[ShowGraph[g, VertexNumber -> Text[{-0.03, -0.03}, TextStyle -> {FontSize -> 14, FontWeight -> Bold, FontColor -> Red}], Background -> Yellow, EdgeColor -> Orange, ImageSize -> 400, PlotRange -> Large[0.05]]]", "status": "ok", "out": "", "msgs": [], "secs": 5.463, "tmo": 120} +{"i": 107, "in": "HoldComplete[Information[\"ArticulationVertices\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ArticulationVertices[g] gives a list of all articulation vertices in graph g. These are vertices whose removal will disconnect the graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ArticulationVertices\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 108, "in": "HoldComplete[g = Star[20]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.051, "tmo": 120} +{"i": 109, "in": "HoldComplete[ArticulationVertices[g]]", "status": "ok", "out": "{20}", "msgs": [], "secs": 0.533, "tmo": 120} +{"i": 110, "in": "HoldComplete[ArticulationVertices[CompleteGraph[10]]]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.79, "tmo": 120} +{"i": 111, "in": "HoldComplete[Information[\"Bridges\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Bridges[g] gives a list of the bridges of graph g, where each bridge is an edge whose removal disconnects the graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Bridges\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 112, "in": "HoldComplete[Bridges[RandomTree[10]]]", "status": "ok", "out": "{{2, 7}, {2, 8}, {1, 2}, {1, 3}, {1, 4}, {6, 9}, {1, 6}, {5, 10}, {1, 10}}", "msgs": [], "secs": 0.666, "tmo": 120} +{"i": 113, "in": "HoldComplete[g = GridGraph[10, 10]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.726, "tmo": 120} +{"i": 114, "in": "HoldComplete[Bridges[g]]", "status": "ok", "out": "{}", "msgs": [], "secs": 7.038, "tmo": 120} +{"i": 115, "in": "HoldComplete[Bridges[s = AddEdges[GraphUnion[Wheel[5], Wheel[7]], {{{5, 6}}}]]]", "status": "ok", "out": "{{5, 6}}", "msgs": [], "secs": 0.708, "tmo": 120} +{"i": 116, "in": "HoldComplete[ShowGraph[s, VertexNumber -> On, PlotRange -> Large[0.05]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.496, "tmo": 120} +{"i": 117, "in": "HoldComplete[Information[\"EdgeConnectivity\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"EdgeConnectivity[g] gives the minimum number of edges whose deletion from graph g disconnects it. EdgeConnectivity[g, Cut] gives a set of edges of minimum size whose deletion disconnects the graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`EdgeConnectivity\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 118, "in": "HoldComplete[EdgeConnectivity[GridGraph[20, 5]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 119, "in": "HoldComplete[EdgeConnectivity[s = AddEdges[GraphUnion[Wheel[5], Wheel[7]], {{{5, 6}}}]]]", "status": "ok", "out": "1", "msgs": [], "secs": 43.095, "tmo": 120} +{"i": 120, "in": "HoldComplete[EdgeConnectivity[RandomGraph[20, 0.3]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.129, "tmo": 120} +{"i": 121, "in": "HoldComplete[EdgeConnectivity[RandomGraph[20, 0.5]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 122, "in": "HoldComplete[EdgeConnectivity[RandomGraph[20, 0.7]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 123, "in": "HoldComplete[EdgeConnectivity[CompleteGraph[10]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 124, "in": "HoldComplete[gt = Table[RandomGraph[5*i, N[1/(5*i)]], {i, 15}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 125, "in": "HoldComplete[rt = Table[Timing[EdgeConnectivity[gt[[i]]]; ], {i, 15}]]", "status": "ok", "out": "{{108, Null}, {41, Null}, {38, Null}, {37, Null}, {35, Null}, {36, Null}, {56, Null}, {32, Null}, {35, Null}, {35, Null}, {34, Null}, {31, Null}, {48, Null}, {35, Null}, {32, Null}}", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 126, "in": "HoldComplete[V /@ gt]", "status": "ok", "out": "{V[DiscreteMath`OldCombinatorica`RandomGraph[10, Rational[1, 10]]], V[DiscreteMath`OldCombinatorica`RandomGraph[20, Rational[1, 20]]], V[DiscreteMath`OldCombinatorica`RandomGraph[30, Rational[1, 30]]], V[DiscreteMath`OldCombinatorica`RandomGraph[40, Rational[1, 40]]], V[DiscreteMath`OldCombinatorica`RandomGraph[50, Rational[1, 50]]], V[DiscreteMath`OldCombinatorica`RandomGraph[60, Rational[1, 60]]], V[DiscreteMath`OldCombinatorica`RandomGraph[70, Rational[1, 70]]], V[DiscreteMath`OldCombinatorica`RandomGraph[80, Rational[1, 80]]], V[DiscreteMath`OldCombinatorica`RandomGraph[90, Rational[1, 90]]], V[DiscreteMath`OldCombinatorica`RandomGraph[100, Rational[1, 100]]], V[DiscreteMath`OldCombinatorica`RandomGraph[110, Rational[1, 110]]], V[DiscreteMath`OldCombinatorica`RandomGraph[120, Rational[1, 120]]], V[DiscreteMath`OldCombinatorica`RandomGraph[130, Rational[1, 130]]], V[DiscreteMath`OldCombinatorica`RandomGraph[140, Rational[1, 140]]], V[DiscreteMath`OldCombinatorica`RandomGraph[150, Rational[1, 150]]], V[DiscreteMath`OldCombinatorica`RandomGraph[160, Rational[1, 160]]], V[DiscreteMath`OldCombinatorica`RandomGraph[170, Rational[1, 170]]], V[DiscreteMath`OldCombinatorica`RandomGraph[180, Rational[1, 180]]], V[DiscreteMath`OldCombinatorica`RandomGraph[190, Rational[1, 190]]], V[DiscreteMath`OldCombinatorica`RandomGraph[200, Rational[1, 200]]]}", "msgs": [], "secs": 0.013, "tmo": 120} +{"i": 127, "in": "HoldComplete[M /@ gt]", "status": "ok", "out": "{M[DiscreteMath`OldCombinatorica`RandomGraph[10, Rational[1, 10]]], M[DiscreteMath`OldCombinatorica`RandomGraph[20, Rational[1, 20]]], M[DiscreteMath`OldCombinatorica`RandomGraph[30, Rational[1, 30]]], M[DiscreteMath`OldCombinatorica`RandomGraph[40, Rational[1, 40]]], M[DiscreteMath`OldCombinatorica`RandomGraph[50, Rational[1, 50]]], M[DiscreteMath`OldCombinatorica`RandomGraph[60, Rational[1, 60]]], M[DiscreteMath`OldCombinatorica`RandomGraph[70, Rational[1, 70]]], M[DiscreteMath`OldCombinatorica`RandomGraph[80, Rational[1, 80]]], M[DiscreteMath`OldCombinatorica`RandomGraph[90, Rational[1, 90]]], M[DiscreteMath`OldCombinatorica`RandomGraph[100, Rational[1, 100]]], M[DiscreteMath`OldCombinatorica`RandomGraph[110, Rational[1, 110]]], M[DiscreteMath`OldCombinatorica`RandomGraph[120, Rational[1, 120]]], M[DiscreteMath`OldCombinatorica`RandomGraph[130, Rational[1, 130]]], M[DiscreteMath`OldCombinatorica`RandomGraph[140, Rational[1, 140]]], M[DiscreteMath`OldCombinatorica`RandomGraph[150, Rational[1, 150]]], M[DiscreteMath`OldCombinatorica`RandomGraph[160, Rational[1, 160]]], M[DiscreteMath`OldCombinatorica`RandomGraph[170, Rational[1, 170]]], M[DiscreteMath`OldCombinatorica`RandomGraph[180, Rational[1, 180]]], M[DiscreteMath`OldCombinatorica`RandomGraph[190, Rational[1, 190]]], M[DiscreteMath`OldCombinatorica`RandomGraph[200, Rational[1, 200]]]}", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 128, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{108, Null}, 1, 1], Part[{41, Null}, 1, 1], Part[{38, Null}, 1, 1], Part[{37, Null}, 1, 1], Part[{35, Null}, 1, 1], Part[{36, Null}, 1, 1], Part[{56, Null}, 1, 1], Part[{32, Null}, 1, 1], Part[{35, Null}, 1, 1], Part[{35, Null}, 1, 1], Part[{34, Null}, 1, 1], Part[{31, Null}, 1, 1], Part[{48, Null}, 1, 1], Part[{35, Null}, 1, 1], Part[{32, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.00108196, Null}[[1, 1]], {0.000412871, Null}[[1, 1]], {0.000378518, Null}[[1, 1]], {0.000370447, Null}[[1, 1]], {0.000347121, Null}[[1, 1]], {0.000358939, Null}[[1, 1]], {0.000561723, Null}[[1, 1]], {0.000322694, Null}[[1, 1]], {0.000347411, Null}[[1, 1]], {0.00035359, Null}[[1, 1]], {0.000337015, Null}[[1, 1]], {0.000312328, Null}[[1, 1]], {0.000481432, Null}[[1, 1]], {0.000352109, Null}[[1, 1]], {0.000315865, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{108, Null}[[1, 1]], {41, Null}[[1, 1]], {38, Null}[[1, 1]], {37, Null}[[1, 1]], {35, Null}[[1, 1]], {36, Null}[[1, 1]], {56, Null}[[1, 1]], {32, Null}[[1, 1]], {35, Null}[[1, 1]], {35, Null}[[1, 1]], {34, Null}[[1, 1]], {31, Null}[[1, 1]], {48, Null}[[1, 1]], {35, Null}[[1, 1]], {32, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.052, "tmo": 120} +{"i": 129, "in": "HoldComplete[gt = Table[GridGraph[5, 5*i], {i, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 11.988, "tmo": 120} +{"i": 130, "in": "HoldComplete[rt = Table[Timing[EdgeConnectivity[gt[[i]]]; ], {i, 10}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 131, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{108, Null}, 1, 1], Part[{41, Null}, 1, 1], Part[{38, Null}, 1, 1], Part[{37, Null}, 1, 1], Part[{35, Null}, 1, 1], Part[{36, Null}, 1, 1], Part[{56, Null}, 1, 1], Part[{32, Null}, 1, 1], Part[{35, Null}, 1, 1], Part[{35, Null}, 1, 1], Part[{34, Null}, 1, 1], Part[{31, Null}, 1, 1], Part[{48, Null}, 1, 1], Part[{35, Null}, 1, 1], Part[{32, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.00108196, Null}[[1, 1]], {0.000412871, Null}[[1, 1]], {0.000378518, Null}[[1, 1]], {0.000370447, Null}[[1, 1]], {0.000347121, Null}[[1, 1]], {0.000358939, Null}[[1, 1]], {0.000561723, Null}[[1, 1]], {0.000322694, Null}[[1, 1]], {0.000347411, Null}[[1, 1]], {0.00035359, Null}[[1, 1]], {0.000337015, Null}[[1, 1]], {0.000312328, Null}[[1, 1]], {0.000481432, Null}[[1, 1]], {0.000352109, Null}[[1, 1]], {0.000315865, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{108, Null}[[1, 1]], {41, Null}[[1, 1]], {38, Null}[[1, 1]], {37, Null}[[1, 1]], {35, Null}[[1, 1]], {36, Null}[[1, 1]], {56, Null}[[1, 1]], {32, Null}[[1, 1]], {35, Null}[[1, 1]], {35, Null}[[1, 1]], {34, Null}[[1, 1]], {31, Null}[[1, 1]], {48, Null}[[1, 1]], {35, Null}[[1, 1]], {32, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.054, "tmo": 120} +{"i": 132, "in": "HoldComplete[h = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*5, N[(1/5)*i]], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 133, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`EdgeConnectivity[h[[i]]]; ], {i, 5}]]", "status": "ok", "out": "{{32, Null}, {27, Null}, {26, Null}, {25, Null}, {24, Null}}", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 134, "in": "HoldComplete[Information[\"VertexConnectivity\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"VertexConnectivity[g] gives the minimum number of vertices whose deletion from graph g disconnects it. VertexConnectivity[g, Cut] gives a set of vertices of minimum size, whose removal disconnects the graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`VertexConnectivity\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.01, "tmo": 120} +{"i": 135, "in": "HoldComplete[VertexConnectivity[GridGraph[10, 3]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 136, "in": "HoldComplete[VertexConnectivity[Star[30]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 137, "in": "HoldComplete[VertexConnectivity[CompleteGraph[4]]]", "status": "ok", "out": "3", "msgs": [], "secs": 0.049, "tmo": 120} +{"i": 138, "in": "HoldComplete[DiscreteMath`OldCombinatorica`VertexConnectivity[DiscreteMath`OldCombinatorica`CompleteGraph[4]]]", "status": "ok", "out": "DiscreteMath`OldCombinatorica`VertexConnectivity[DiscreteMath`OldCombinatorica`CompleteGraph[4]]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 139, "in": "HoldComplete[g = GridGraph[10, 4]; h = DiscreteMath`OldCombinatorica`GridGraph[10, 4]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.322, "tmo": 120} +{"i": 140, "in": "HoldComplete[Timing[VertexConnectivity[g]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 141, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`VertexConnectivity[h]; ]]", "status": "ok", "out": "{20, Null}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 142, "in": "HoldComplete[Information[\"VertexConnectivityGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"VertexConnectivityGraph[g] returns a directed graph that contains an edge corresponding to each vertex in g and in which edge disjoint paths correspond to vertex disjoint paths in g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`VertexConnectivityGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.01, "tmo": 120} +{"i": 143, "in": "HoldComplete[ShowGraph[g = VertexConnectivityGraph[Wheel[10]], VertexStyle -> Disc[0.025], ImageSize -> 400]]", "status": "ok", "out": "", "msgs": [], "secs": 3.314, "tmo": 120} +{"i": 144, "in": "HoldComplete[ShowGraph[g = RandomTree[10]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.164, "tmo": 120} +{"i": 145, "in": "HoldComplete[ShowGraph[VertexConnectivityGraph[g], HeadScaling -> Relative, ImageSize -> 400, VertexStyle -> Disc[0.015]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.408, "tmo": 120} +{"i": 146, "in": "HoldComplete[g = GridGraph[10, 4]; Timing[VertexConnectivityGraph[g]; ]]", "status": "ok", "out": "{76559, Null}", "msgs": [], "secs": 1.087, "tmo": 120} +{"i": 147, "in": "HoldComplete[Information[\"Harary\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Harary[k, n] constructs the minimal k-connected graph on n vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Harary\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 4.852, "tmo": 120} +{"i": 148, "in": "HoldComplete[ShowGraph[Harary[3, 10]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.302, "tmo": 120} +{"i": 149, "in": "HoldComplete[ShowGraph[Harary[7, 13]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.994, "tmo": 120} +{"i": 150, "in": "HoldComplete[CompleteQ[Harary[8, 9]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.231, "tmo": 120} +{"i": 151, "in": "HoldComplete[CompleteQ[Harary[10, 9]]]", "status": "ok", "out": "CompleteQ[Harary[10, 9]]", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 152, "in": "HoldComplete[rt = Table[Timing[Harary[5, i*10]; ], {i, 20}]]", "status": "ok", "out": "{{18553, Null}, {31694, Null}, {41540, Null}, {51235, Null}, {63767, Null}, {76199, Null}, {89389, Null}, {103371, Null}, {113924, Null}, {128787, Null}, {139586, Null}, {151187, Null}, {162868, Null}, {176852, Null}, {189055, Null}, {203317, Null}, {217566, Null}, {233281, Null}, {241288, Null}, {257725, Null}}", "msgs": [], "secs": 26.97, "tmo": 120} +{"i": 153, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{18553, Null}, 1, 1], Part[{31694, Null}, 1, 1], Part[{41540, Null}, 1, 1], Part[{51235, Null}, 1, 1], Part[{63767, Null}, 1, 1], Part[{76199, Null}, 1, 1], Part[{89389, Null}, 1, 1], Part[{103371, Null}, 1, 1], Part[{113924, Null}, 1, 1], Part[{128787, Null}, 1, 1], Part[{139586, Null}, 1, 1], Part[{151187, Null}, 1, 1], Part[{162868, Null}, 1, 1], Part[{176852, Null}, 1, 1], Part[{189055, Null}, 1, 1], Part[{203317, Null}, 1, 1], Part[{217566, Null}, 1, 1], Part[{233281, Null}, 1, 1], Part[{241288, Null}, 1, 1], Part[{257725, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.185535, Null}[[1, 1]], {0.31694, Null}[[1, 1]], {0.415395, Null}[[1, 1]], {0.512353, Null}[[1, 1]], {0.637669, Null}[[1, 1]], {0.761989, Null}[[1, 1]], {0.89389, Null}[[1, 1]], {1.03371, Null}[[1, 1]], {1.13924, Null}[[1, 1]], {1.28787, Null}[[1, 1]], {1.39586, Null}[[1, 1]], {1.51187, Null}[[1, 1]], {1.62868, Null}[[1, 1]], {1.76852, Null}[[1, 1]], {1.89055, Null}[[1, 1]], {2.03317, Null}[[1, 1]], {2.17566, Null}[[1, 1]], {2.33281, Null}[[1, 1]], {2.41288, Null}[[1, 1]], {2.57725, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{18553, Null}[[1, 1]], {31694, Null}[[1, 1]], {41540, Null}[[1, 1]], {51235, Null}[[1, 1]], {63767, Null}[[1, 1]], {76199, Null}[[1, 1]], {89389, Null}[[1, 1]], {103371, Null}[[1, 1]], {113924, Null}[[1, 1]], {128787, Null}[[1, 1]], {139586, Null}[[1, 1]], {151187, Null}[[1, 1]], {162868, Null}[[1, 1]], {176852, Null}[[1, 1]], {189055, Null}[[1, 1]], {203317, Null}[[1, 1]], {217566, Null}[[1, 1]], {233281, Null}[[1, 1]], {241288, Null}[[1, 1]], {257725, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.079, "tmo": 120} +{"i": 154, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Harary[5, i*10]; ], {i, 20}]]", "status": "ok", "out": "{{22, Null}, {38, Null}, {18, Null}, {16, Null}, {16, Null}, {17, Null}, {28, Null}, {15, Null}, {17, Null}, {18, Null}, {15, Null}, {143, Null}, {17, Null}, {16, Null}, {17, Null}, {16, Null}, {34, Null}, {20, Null}, {17, Null}, {15, Null}}", "msgs": [], "secs": 0.048, "tmo": 120} +{"i": 155, "in": "HoldComplete[rt = Table[Timing[Harary[5, i*10]; ], {i, 20}]]", "status": "ok", "out": "{{12904, Null}, {25264, Null}, {37046, Null}, {49599, Null}, {62665, Null}, {74933, Null}, {88054, Null}, {101672, Null}, {115634, Null}, {127405, Null}, {136866, Null}, {149692, Null}, {163577, Null}, {176587, Null}, {186355, Null}, {197688, Null}, {213618, Null}, {225382, Null}, {237446, Null}, {249890, Null}}", "msgs": [], "secs": 26.378, "tmo": 120} +{"i": 156, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{12904, Null}, 1, 1], Part[{25264, Null}, 1, 1], Part[{37046, Null}, 1, 1], Part[{49599, Null}, 1, 1], Part[{62665, Null}, 1, 1], Part[{74933, Null}, 1, 1], Part[{88054, Null}, 1, 1], Part[{101672, Null}, 1, 1], Part[{115634, Null}, 1, 1], Part[{127405, Null}, 1, 1], Part[{136866, Null}, 1, 1], Part[{149692, Null}, 1, 1], Part[{163577, Null}, 1, 1], Part[{176587, Null}, 1, 1], Part[{186355, Null}, 1, 1], Part[{197688, Null}, 1, 1], Part[{213618, Null}, 1, 1], Part[{225382, Null}, 1, 1], Part[{237446, Null}, 1, 1], Part[{249890, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.129037, Null}[[1, 1]], {0.252638, Null}[[1, 1]], {0.370459, Null}[[1, 1]], {0.49599, Null}[[1, 1]], {0.626652, Null}[[1, 1]], {0.749326, Null}[[1, 1]], {0.880538, Null}[[1, 1]], {1.01672, Null}[[1, 1]], {1.15634, Null}[[1, 1]], {1.27405, Null}[[1, 1]], {1.36866, Null}[[1, 1]], {1.49692, Null}[[1, 1]], {1.63577, Null}[[1, 1]], {1.76587, Null}[[1, 1]], {1.86355, Null}[[1, 1]], {1.97688, Null}[[1, 1]], {2.13618, Null}[[1, 1]], {2.25382, Null}[[1, 1]], {2.37446, Null}[[1, 1]], {2.4989, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{12904, Null}[[1, 1]], {25264, Null}[[1, 1]], {37046, Null}[[1, 1]], {49599, Null}[[1, 1]], {62665, Null}[[1, 1]], {74933, Null}[[1, 1]], {88054, Null}[[1, 1]], {101672, Null}[[1, 1]], {115634, Null}[[1, 1]], {127405, Null}[[1, 1]], {136866, Null}[[1, 1]], {149692, Null}[[1, 1]], {163577, Null}[[1, 1]], {176587, Null}[[1, 1]], {186355, Null}[[1, 1]], {197688, Null}[[1, 1]], {213618, Null}[[1, 1]], {225382, Null}[[1, 1]], {237446, Null}[[1, 1]], {249890, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.077, "tmo": 120} +{"i": 157, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Harary[i*5, 10]; ], {i, 3, 20}]]", "status": "ok", "out": "{{51, Null}, {27, Null}, {24, Null}, {23, Null}, {24, Null}, {34, Null}, {25, Null}, {18, Null}, {24, Null}, {22, Null}, {36, Null}, {20, Null}, {20, Null}, {19, Null}, {20, Null}, {34, Null}, {23, Null}, {27, Null}}", "msgs": [], "secs": 0.038, "tmo": 120} +{"i": 158, "in": "HoldComplete[Information[\"IdenticalQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"IdenticalQ[g, h] yields True if graphs g and h have identical edge lists, even though the associated graphics information need not be the same.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`IdenticalQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 159, "in": "HoldComplete[g = CompleteGraph[10]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.063, "tmo": 120} +{"i": 160, "in": "HoldComplete[IdenticalQ[g, CompleteGraph[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.114, "tmo": 120} +{"i": 161, "in": "HoldComplete[IdenticalQ[g, Wheel[10]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.071, "tmo": 120} +{"i": 162, "in": "HoldComplete[g = AddEdges[g, {{{1, 2}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.071, "tmo": 120} +{"i": 163, "in": "HoldComplete[IdenticalQ[g, CompleteGraph[10]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.108, "tmo": 120} +{"i": 164, "in": "HoldComplete[IdenticalQ[CirculantGraph[10, Range[5]], CompleteGraph[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.264, "tmo": 120} +{"i": 165, "in": "HoldComplete[IdenticalQ[RemoveMultipleEdges[CirculantGraph[10, Range[5]]], CompleteGraph[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.378, "tmo": 120} +{"i": 166, "in": "HoldComplete[IdenticalQ[GraphDifference[Wheel[11], AddVertices[Cycle[10], 1]], Star[11]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.373, "tmo": 120} +{"i": 167, "in": "HoldComplete[g = GridGraph[100, 100]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 65.169, "tmo": 120} +{"i": 168, "in": "HoldComplete[Timing[IdenticalQ[g, g]; ]]", "status": "ok", "out": "{1629189, Null}", "msgs": [], "secs": 16.304, "tmo": 120} +{"i": 169, "in": "HoldComplete[Information[\"IsomorphismQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"IsomorphismQ[g, h, p] tests if permutation p defines an isomorphism between graphs g and h.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`IsomorphismQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 170, "in": "HoldComplete[IsomorphismQ[CompleteGraph[10], CompleteGraph[10], RandomPermutation[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.474, "tmo": 120} +{"i": 171, "in": "HoldComplete[tf = (IsomorphismQ[Cycle[4], Cycle[4], #1] & ) /@ Permutations[Range[4]]]", "status": "ok", "out": "{True, False, False, False, False, True, False, True, False, True, False, False, False, False, True, False, True, False, True, False, False, False, False, True}", "msgs": [], "secs": 2.384, "tmo": 120} +{"i": 172, "in": "HoldComplete[Length[Select[tf, #1 == True & ]]]", "status": "ok", "out": "8", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 173, "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 8}]; pt = Table[RandomPermutation[200*i], {i, 8}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 95.894, "tmo": 120} +{"i": 174, "in": "HoldComplete[rt = Table[Timing[IsomorphismQ[gt[[i]], gt[[i]], pt[[i]]]; ], {i, 8}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 175, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{12904, Null}, 1, 1], Part[{25264, Null}, 1, 1], Part[{37046, Null}, 1, 1], Part[{49599, Null}, 1, 1], Part[{62665, Null}, 1, 1], Part[{74933, Null}, 1, 1], Part[{88054, Null}, 1, 1], Part[{101672, Null}, 1, 1], Part[{115634, Null}, 1, 1], Part[{127405, Null}, 1, 1], Part[{136866, Null}, 1, 1], Part[{149692, Null}, 1, 1], Part[{163577, Null}, 1, 1], Part[{176587, Null}, 1, 1], Part[{186355, Null}, 1, 1], Part[{197688, Null}, 1, 1], Part[{213618, Null}, 1, 1], Part[{225382, Null}, 1, 1], Part[{237446, Null}, 1, 1], Part[{249890, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.129037, Null}[[1, 1]], {0.252638, Null}[[1, 1]], {0.370459, Null}[[1, 1]], {0.49599, Null}[[1, 1]], {0.626652, Null}[[1, 1]], {0.749326, Null}[[1, 1]], {0.880538, Null}[[1, 1]], {1.01672, Null}[[1, 1]], {1.15634, Null}[[1, 1]], {1.27405, Null}[[1, 1]], {1.36866, Null}[[1, 1]], {1.49692, Null}[[1, 1]], {1.63577, Null}[[1, 1]], {1.76587, Null}[[1, 1]], {1.86355, Null}[[1, 1]], {1.97688, Null}[[1, 1]], {2.13618, Null}[[1, 1]], {2.25382, Null}[[1, 1]], {2.37446, Null}[[1, 1]], {2.4989, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{12904, Null}[[1, 1]], {25264, Null}[[1, 1]], {37046, Null}[[1, 1]], {49599, Null}[[1, 1]], {62665, Null}[[1, 1]], {74933, Null}[[1, 1]], {88054, Null}[[1, 1]], {101672, Null}[[1, 1]], {115634, Null}[[1, 1]], {127405, Null}[[1, 1]], {136866, Null}[[1, 1]], {149692, Null}[[1, 1]], {163577, Null}[[1, 1]], {176587, Null}[[1, 1]], {186355, Null}[[1, 1]], {197688, Null}[[1, 1]], {213618, Null}[[1, 1]], {225382, Null}[[1, 1]], {237446, Null}[[1, 1]], {249890, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.082, "tmo": 120} +{"i": 176, "in": "HoldComplete[ht = Table[DiscreteMath`OldCombinatorica`GridGraph[20, 10*i], {i, 8}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 177, "in": "HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`IsomorphismQ[gt[[i]], gt[[i]], pt[[i]]]; ], {i, 8}]]", "status": "ok", "out": "{{66, Null}, {59, Null}, {54, Null}, {54, Null}, {79, Null}, {51, Null}, {53, Null}, {57, Null}}", "msgs": [], "secs": 0.026, "tmo": 120} +{"i": 178, "in": "HoldComplete[Information[\"Isomorphism\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Isomorphism[g, h] gives an isomorphism between graphs g and h if one exists. Isomorphism[g, h, All] gives all isomorphisms between graphs g and h. Isomorphism[g] gives the automorphism group of g. This function takes an option Invariants -> {f1, f2, ...}, where f1, f2, ... are functions that are used to compute vertex invariants. These functions are used in the order in which they are specified. The default value of Invariants is {DegreesOf2Neighborhood, NumberOf2Paths, Distances}.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Isomorphism\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Invariants, {DiscreteMath`CombinatoricaV201`DegreesOf2Neighborhood,DiscreteMath`CombinatoricaV201`NumberOf2Paths,DiscreteMath`CombinatoricaV201`Distances}]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 179, "in": "HoldComplete[Isomorphism[Wheel[10], CompleteGraph[10]]]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.399, "tmo": 120} +{"i": 180, "in": "HoldComplete[Isomorphism[Wheel[5], Wheel[5], All]]", "status": "ok", "out": "{{1, 2, 3, 4, 5}, {1, 4, 3, 2, 5}, {2, 1, 4, 3, 5}, {2, 3, 4, 1, 5}, {3, 2, 1, 4, 5}, {3, 4, 1, 2, 5}, {4, 1, 2, 3, 5}, {4, 3, 2, 1, 5}}", "msgs": [], "secs": 11.769, "tmo": 120} +{"i": 181, "in": "HoldComplete[Isomorphism[Star[5], Star[5], All]]", "status": "ok", "out": "{{1, 2, 3, 4, 5}, {1, 2, 4, 3, 5}, {1, 3, 2, 4, 5}, {1, 3, 4, 2, 5}, {1, 4, 2, 3, 5}, {1, 4, 3, 2, 5}, {2, 1, 3, 4, 5}, {2, 1, 4, 3, 5}, {2, 3, 1, 4, 5}, {2, 3, 4, 1, 5}, {2, 4, 1, 3, 5}, {2, 4, 3, 1, 5}, {3, 1, 2, 4, 5}, {3, 1, 4, 2, 5}, {3, 2, 1, 4, 5}, {3, 2, 4, 1, 5}, {3, 4, 1, 2, 5}, {3, 4, 2, 1, 5}, {4, 1, 2, 3, 5}, {4, 1, 3, 2, 5}, {4, 2, 1, 3, 5}, {4, 2, 3, 1, 5}, {4, 3, 1, 2, 5}, {4, 3, 2, 1, 5}}", "msgs": [], "secs": 22.264, "tmo": 120} +{"i": 182, "in": "HoldComplete[Isomorphism[Wheel[10], Star[10]]]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.258, "tmo": 120} +{"i": 183, "in": "HoldComplete[Isomorphism[Cycle[10], Cycle[10], All]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 184, "in": "HoldComplete[g = Table[Cycle[i], {i, 10, 20, 2}]; h = Table[Cycle[i], {i, 10, 20, 2}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.476, "tmo": 120} +{"i": 185, "in": "HoldComplete[Table[Timing[Isomorphism[g[[i]], g[[i]], All]; ], {i, 6}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 186, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Isomorphism[h[[i]], h[[i]], All]; ], {i, 6}]]", "status": "ok", "out": "{{75, Null}, {43, Null}, {42, Null}, {39, Null}, {39, Null}, {55, Null}}", "msgs": [], "secs": 0.023, "tmo": 120} +{"i": 187, "in": "HoldComplete[Isomorphism[Cycle[5]]]", "status": "ok", "out": "{{1, 2, 3, 4, 5}, {1, 5, 4, 3, 2}, {2, 1, 5, 4, 3}, {2, 3, 4, 5, 1}, {3, 2, 1, 5, 4}, {3, 4, 5, 1, 2}, {4, 3, 2, 1, 5}, {4, 5, 1, 2, 3}, {5, 1, 2, 3, 4}, {5, 4, 3, 2, 1}}", "msgs": [], "secs": 18.145, "tmo": 120} +{"i": 188, "in": "HoldComplete[Isomorphism[Path[5]]]", "status": "ok", "out": "{{1, 2, 3, 4, 5}, {5, 4, 3, 2, 1}}", "msgs": [], "secs": 3.304, "tmo": 120} +{"i": 189, "in": "HoldComplete[Isomorphism[t = RandomTree[7]]]", "status": "ok", "out": "{{1, 2, 3, 4, 5, 6, 7}, {1, 7, 6, 5, 4, 3, 2}}", "msgs": [], "secs": 13.465, "tmo": 120} +{"i": 190, "in": "HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.1]]]", "status": "ok", "out": "", "msgs": [], "secs": 0.69, "tmo": 120} +{"i": 191, "in": "HoldComplete[Information[\"IsomorphicQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"IsomorphicQ[g, h] yields True if graphs g and h are isomorphic. This function takes an option Invariants -> {f1, f2, ...}, where f1, f2, ... are functions that are used to compute vertex invariants. These functions are used in the order in which they are specified. The default value of Invariants is {DegreesOf2Neighborhood, NumberOf2Paths, Distances}.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`IsomorphicQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Invariants, {DiscreteMath`CombinatoricaV201`DegreesOf2Neighborhood,DiscreteMath`CombinatoricaV201`NumberOf2Paths,DiscreteMath`CombinatoricaV201`Distances}]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.023, "tmo": 120} +{"i": 192, "in": "HoldComplete[IsomorphicQ[Wheel[10], Wheel[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.1, "tmo": 120} +{"i": 193, "in": "HoldComplete[IsomorphicQ[CompleteGraph[8], GraphJoin[CompleteGraph[4], CompleteGraph[4]]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.331, "tmo": 120} +{"i": 194, "in": "HoldComplete[IsomorphicQ[RandomTree[20], CompleteGraph[20]]]", "status": "ok", "out": "False", "msgs": [], "secs": 1.794, "tmo": 120} +{"i": 195, "in": "HoldComplete[Information[\"Equivalences\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Equivalences[g, h] lists the vertex equivalence classes between graphs g and h defined by their vertex degrees. Equivalences[g] lists the vertex equivalences for graph g defined by the vertex degrees. Equivalences[g, h, f1, f2, ...] and Equivalences[g, f1, f2, ...] can also be used, where f1, f2, ... are functions that compute other vertex invariants. It is expected that for each function fi, the call fi[g, v] returns the corresponding invariant at vertex v in graph g. The functions f1, f2, ... are evaluated in order, and the evaluation stops either when all functions have been evaluated or when an empty equivalence class is found. Three vertex invariants, DegreesOf2Neighborhood, NumberOf2Paths, and Distances are Combinatorica functions and can be used to refine the equivalences.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Equivalences\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 196, "in": "HoldComplete[Equivalences[Wheel[10], CompleteGraph[10]]]", "status": "ok", "out": "{{}, {}, {}, {}, {}, {}, {}, {}, {}, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}", "msgs": [], "secs": 0.368, "tmo": 120} +{"i": 197, "in": "HoldComplete[Equivalences[Path[10], CompleteGraph[10]]]", "status": "ok", "out": "{{}, {}, {}, {}, {}, {}, {}, {}, {}, {}}", "msgs": [], "secs": 0.325, "tmo": 120} +{"i": 198, "in": "HoldComplete[Equivalences[Path[10], Path[10]]]", "status": "ok", "out": "{{1, 10}, {2, 3, 4, 5, 6, 7, 8, 9}, {2, 3, 4, 5, 6, 7, 8, 9}, {2, 3, 4, 5, 6, 7, 8, 9}, {2, 3, 4, 5, 6, 7, 8, 9}, {2, 3, 4, 5, 6, 7, 8, 9}, {2, 3, 4, 5, 6, 7, 8, 9}, {2, 3, 4, 5, 6, 7, 8, 9}, {2, 3, 4, 5, 6, 7, 8, 9}, {1, 10}}", "msgs": [], "secs": 0.178, "tmo": 120} +{"i": 199, "in": "HoldComplete[g = GraphUnion[Cycle[4], Cycle[4]]; ShowGraph[g, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.002, "tmo": 120} +{"i": 200, "in": "HoldComplete[g = AddEdges[g, {{{1, 5}}, {{2, 4}}, {{6, 8}}, {{3, 7}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 201, "in": "HoldComplete[ShowGraph[g, VertexNumber -> On, PlotRange -> Large[0.1]]]", "status": "ok", "out": "", "msgs": [], "secs": 0.984, "tmo": 120} +{"i": 202, "in": "HoldComplete[DegreeSequence[g]]", "status": "ok", "out": "{3, 3, 3, 3, 3, 3, 3, 3}", "msgs": [], "secs": 0.075, "tmo": 120} +{"i": 203, "in": "HoldComplete[ShowGraph[h = Hypercube[3]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.244, "tmo": 120} +{"i": 204, "in": "HoldComplete[DegreeSequence[h]]", "status": "ok", "out": "{3, 3, 3, 3, 3, 3, 3, 3}", "msgs": [], "secs": 0.082, "tmo": 120} +{"i": 205, "in": "HoldComplete[Equivalences[g, h]]", "status": "ok", "out": "{{1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}}", "msgs": [], "secs": 0.156, "tmo": 120} +{"i": 206, "in": "HoldComplete[Isomorphism[g, h, All]]", "status": "ok", "out": "{}", "msgs": [], "secs": 2.506, "tmo": 120} +{"i": 207, "in": "HoldComplete[Equivalences[GraphPower[g, 2], GraphPower[h, 2]]]", "status": "ok", "out": "{{1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}, {1, 2, 3, 4, 5, 6, 7, 8}}", "msgs": [], "secs": 0.96, "tmo": 120} +{"i": 208, "in": "HoldComplete[gm = Path[10]; gm2 = GraphPower[gm, 2]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.34, "tmo": 120} +{"i": 209, "in": "HoldComplete[Equivalences[gm2, gm2]]", "status": "ok", "out": "{{1, 10}, {2, 9}, {3, 4, 5, 6, 7, 8}, {3, 4, 5, 6, 7, 8}, {3, 4, 5, 6, 7, 8}, {3, 4, 5, 6, 7, 8}, {3, 4, 5, 6, 7, 8}, {3, 4, 5, 6, 7, 8}, {2, 9}, {1, 10}}", "msgs": [], "secs": 0.258, "tmo": 120} +{"i": 210, "in": "HoldComplete[Equivalences[gm3 = GraphPower[gm, 3], gm3]]", "status": "ok", "out": "{{1, 10}, {2, 9}, {3, 8}, {4, 5, 6, 7}, {4, 5, 6, 7}, {4, 5, 6, 7}, {4, 5, 6, 7}, {3, 8}, {2, 9}, {1, 10}}", "msgs": [], "secs": 0.835, "tmo": 120} +{"i": 211, "in": "HoldComplete[Equivalences[gm5 = GraphPower[gm, 5], gm5]]", "status": "ok", "out": "{{1, 10}, {2, 9}, {3, 8}, {4, 7}, {5, 6}, {5, 6}, {4, 7}, {3, 8}, {2, 9}, {1, 10}}", "msgs": [], "secs": 2.013, "tmo": 120} +{"i": 212, "in": "HoldComplete[Equivalences[Wheel[5]]]", "status": "ok", "out": "{{1, 2, 3, 4}, {1, 2, 3, 4}, {1, 2, 3, 4}, {1, 2, 3, 4}, {5}}", "msgs": [], "secs": 0.126, "tmo": 120} +{"i": 213, "in": "HoldComplete[Equivalences[CompleteGraph[4]]]", "status": "ok", "out": "{{1, 2, 3, 4}, {1, 2, 3, 4}, {1, 2, 3, 4}, {1, 2, 3, 4}}", "msgs": [], "secs": 0.112, "tmo": 120} +{"i": 214, "in": "HoldComplete[Information[\"Automorphisms\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Automorphisms[g] gives the automorphism group of the graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Automorphisms\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.018, "tmo": 120} +{"i": 215, "in": "HoldComplete[Automorphisms[Star[4]]]", "status": "ok", "out": "{{1, 2, 3, 4}, {1, 3, 2, 4}, {2, 1, 3, 4}, {2, 3, 1, 4}, {3, 1, 2, 4}, {3, 2, 1, 4}}", "msgs": [], "secs": 4.384, "tmo": 120} +{"i": 216, "in": "HoldComplete[Information[\"SelfComplementaryQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"SelfComplementaryQ[g] yields True if graph g is self-complementary, meaning it is isomorphic to its complement.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`SelfComplementaryQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 217, "in": "HoldComplete[SelfComplementaryQ[Path[4]]]", "status": "ok", "out": "True", "msgs": [], "secs": 1.891, "tmo": 120} +{"i": 218, "in": "HoldComplete[SelfComplementaryQ[Cycle[5]]]", "status": "ok", "out": "True", "msgs": [], "secs": 3.712, "tmo": 120} +{"i": 219, "in": "HoldComplete[SelfComplementaryQ[Path[5]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.226, "tmo": 120} +{"i": 220, "in": "HoldComplete[Information[\"FindCycle\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Usage of Directed as a second argument to FindCycle is obsolete.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`FindCycle\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.021, "tmo": 120} +{"i": 221, "in": "HoldComplete[ShowGraph[t = RandomGraph[10, 0.4], VertexNumber -> On, VertexNumberColor -> Red, PlotRange -> Large[0.1], Background -> LightBlue]]", "status": "ok", "out": "", "msgs": [], "secs": 1.371, "tmo": 120} +{"i": 222, "in": "HoldComplete[FindCycle[t]]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.123, "tmo": 120} +{"i": 223, "in": "HoldComplete[ShowGraph[t = AddEdges[RandomTree[10], {{{1, 10}}}], VertexNumber -> On, PlotRange -> Large[0.05]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.236, "tmo": 120} +{"i": 224, "in": "HoldComplete[FindCycle[t]]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.116, "tmo": 120} +{"i": 225, "in": "HoldComplete[HighlightCycle[t_Graph] := Highlight[t, c = FindCycle[t]; {Table[Sort[{c[[i]], c[[i + 1]]}], {i, Length[c] - 1}]}, HighlightedEdgeColors -> {Red}] /; UndirectedQ[t]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 226, "in": "HoldComplete[HighlightCycle[t_Graph] := Highlight[t, c = FindCycle[t]; {Table[{c[[i]], c[[i + 1]]}, {i, Length[c] - 1}]}, HighlightedEdgeColors -> {Red}]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 227, "in": "HoldComplete[ShowGraph[HighlightCycle[t], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.101, "tmo": 120} +{"i": 228, "in": "HoldComplete[ShowGraph[HighlightCycle[RandomGraph[10, 0.4]]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.876, "tmo": 120} +{"i": 229, "in": "HoldComplete[ShowGraph[t = SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On, VertexNumber -> Text[{-0.03, -0.03}]], PlotRange -> Large[0.07]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.326, "tmo": 120} +{"i": 230, "in": "HoldComplete[ShowGraph[t = AddEdges[DeleteEdges[t, {{16, 17}, {17, 22}}], {{{17, 16}}, {{22, 17}}}], VertexNumber -> On, PlotRange -> Large[0.1]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.251, "tmo": 120} +{"i": 231, "in": "HoldComplete[ShowGraph[HighlightCycle[t]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.351, "tmo": 120} +{"i": 232, "in": "HoldComplete[t = AddEdges[Path[4], {{{1, 2}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.027, "tmo": 120} +{"i": 233, "in": "HoldComplete[Edges[t]]", "status": "ok", "out": "{{1, 2}, {2, 3}, {3, 4}, {1, 2}}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 234, "in": "HoldComplete[FindCycle[t]]", "status": "ok", "out": "{1, 2, 1}", "msgs": [], "secs": 0.016, "tmo": 120} +{"i": 235, "in": "HoldComplete[t = AddEdges[Path[4], {{{1, 1}}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.027, "tmo": 120} +{"i": 236, "in": "HoldComplete[FindCycle[t]]", "status": "ok", "out": "{1, 1}", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 237, "in": "HoldComplete[gt = Table[RandomGraph[50*i, N[1/(50*i)]], {i, 10}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.008, "tmo": 120} +{"i": 238, "in": "HoldComplete[rt = Table[Timing[FindCycle[gt[[i]]]; ], {i, 10}]]", "status": "msg", "out": "{{178742, Null}, {347495, Null}, {536777, Null}, {715502, Null}, {840945, Null}, {1720794, Null}, {1165695, Null}, {2067329, Null}, {2035, Null}, {1975, Null}}", "msgs": ["Part::partw: Part 9 of {⁃Graph:<370, 200, Undirected>⁃, ⁃Graph:<760, 400, Undirected>⁃, ⁃Graph:<1150, 600, Undirected>⁃, ⁃Graph:<1540, 800, Undirected>⁃, ⁃Graph:<1930, 1000, Undirected>⁃, ⁃Graph:<2320, 1200, Undirected>⁃, ⁃Graph:<2710, 1400, Undirected>⁃, ⁃Graph:<3100, 1600, Undirected>⁃} does not exist.", "Part::partw: Part 10 of {⁃Graph:<370, 200, Undirected>⁃, ⁃Graph:<760, 400, Undirected>⁃, ⁃Graph:<1150, 600, Undirected>⁃, ⁃Graph:<1540, 800, Undirected>⁃, ⁃Graph:<1930, 1000, Undirected>⁃, ⁃Graph:<2320, 1200, Undirected>⁃, ⁃Graph:<2710, 1400, Undirected>⁃, ⁃Graph:<3100, 1600, Undirected>⁃} does not exist."], "secs": 75.815, "tmo": 120} +{"i": 239, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{178742, Null}, 1, 1], Part[{347495, Null}, 1, 1], Part[{536777, Null}, 1, 1], Part[{715502, Null}, 1, 1], Part[{840945, Null}, 1, 1], Part[{1720794, Null}, 1, 1], Part[{1165695, Null}, 1, 1], Part[{2067329, Null}, 1, 1], Part[{2035, Null}, 1, 1], Part[{1975, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{1.78742, Null}[[1, 1]], {3.47495, Null}[[1, 1]], {5.36777, Null}[[1, 1]], {7.15502, Null}[[1, 1]], {8.40945, Null}[[1, 1]], {17.2079, Null}[[1, 1]], {11.6569, Null}[[1, 1]], {20.6733, Null}[[1, 1]], {0.0203523, Null}[[1, 1]], {0.0197454, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{178742, Null}[[1, 1]], {347495, Null}[[1, 1]], {536777, Null}[[1, 1]], {715502, Null}[[1, 1]], {840945, Null}[[1, 1]], {1720794, Null}[[1, 1]], {1165695, Null}[[1, 1]], {2067329, Null}[[1, 1]], {2035, Null}[[1, 1]], {1975, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.043, "tmo": 120} +{"i": 240, "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 79.124, "tmo": 120} +{"i": 241, "in": "HoldComplete[ct = Table[0, {10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 242, "in": "HoldComplete[rt = Table[Timing[ct[[i]] = FindCycle[gt[[i]]]; ], {i, 10}]]", "status": "ok", "out": "{{166368, Null}, {326803, Null}, {490026, Null}, {619689, Null}, {763960, Null}, {1740887, Null}, {1122327, Null}, {1222669, Null}, {2232012, Null}, {1569473, Null}}", "msgs": [], "secs": 102.587, "tmo": 120} +{"i": 243, "in": "HoldComplete[ct]", "status": "ok", "out": "{{}, {}, {}, {}, {}, {}, {}, {}, {}, {}}", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 244, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{166368, Null}, 1, 1], Part[{326803, Null}, 1, 1], Part[{490026, Null}, 1, 1], Part[{619689, Null}, 1, 1], Part[{763960, Null}, 1, 1], Part[{1740887, Null}, 1, 1], Part[{1122327, Null}, 1, 1], Part[{1222669, Null}, 1, 1], Part[{2232012, Null}, 1, 1], Part[{1569473, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{1.66368, Null}[[1, 1]], {3.26803, Null}[[1, 1]], {4.90026, Null}[[1, 1]], {6.19689, Null}[[1, 1]], {7.6396, Null}[[1, 1]], {17.4089, Null}[[1, 1]], {11.2233, Null}[[1, 1]], {12.2267, Null}[[1, 1]], {22.3201, Null}[[1, 1]], {15.6947, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{166368, Null}[[1, 1]], {326803, Null}[[1, 1]], {490026, Null}[[1, 1]], {619689, Null}[[1, 1]], {763960, Null}[[1, 1]], {1740887, Null}[[1, 1]], {1122327, Null}[[1, 1]], {1222669, Null}[[1, 1]], {2232012, Null}[[1, 1]], {1569473, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.043, "tmo": 120} +{"i": 245, "in": "HoldComplete[ht = Table[DiscreteMath`OldCombinatorica`RandomGraph[50*i, N[1/(50*i)]], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 246, "in": "HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`FindCycle[ht[[i]]]; ], {i, 5}]]", "status": "ok", "out": "{{32, Null}, {24, Null}, {26, Null}, {22, Null}, {26, Null}}", "msgs": [], "secs": 0.017, "tmo": 120} +{"i": 247, "in": "HoldComplete[Information[\"AcyclicQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"AcyclicQ[g] yields True if graph g is acyclic.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`AcyclicQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.021, "tmo": 120} +{"i": 248, "in": "HoldComplete[AcyclicQ[RandomTree[100]]]", "status": "ok", "out": "True", "msgs": [], "secs": 8.401, "tmo": 120} +{"i": 249, "in": "HoldComplete[AcyclicQ[GridGraph[10, 10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 1.491, "tmo": 120} +{"i": 250, "in": "HoldComplete[AcyclicQ[SetGraphOptions[GridGraph[10, 10], EdgeDirection -> On]]]", "status": "ok", "out": "True", "msgs": [], "secs": 1.971, "tmo": 120} +{"i": 251, "in": "HoldComplete[Information[\"TreeQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TreeQ[g] yields True if graph g is a tree.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TreeQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 252, "in": "HoldComplete[TreeQ[Star[100]]]", "status": "ok", "out": "True", "msgs": [], "secs": 1.314, "tmo": 120} +{"i": 253, "in": "HoldComplete[$RecursionLimit = 10000; ]", "status": "msg", "out": "Null", "msgs": ["$RecursionLimit::limset: Cannot set $RecursionLimit to 10000; value must be an integer between 20 and 512; use the MATHICS_MAX_RECURSION_DEPTH environment variable to allow higher limits."], "secs": 0.005, "tmo": 120} +{"i": 254, "in": "HoldComplete[TreeQ[Path[100]]]", "status": "ok", "out": "True", "msgs": [], "secs": 1.056, "tmo": 120} +{"i": 255, "in": "HoldComplete[TreeQ[RandomTree[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.432, "tmo": 120} +{"i": 256, "in": "HoldComplete[TreeQ[CompleteGraph[10]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.316, "tmo": 120} +{"i": 257, "in": "HoldComplete[TreeQ[Wheel[10]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.166, "tmo": 120} +{"i": 258, "in": "HoldComplete[Information[\"ExtractCycles\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ExtractCycles[g] gives a maximal list of edge-disjoint cycles in graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ExtractCycles\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 259, "in": "HoldComplete[ExtractCycles[Wheel[10]]]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.208, "tmo": 120} +{"i": 260, "in": "HoldComplete[cl = ExtractCycles[CompleteGraph[10]]]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.294, "tmo": 120} +{"i": 261, "in": "HoldComplete[cl = (Sort /@ Partition[#1, 2, 1] & ) /@ cl]", "status": "ok", "out": "{}", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 262, "in": "HoldComplete[ShowGraph[Highlight[CompleteGraph[10], cl]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.452, "tmo": 120} +{"i": 263, "in": "HoldComplete[g = Table[GridGraph[i*5, 5], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 2.603, "tmo": 120} +{"i": 264, "in": "HoldComplete[Table[Timing[ExtractCycles[g[[i]]]; ], {i, 5}]]", "status": "ok", "out": "{{23838, Null}, {43392, Null}, {964231, Null}, {88120, Null}, {109651, Null}}", "msgs": [], "secs": 12.315, "tmo": 120} +{"i": 265, "in": "HoldComplete[h = Table[DiscreteMath`OldCombinatorica`GridGraph[i*5, 5], {i, 5}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 266, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`ExtractCycles[h[[i]]]; ], {i, 5}]]", "status": "ok", "out": "{{28, Null}, {24, Null}, {23, Null}, {22, Null}, {23, Null}}", "msgs": [], "secs": 0.018, "tmo": 120} +{"i": 267, "in": "HoldComplete[Information[\"DeleteCycle\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Usage of Directed as a second argument to DeleteCycle is obsolete.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`DeleteCycle\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.021, "tmo": 120} +{"i": 268, "in": "HoldComplete[ShowGraph[DeleteCycle[CompleteGraph[10], {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1}]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.402, "tmo": 120} +{"i": 269, "in": "HoldComplete[IdenticalQ[DeleteCycle[Wheel[10], {1, 2, 3, 4, 5, 6, 7, 8, 9, 1}], Star[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.209, "tmo": 120} +{"i": 270, "in": "HoldComplete[g = GridGraph[30, 30]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 5.289, "tmo": 120} +{"i": 271, "in": "HoldComplete[Timing[DeleteCycle[g, {1, 2, 3, 33, 32, 31, 1}]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 121.152, "tmo": 120} +{"i": 272, "in": "HoldComplete[h = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 273, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`DeleteCycle[g, {1, 2, 3, 33, 32, 31, 1}]; ]]", "status": "ok", "out": "{19, Null}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 274, "in": "HoldComplete[Information[\"Girth\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Girth[g] gives the length of a shortest cycle in a simple graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Girth\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.021, "tmo": 120} +{"i": 275, "in": "HoldComplete[Girth[Wheel[10]]]", "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.285, "tmo": 120} +{"i": 276, "in": "HoldComplete[Girth[GridGraph[5, 5]]]", "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.855, "tmo": 120} +{"i": 277, "in": "HoldComplete[Girth[Cycle[10]]]", "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.216, "tmo": 120} +{"i": 278, "in": "HoldComplete[ShowGraph[t = AddEdges[Cycle[10], {{{1, 6}}}]]]", "status": "ok", "out": "", "msgs": [], "secs": 0.994, "tmo": 120} +{"i": 279, "in": "HoldComplete[Girth[t]]", "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.196, "tmo": 120} +{"i": 280, "in": "HoldComplete[Girth[CompleteGraph[4, 4]]]", "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.32, "tmo": 120} +{"i": 281, "in": "HoldComplete[Girth[RandomTree[10]]]", "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.507, "tmo": 120} +{"i": 282, "in": "HoldComplete[gt = Table[RandomGraph[i*10, 0.4], {i, 1, 10}]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.005, "tmo": 120} +{"i": 283, "in": "HoldComplete[rt = Table[Timing[Girth[gt[[i]]]; ], {i, 10}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.005, "tmo": 120} +{"i": 284, "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", "status": "msg", "out": "ListPlot[{Part[{32, Null}, 1, 1], Part[{24, Null}, 1, 1], Part[{26, Null}, 1, 1], Part[{22, Null}, 1, 1], Part[{26, Null}, 1, 1]}, Rule[PlotJoined, True]]", "msgs": ["Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{0.000322234, Null}[[1, 1]], {0.000241212, Null}[[1, 1]], {0.000256564, Null}[[1, 1]], {0.000218738, Null}[[1, 1]], {0.000264677, Null}[[1, 1]]} is not a list of numbers or pairs of numbers.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "Part::partd: Part specification is longer than depth of object.", "ListPlot::lpn: {{32, Null}[[1, 1]], {24, Null}[[1, 1]], {26, Null}[[1, 1]], {22, Null}[[1, 1]], {26, Null}[[1, 1]]} is not a list of numbers or pairs of numbers."], "secs": 0.026, "tmo": 120} +{"i": 285, "in": "HoldComplete[ht = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*10, 0.4], {i, 1, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 286, "in": "HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`Girth[ht[[i]]]; ], {i, 10}]]", "status": "ok", "out": "{{33, Null}, {27, Null}, {39, Null}, {25, Null}, {24, Null}, {24, Null}, {25, Null}, {24, Null}, {43, Null}, {24, Null}}", "msgs": [], "secs": 0.026, "tmo": 120} +{"i": 287, "in": "HoldComplete[Information[\"OutDegree\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"OutDegree[g, n] returns the out-degree of vertex n in directed graph g. OutDegree[g] returns the sequence of out-degrees of the vertices in directed graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`OutDegree\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.033, "tmo": 120} +{"i": 288, "in": "HoldComplete[OutDegree[t = SetGraphOptions[GridGraph[5, 7], EdgeDirection -> On]]]", "status": "ok", "out": "{2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 0}", "msgs": [], "secs": 0.583, "tmo": 120} +{"i": 289, "in": "HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.07]]]", "status": "ok", "out": "", "msgs": [], "secs": 4.397, "tmo": 120} +{"i": 290, "in": "HoldComplete[OutDegree[SetGraphOptions[GraphUnion[10, CompleteGraph[1]], EdgeDirection -> On]]]", "status": "ok", "out": "{0, 0, 0, 0, 0, 0, 0, 0, 0, 0}", "msgs": [], "secs": 0.523, "tmo": 120} +{"i": 291, "in": "HoldComplete[Information[\"InDegree\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"InDegree[g, n] returns the in-degree of vertex n in directed graph g. InDegree[g] returns the sequence of in-degrees of the vertices in directed graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`InDegree\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.027, "tmo": 120} +{"i": 292, "in": "HoldComplete[InDegree[SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On]]]", "status": "ok", "out": "{0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2}", "msgs": [], "secs": 0.448, "tmo": 120} +{"i": 293, "in": "HoldComplete[Information[\"ReverseEdges\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ReverseEdges[g] flips the directions of all edges in a directed graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ReverseEdges\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.028, "tmo": 120} +{"i": 294, "in": "HoldComplete[ShowGraph[t = SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.331, "tmo": 120} +{"i": 295, "in": "HoldComplete[ShowGraph[ReverseEdges[t]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.132, "tmo": 120} +{"i": 296, "in": "HoldComplete[Information[\"EulerianQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Usage of Directed as a second argument to EulerianQ is obsolete.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`EulerianQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.032, "tmo": 120} +{"i": 297, "in": "HoldComplete[EulerianQ[CompleteGraph[9]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.386, "tmo": 120} +{"i": 298, "in": "HoldComplete[EulerianQ[Cycle[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.203, "tmo": 120} +{"i": 299, "in": "HoldComplete[EulerianQ[t = GridGraph[5, 5]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.675, "tmo": 120} +{"i": 300, "in": "HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.05]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.967, "tmo": 120} +{"i": 301, "in": "HoldComplete[ShowGraph[t = DeleteVertices[t, {1, 5, 21, 25}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.733, "tmo": 120} +{"i": 302, "in": "HoldComplete[EulerianQ[t]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.362, "tmo": 120} +{"i": 303, "in": "HoldComplete[ShowGraph[t = DeleteEdges[t, {{9, 10}, {16, 20}, {12, 13}, {2, 6}}]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.357, "tmo": 120} +{"i": 304, "in": "HoldComplete[EulerianQ[t]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.336, "tmo": 120} +{"i": 305, "in": "HoldComplete[$RecursionLimit = 100000000000]", "status": "msg", "out": "100000000000", "msgs": ["$RecursionLimit::limset: Cannot set $RecursionLimit to 100000000000; value must be an integer between 20 and 512; use the MATHICS_MAX_RECURSION_DEPTH environment variable to allow higher limits."], "secs": 0.005, "tmo": 120} +{"i": 306, "in": "HoldComplete[g = GridGraph[70, 70]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 37.759, "tmo": 120} +{"i": 307, "in": "HoldComplete[Timing[EulerianQ[g]; ]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 44.14, "tmo": 120} +{"i": 308, "in": "HoldComplete[Timing[ConnectedQ[g]; ]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 29.389, "tmo": 120} +{"i": 309, "in": "HoldComplete[g = GridGraph[30, 30]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 5.241, "tmo": 120} +{"i": 310, "in": "HoldComplete[Timing[EulerianQ[g]; ]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 6.851, "tmo": 120} +{"i": 311, "in": "HoldComplete[h = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 312, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`EulerianQ[h]; ]]", "status": "ok", "out": "{15, Null}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 313, "in": "HoldComplete[Information[\"EulerianCycle\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Usage of Directed as a second argument to EulerianCycle is obsolete.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`EulerianCycle\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.032, "tmo": 120} +{"i": 314, "in": "HoldComplete[EulerianCycle[CompleteGraph[4, 4]]]", "status": "msg", "out": "RotateLeft[{}, Part[{}, 1, 1], First[{}], Part[{{}}, 1, 1], {}]", "msgs": ["First::nofirst: {} has zero length and no first element.", "Rest::norest: Cannot take Rest of expression {} with length zero.", "Intersection::heads: Heads First and List at positions 1 and 2 are expected to be the same.", "Rest::norest: Cannot take Rest of expression {} with length zero.", "Intersection::heads: Heads First and List at positions 1 and 2 are expected to be the same.", "Part::partw: Part 1 of {} does not exist.", "RotateLeft::rspec: {}[[1, 1]] should be an integer or a list of integers.", "Part::partw: Part 1 of {} does not exist.", "RotateLeft::rspec: {{}}[[1, 1]] should be an integer or a list of integers.", "Complement::heads: Heads Rest and List at positions 1 and 2 are expected to be the same.", "Part::partw: Part 1 of {} does not exist.", "First::nofirst: {} has zero length and no first element.", "Part::partw: Part 1 of {} does not exist."], "secs": 0.456, "tmo": 120} +{"i": 315, "in": "HoldComplete[EulerianCycle[Hypercube[4]]]", "status": "msg", "out": "RotateLeft[{}, Part[{}, 1, 1], First[{}], Part[{{}}, 1, 1], {}]", "msgs": ["First::nofirst: {} has zero length and no first element.", "Rest::norest: Cannot take Rest of expression {} with length zero.", "Intersection::heads: Heads First and List at positions 1 and 2 are expected to be the same.", "Rest::norest: Cannot take Rest of expression {} with length zero.", "Intersection::heads: Heads First and List at positions 1 and 2 are expected to be the same.", "Part::partw: Part 1 of {} does not exist.", "RotateLeft::rspec: {}[[1, 1]] should be an integer or a list of integers.", "Part::partw: Part 1 of {} does not exist.", "RotateLeft::rspec: {{}}[[1, 1]] should be an integer or a list of integers.", "Complement::heads: Heads Rest and List at positions 1 and 2 are expected to be the same.", "Part::partw: Part 1 of {} does not exist.", "First::nofirst: {} has zero length and no first element.", "Part::partw: Part 1 of {} does not exist."], "secs": 0.876, "tmo": 120} +{"i": 316, "in": "HoldComplete[g = Table[Hypercube[i], {i, 3, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 33.928, "tmo": 120} +{"i": 317, "in": "HoldComplete[Table[Timing[EulerianCycle[g[[i]]]; ], {i, 5}]]", "status": "aborted", "out": "$Aborted", "msgs": ["First::nofirst: {} has zero length and no first element.", "Rest::norest: Cannot take Rest of expression {} with length zero.", "Intersection::heads: Heads First and List at positions 1 and 2 are expected to be the same.", "Rest::norest: Cannot take Rest of expression {} with length zero.", "Intersection::heads: Heads First and List at positions 1 and 2 are expected to be the same.", "Part::partw: Part 1 of {} does not exist.", "RotateLeft::rspec: {}[[1, 1]] should be an integer or a list of integers.", "Part::partw: Part 1 of {} does not exist.", "RotateLeft::rspec: {{}}[[1, 1]] should be an integer or a list of integers.", "Complement::heads: Heads Rest and List at positions 1 and 2 are expected to be the same.", "First::nofirst: {} has zero length and no first element.", "Rest::norest: Cannot take Rest of expression {} with length zero.", "Intersection::heads: Heads First and List at positions 1 and 2 are expected to be the same.", "Rest::norest: Cannot take Rest of expression {} with length zero.", "Intersection::heads: Heads First and List at positions 1 and 2 are expected to be the same.", "Part::partw: Part 1 of {} does not exist.", "RotateLeft::rspec: {}[[1, 1]] should be an integer or a list of integers.", "Part::partw: Part 1 of {} does not exist.", "RotateLeft::rspec: {{}}[[1, 1]] should be an integer or a list of integers.", "Complement::heads: Heads Rest and List at positions 1 and 2 are expected to be the same.", "$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 6.582, "tmo": 120} +{"i": 318, "in": "HoldComplete[Table[Timing[ExtractCycles[g[[i]]]; ], {i, 5}]]", "status": "ok", "out": "{{11984, Null}, {18028, Null}, {33538, Null}, {70138, Null}, {150544, Null}}", "msgs": [], "secs": 2.864, "tmo": 120} +{"i": 319, "in": "HoldComplete[h = Table[DiscreteMath`OldCombinatorica`Hypercube[i], {i, 3, 7}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 320, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`EulerianCycle[h[[i]]]; ], {i, 5}]]", "status": "ok", "out": "{{30, Null}, {26, Null}, {23, Null}, {23, Null}, {23, Null}}", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 321, "in": "HoldComplete[Information[\"DeBruijnGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"DeBruijnGraph[m, n] constructs the n-dimensional De Bruijn graph with m symbols for integers m > 0 and n > 1. DeBruijnGraph[alph, n] constructs the n-dimensional De Bruijn graph with symbols from alph. Here alph is nonempty and n > 1 is an integer. In the latter form, the function accepts an option VertexLabel, with default value False, which can be set to True, if users want to associate strings on alph to the vertices as labels.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`DeBruijnGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`VertexLabel, System`False]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.031, "tmo": 120} +{"i": 322, "in": "HoldComplete[ShowGraph[t = DeBruijnGraph[{0, 1}, 4]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.263, "tmo": 120} +{"i": 323, "in": "HoldComplete[states = FromCharacterCode /@ (#1 + 48 & ) /@ Strings[{0, 1}, 3]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.013, "tmo": 120} +{"i": 324, "in": "HoldComplete[ShowGraph[SetGraphOptions[t, Table[{{i}, VertexLabel -> states[[i]]}, {i, Length[states]}]], PlotRange -> {{-0.1, 1.2}, {-0.1, 1.2}}]]", "status": "ok", "out": "", "msgs": [], "secs": 2.202, "tmo": 120} +{"i": 325, "in": "HoldComplete[EulerianQ[t]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.607, "tmo": 120} +{"i": 326, "in": "HoldComplete[states[[EulerianCycle[t]]]]", "status": "msg", "out": "Part[{\"000\", \"001\", \"010\", \"011\", \"100\", \"101\", \"110\", \"111\"}, RotateLeft[First[{}], Part[{}, 1, 1], {16}, Part[{{}}, 1, 1], First[{}]]]", "msgs": ["First::nofirst: {} has zero length and no first element.", "Intersection::heads: Heads List and First at positions 1 and 2 are expected to be the same.", "Part::partw: Part 1 of {} does not exist.", "RotateLeft::rspec: {}[[1, 1]] should be an integer or a list of integers.", "Part::partw: Part 1 of {} does not exist.", "RotateLeft::rspec: {{}}[[1, 1]] should be an integer or a list of integers.", "Part::pspec: Part specification RotateLeft[First[{}], {}[[1, 1]], {16}, {{}}[[1, 1]], First[{}]] is neither an integer nor a list of integer.", "First::nofirst: {} has zero length and no first element.", "Part::partw: Part 1 of {} does not exist.", "Part::partw: Part 1 of {} does not exist.", "First::nofirst: {} has zero length and no first element.", "Part::pspec: Part specification RotateLeft[First[{}], {}[[1, 1]], {16}, {{}}[[1, 1]], First[{}]] is neither an integer nor a list of integer."], "secs": 1.352, "tmo": 120} +{"i": 327, "in": "HoldComplete[Table[Timing[DeBruijnGraph[{0, 1}, i]; ], {i, 3, 10}]]", "status": "ok", "out": "{{7037, Null}, {12481, Null}, {25761, Null}, {58817, Null}, {159373, Null}, {493915, Null}, {1678573, Null}, {6399804, Null}}", "msgs": [], "secs": 88.399, "tmo": 120} +{"i": 328, "in": "HoldComplete[Table[Timing[DeBruijnGraph[2, i]; ], {i, 3, 10}]]", "status": "ok", "out": "{{6603, Null}, {12516, Null}, {24788, Null}, {59106, Null}, {154823, Null}, {480906, Null}, {1680706, Null}, {7351340, Null}}", "msgs": [], "secs": 97.747, "tmo": 120} +{"i": 329, "in": "HoldComplete[Information[\"HamiltonianCycle\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"HamiltonianCycle[g] finds a Hamiltonian cycle in graph g if one exists. HamiltonianCycle[g, All] gives all Hamiltonian cycles of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`HamiltonianCycle\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.033, "tmo": 120} +{"i": 330, "in": "HoldComplete[HamiltonianCycle[CompleteGraph[3, 3], All]]", "status": "ok", "out": "{{1, 4, 2, 5, 3, 6, 1}, {1, 4, 2, 6, 3, 5, 1}, {1, 4, 3, 5, 2, 6, 1}, {1, 4, 3, 6, 2, 5, 1}, {1, 5, 2, 4, 3, 6, 1}, {1, 5, 2, 6, 3, 4, 1}, {1, 5, 3, 4, 2, 6, 1}, {1, 5, 3, 6, 2, 4, 1}, {1, 6, 2, 4, 3, 5, 1}, {1, 6, 2, 5, 3, 4, 1}, {1, 6, 3, 4, 2, 5, 1}, {1, 6, 3, 5, 2, 4, 1}}", "msgs": [], "secs": 10.685, "tmo": 120} +{"i": 331, "in": "HoldComplete[ShowGraph[t = RegularGraph[4, 7], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.25, "tmo": 120} +{"i": 332, "in": "HoldComplete[HamiltonianCycle[t]]", "status": "ok", "out": "{1, 3, 2, 5, 6, 7, 4, 1}", "msgs": [], "secs": 1.803, "tmo": 120} +{"i": 333, "in": "HoldComplete[HamiltonianCycle[AddEdges[GridGraph[5, 5], {{{1, 25}}}]]]", "status": "ok", "out": "{1, 2, 3, 4, 5, 10, 9, 8, 7, 6, 11, 12, 13, 14, 15, 20, 19, 18, 17, 16, 21, 22, 23, 24, 25, 1}", "msgs": [], "secs": 19.157, "tmo": 120} +{"i": 334, "in": "HoldComplete[HamiltonianCycle[GridGraph[5, 5]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 335, "in": "HoldComplete[g = Table[GridGraph[i, i], {i, 3, 6}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.927, "tmo": 120} +{"i": 336, "in": "HoldComplete[Table[Timing[HamiltonianCycle[g[[i]]]; ], {i, 4}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 124.1, "tmo": 120} +{"i": 337, "in": "HoldComplete[h = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 3, 6}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 338, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`HamiltonianCycle[h[[i]]]; ], {i, 4}]]", "status": "ok", "out": "{{32, Null}, {26, Null}, {30, Null}, {36, Null}}", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 339, "in": "HoldComplete[Information[\"SetEdgeWeights\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"SetEdgeWeights[g] assigns random real weights in the range [0, 1] to edges in g. SetEdgeWeights accepts options WeightingFunction and WeightRange. WeightingFunction can take values Random, RandomInteger, Euclidean, or LNorm[n] for nonnegative n, or any pure function that takes two arguments, each argument having the form {Integer, {Number, Number}}. WeightRange can be an integer range or a real range. The default value for WeightingFunction is Random and the default value for WeightRange is [0, 1]. SetEdgeWeights[g, e] assigns edge weights to the edges in the edge list e. SetEdgeWeights[g, w] assigns the weights in the weight list w to the edges of g. SetEdgeWeights[g, e, w] assigns the weights in the weight list w to the edges in edge list e.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`SetEdgeWeights\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`WeightingFunction, System`Random],System`Rule[DiscreteMath`CombinatoricaV201`WeightRange, {0,1}]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 340, "in": "HoldComplete[Edges[SetEdgeWeights[GridGraph[5, 5]], EdgeWeight]]", "status": "ok", "out": "{{{1, 2}, 34554}, {{2, 3}, 10767}, {{3, 4}, 67590}, {{4, 5}, 84403}, {{6, 7}, 87775}, {{7, 8}, 46371}, {{8, 9}, 59226}, {{9, 10}, 43080}, {{11, 12}, 49342}, {{12, 13}, 4509}, {{13, 14}, 40879}, {{14, 15}, 97400}, {{16, 17}, 2678}, {{17, 18}, 51701}, {{18, 19}, 77856}, {{19, 20}, 24346}, {{21, 22}, 72998}, {{22, 23}, 26065}, {{23, 24}, 3540}, {{24, 25}, 90119}, {{1, 6}, 1720}, {{2, 7}, 88573}, {{3, 8}, 96426}, {{4, 9}, 75097}, {{5, 10}, 67623}, {{6, 11}, 7180}, {{7, 12}, 53874}, {{8, 13}, 20165}, {{9, 14}, 90183}, {{10, 15}, 72610}, {{11, 16}, 74353}, {{12, 17}, 35810}, {{13, 18}, 87552}, {{14, 19}, 93424}, {{15, 20}, 96327}, {{16, 21}, 57189}, {{17, 22}, 50499}, {{18, 23}, 89736}, {{19, 24}, 97720}, {{20, 25}, 90537}}", "msgs": [], "secs": 1.944, "tmo": 120} +{"i": 341, "in": "HoldComplete[Edges[SetEdgeWeights[GridGraph[5, 5], WeightingFunction -> RandomInteger, WeightRange -> {10, 20}], EdgeWeight]]", "status": "ok", "out": "{{{1, 2}, 17}, {{2, 3}, 16}, {{3, 4}, 18}, {{4, 5}, 18}, {{6, 7}, 14}, {{7, 8}, 14}, {{8, 9}, 16}, {{9, 10}, 16}, {{11, 12}, 19}, {{12, 13}, 14}, {{13, 14}, 14}, {{14, 15}, 17}, {{16, 17}, 19}, {{17, 18}, 15}, {{18, 19}, 12}, {{19, 20}, 15}, {{21, 22}, 20}, {{22, 23}, 12}, {{23, 24}, 18}, {{24, 25}, 17}, {{1, 6}, 13}, {{2, 7}, 11}, {{3, 8}, 17}, {{4, 9}, 19}, {{5, 10}, 14}, {{6, 11}, 16}, {{7, 12}, 18}, {{8, 13}, 10}, {{9, 14}, 17}, {{10, 15}, 13}, {{11, 16}, 19}, {{12, 17}, 15}, {{13, 18}, 14}, {{14, 19}, 20}, {{15, 20}, 17}, {{16, 21}, 13}, {{17, 22}, 10}, {{18, 23}, 12}, {{19, 24}, 15}, {{20, 25}, 19}}", "msgs": [], "secs": 1.877, "tmo": 120} +{"i": 342, "in": "HoldComplete[Edges[SetEdgeWeights[GridGraph[5, 5], WeightingFunction -> Random, WeightRange -> {-10, 10}], EdgeWeight]]", "status": "ok", "out": "{{{1, 2}, -871066}, {{2, 3}, 430981}, {{3, 4}, -719349}, {{4, 5}, 533532}, {{6, 7}, -907317}, {{7, 8}, -714001}, {{8, 9}, 325371}, {{9, 10}, -705819}, {{11, 12}, -543779}, {{12, 13}, 213551}, {{13, 14}, -436266}, {{14, 15}, 734387}, {{16, 17}, -638421}, {{17, 18}, -959583}, {{18, 19}, 45512}, {{19, 20}, 567951}, {{21, 22}, -422698}, {{22, 23}, -434130}, {{23, 24}, -770270}, {{24, 25}, -984449}, {{1, 6}, 512895}, {{2, 7}, -57862}, {{3, 8}, 420055}, {{4, 9}, -344733}, {{5, 10}, 283087}, {{6, 11}, 600668}, {{7, 12}, 957892}, {{8, 13}, -958593}, {{9, 14}, 266634}, {{10, 15}, -471083}, {{11, 16}, 356675}, {{12, 17}, -818750}, {{13, 18}, -754983}, {{14, 19}, -188266}, {{15, 20}, 559365}, {{16, 21}, -990322}, {{17, 22}, 656613}, {{18, 23}, 685983}, {{19, 24}, -445139}, {{20, 25}, 931815}}", "msgs": [], "secs": 1.951, "tmo": 120} +{"i": 343, "in": "HoldComplete[Edges[SetEdgeWeights[GridGraph[3, 3], WeightingFunction -> Euclidean], EdgeWeight]]", "status": "ok", "out": "{{{1, 2}, 100000}, {{2, 3}, 100000}, {{4, 5}, 100000}, {{5, 6}, 100000}, {{7, 8}, 100000}, {{8, 9}, 100000}, {{1, 4}, 100000}, {{2, 5}, 100000}, {{3, 6}, 100000}, {{4, 7}, 100000}, {{5, 8}, 100000}, {{6, 9}, 100000}}", "msgs": [], "secs": 0.605, "tmo": 120} +{"i": 344, "in": "HoldComplete[Null]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 345, "in": "HoldComplete[GetEdgeWeights[SetEdgeWeights[RandomGraph[10, 0.3], WeightingFunction -> Euclidean]]]", "status": "ok", "out": "{117557, 161803, 117557, 190211, 161803, 117557, 190211, 161803, 117557, 61803, 190211}", "msgs": [], "secs": 0.621, "tmo": 120} +{"i": 346, "in": "HoldComplete[Information[\"SetVertexWeights\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"SetVertexWeights[g] assigns random real weights in the range [0, 1] to vertices in g. SetVertexWeights accepts options WeightingFunction and WeightRange. WeightingFunction can take values Random, RandomInteger, or any pure function that takes two arguments, an integer as the first argument and a pair {number, number} as the second argument. WeightRange can be an integer range or a real range. The default value for WeightingFunction is Random and the default value for WeightRange is [0, 1]. SetVertexWeights[g, w] assigns the weights in the weight list w to the vertices of g. SetVertexWeights[g, vs, w] assigns the weights in the weight list w to the vertices in the vertex list vs.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`SetVertexWeights\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`WeightingFunction, System`Random],System`Rule[DiscreteMath`CombinatoricaV201`WeightRange, {0,1}]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.034, "tmo": 120} +{"i": 347, "in": "HoldComplete[GetVertexWeights[SetVertexWeights[GridGraph[3, 3], Random, Integer, {10, 20}]]]", "status": "ok", "out": "GetVertexWeights[SetVertexWeights[Graph[{{{1, 2}}, {{2, 3}}, {{4, 5}}, {{5, 6}}, {{7, 8}}, {{8, 9}}, {{1, 4}}, {{2, 5}}, {{3, 6}}, {{4, 7}}, {{5, 8}}, {{6, 9}}}, {{{100000, 100000}}, {{200000, 100000}}, {{300000, 100000}}, {{100000, 200000}}, {{200000, 200000}}, {{300000, 200000}}, {{100000, 300000}}, {{200000, 300000}}, {{300000, 300000}}}], Random, Integer, {10, 20}]]", "msgs": [], "secs": 0.159, "tmo": 120} +{"i": 348, "in": "HoldComplete[GetVertexWeights[SetVertexWeights[GridGraph[3, 3]]]]", "status": "ok", "out": "{15441, 70669, 31421, 98172, 69182, 13256, 55851, 20751, 99068}", "msgs": [], "secs": 0.414, "tmo": 120} +{"i": 349, "in": "HoldComplete[Information[\"GetEdgeWeights\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GetEdgeWeights[g] returns the list of weights of the edges of g. GetEdgeWeights[g, es] returns the list of weights in graph g of the edges in es.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GetEdgeWeights\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.034, "tmo": 120} +{"i": 350, "in": "HoldComplete[g = SetEdgeWeights[GridGraph[5, 5], WeightingFunction -> RandomInteger, WeightRange -> {0, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.879, "tmo": 120} +{"i": 351, "in": "HoldComplete[GetEdgeWeights[g]]", "status": "ok", "out": "{0, 7, 1, 5, 3, 7, 4, 9, 8, 8, 0, 5, 0, 10, 6, 7, 6, 6, 2, 1, 4, 9, 1, 8, 10, 3, 7, 1, 10, 7, 2, 9, 8, 5, 2, 5, 9, 3, 9, 6}", "msgs": [], "secs": 0.114, "tmo": 120} +{"i": 352, "in": "HoldComplete[Information[\"GetVertexWeights\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GetVertexWeights[g] returns the list of weights of vertices of g. GetVertexWeights[g, vs] returns the list of weights in graph g of the vertices in vs.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GetVertexWeights\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.034, "tmo": 120} +{"i": 353, "in": "HoldComplete[GetVertexWeights[g]]", "status": "ok", "out": "{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}", "msgs": [], "secs": 0.077, "tmo": 120} +{"i": 354, "in": "HoldComplete[g = SetVertexWeights[g, Random, Integer, {100, 200}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 355, "in": "HoldComplete[GetVertexWeights[g]]", "status": "ok", "out": "GetVertexWeights[SetVertexWeights[Graph[{{{1, 2}, Rule[EdgeWeight, 0]}, {{2, 3}, Rule[EdgeWeight, 7]}, {{3, 4}, Rule[EdgeWeight, 1]}, {{4, 5}, Rule[EdgeWeight, 5]}, {{6, 7}, Rule[EdgeWeight, 3]}, {{7, 8}, Rule[EdgeWeight, 7]}, {{8, 9}, Rule[EdgeWeight, 4]}, {{9, 10}, Rule[EdgeWeight, 9]}, {{11, 12}, Rule[EdgeWeight, 8]}, {{12, 13}, Rule[EdgeWeight, 8]}, {{13, 14}, Rule[EdgeWeight, 0]}, {{14, 15}, Rule[EdgeWeight, 5]}, {{16, 17}, Rule[EdgeWeight, 0]}, {{17, 18}, Rule[EdgeWeight, 10]}, {{18, 19}, Rule[EdgeWeight, 6]}, {{19, 20}, Rule[EdgeWeight, 7]}, {{21, 22}, Rule[EdgeWeight, 6]}, {{22, 23}, Rule[EdgeWeight, 6]}, {{23, 24}, Rule[EdgeWeight, 2]}, {{24, 25}, Rule[EdgeWeight, 1]}, {{1, 6}, Rule[EdgeWeight, 4]}, {{2, 7}, Rule[EdgeWeight, 9]}, {{3, 8}, Rule[EdgeWeight, 1]}, {{4, 9}, Rule[EdgeWeight, 8]}, {{5, 10}, Rule[EdgeWeight, 10]}, {{6, 11}, Rule[EdgeWeight, 3]}, {{7, 12}, Rule[EdgeWeight, 7]}, {{8, 13}, Rule[EdgeWeight, 1]}, {{9, 14}, Rule[EdgeWeight, 10]}, {{10, 15}, Rule[EdgeWeight, 7]}, {{11, 16}, Rule[EdgeWeight, 2]}, {{12, 17}, Rule[EdgeWeight, 9]}, {{13, 18}, Rule[EdgeWeight, 8]}, {{14, 19}, Rule[EdgeWeight, 5]}, {{15, 20}, Rule[EdgeWeight, 2]}, {{16, 21}, Rule[EdgeWeight, 5]}, {{17, 22}, Rule[EdgeWeight, 9]}, {{18, 23}, Rule[EdgeWeight, 3]}, {{19, 24}, Rule[EdgeWeight, 9]}, {{20, 25}, Rule[EdgeWeight, 6]}}, {{{100000, 100000}}, {{200000, 100000}}, {{300000, 100000}}, {{400000, 100000}}, {{500000, 100000}}, {{100000, 200000}}, {{200000, 200000}}, {{300000, 200000}}, {{400000, 200000}}, {{500000, 200000}}, {{100000, 300000}}, {{200000, 300000}}, {{300000, 300000}}, {{400000, 300000}}, {{500000, 300000}}, {{100000, 400000}}, {{200000, 400000}}, {{300000, 400000}}, {{400000, 400000}}, {{500000, 400000}}, {{100000, 500000}}, {{200000, 500000}}, {{300000, 500000}}, {{400000, 500000}}, {{500000, 500000}}}], Random, Integer, {100, 200}]]", "msgs": [], "secs": 0.062, "tmo": 120} +{"i": 356, "in": "HoldComplete[Information[\"CostOfPath\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"CostOfPath[g, p] sums up the weights of the edges in graph g defined by the path p.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`CostOfPath\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 357, "in": "HoldComplete[g = SetEdgeWeights[GridGraph[4, 4], WeightingFunction -> RandomInteger, WeightRange -> {1, 5}]]", "status": "ok", "out": "Graph[{{{1, 2}, Rule[EdgeWeight, 5]}, {{2, 3}, Rule[EdgeWeight, 3]}, {{3, 4}, Rule[EdgeWeight, 5]}, {{5, 6}, Rule[EdgeWeight, 4]}, {{6, 7}, Rule[EdgeWeight, 2]}, {{7, 8}, Rule[EdgeWeight, 4]}, {{9, 10}, Rule[EdgeWeight, 3]}, {{10, 11}, Rule[EdgeWeight, 3]}, {{11, 12}, Rule[EdgeWeight, 2]}, {{13, 14}, Rule[EdgeWeight, 1]}, {{14, 15}, Rule[EdgeWeight, 5]}, {{15, 16}, Rule[EdgeWeight, 4]}, {{1, 5}, Rule[EdgeWeight, 1]}, {{2, 6}, Rule[EdgeWeight, 2]}, {{3, 7}, Rule[EdgeWeight, 5]}, {{4, 8}, Rule[EdgeWeight, 3]}, {{5, 9}, Rule[EdgeWeight, 1]}, {{6, 10}, Rule[EdgeWeight, 4]}, {{7, 11}, Rule[EdgeWeight, 5]}, {{8, 12}, Rule[EdgeWeight, 3]}, {{9, 13}, Rule[EdgeWeight, 3]}, {{10, 14}, Rule[EdgeWeight, 1]}, {{11, 15}, Rule[EdgeWeight, 4]}, {{12, 16}, Rule[EdgeWeight, 1]}}, {{{100000, 100000}}, {{200000, 100000}}, {{300000, 100000}}, {{400000, 100000}}, {{100000, 200000}}, {{200000, 200000}}, {{300000, 200000}}, {{400000, 200000}}, {{100000, 300000}}, {{200000, 300000}}, {{300000, 300000}}, {{400000, 300000}}, {{100000, 400000}}, {{200000, 400000}}, {{300000, 400000}}, {{400000, 400000}}}]", "msgs": [], "secs": 0.96, "tmo": 120} +{"i": 358, "in": "HoldComplete[CostOfPath[g, {1, 2, 3, 4, 8, 12}]]", "status": "ok", "out": "19", "msgs": [], "secs": 0.179, "tmo": 120} +{"i": 359, "in": "HoldComplete[CostOfPath[g, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}]]", "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.258, "tmo": 120} +{"i": 360, "in": "HoldComplete[Information[\"TravelingSalesman\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TravelingSalesman[g] finds an optimal traveling salesman tour in graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TravelingSalesman\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.034, "tmo": 120} +{"i": 361, "in": "HoldComplete[g = SetEdgeWeights[Cycle[10], WeightingFunction -> RandomInteger, WeightRange -> {1, 3}]]", "status": "ok", "out": "Graph[{{{1, 2}, Rule[EdgeWeight, 2]}, {{2, 3}, Rule[EdgeWeight, 1]}, {{3, 4}, Rule[EdgeWeight, 3]}, {{4, 5}, Rule[EdgeWeight, 3]}, {{5, 6}, Rule[EdgeWeight, 3]}, {{6, 7}, Rule[EdgeWeight, 1]}, {{7, 8}, Rule[EdgeWeight, 1]}, {{8, 9}, Rule[EdgeWeight, 3]}, {{9, 10}, Rule[EdgeWeight, 1]}, {{1, 10}, Rule[EdgeWeight, 3]}}, {{{80902, 58779}}, {{30902, 95106}}, {{-30902, 95106}}, {{-80902, 58779}}, {{-100000, 0}}, {{-80902, -58779}}, {{-30902, -95106}}, {{30902, -95106}}, {{80902, -58779}}, {{100000, 0}}}]", "msgs": [], "secs": 0.324, "tmo": 120} +{"i": 362, "in": "HoldComplete[TravelingSalesman[g]]", "status": "ok", "out": "{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1}", "msgs": [], "secs": 5.311, "tmo": 120} +{"i": 363, "in": "HoldComplete[GetEdgeWeights[g = SetEdgeWeights[CompleteGraph[4], WeightingFunction -> RandomInteger, WeightRange -> {1, 100}]]]", "status": "ok", "out": "{41, 74, 23, 96, 5, 97}", "msgs": [], "secs": 0.223, "tmo": 120} +{"i": 364, "in": "HoldComplete[TravelingSalesman[g]]", "status": "ok", "out": "{1, 3, 2, 4, 1}", "msgs": [], "secs": 2.078, "tmo": 120} +{"i": 365, "in": "HoldComplete[GetEdgeWeights[g = SetEdgeWeights[Wheel[6], WeightingFunction -> Euclidean]]]", "status": "ok", "out": "{100000, 100000, 100000, 100000, 100000, 117557, 117557, 117557, 117557, 117557}", "msgs": [], "secs": 0.453, "tmo": 120} +{"i": 366, "in": "HoldComplete[p = TravelingSalesman[g]]", "status": "ok", "out": "{1, 2, 3, 4, 5, 6, 1}", "msgs": [], "secs": 11.651, "tmo": 120} +{"i": 367, "in": "HoldComplete[CostOfPath[g, p]]", "status": "ok", "out": "670228", "msgs": [], "secs": 0.104, "tmo": 120} +{"i": 368, "in": "HoldComplete[CostOfPath[g, {1, 2, 4, 3, 5, 6, 1}]]", "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.098, "tmo": 120} +{"i": 369, "in": "HoldComplete[CostOfPath[g, {1, 2, 6, 3, 4, 5, 1}]]", "status": "ok", "out": "670228", "msgs": [], "secs": 0.103, "tmo": 120} +{"i": 370, "in": "HoldComplete[g = Table[SetEdgeWeights[CompleteGraph[i], WeightingFunction -> RandomInteger, WeightRange -> {1, 100}], {i, 5, 8}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 2.865, "tmo": 120} +{"i": 371, "in": "HoldComplete[Table[Timing[TravelingSalesman[g[[i]]]; ], {i, 4}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 372, "in": "HoldComplete[Information[\"TriangleInequalityQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TriangleInequalityQ[g] yields True if the weights assigned to the edges of graph g satisfy the triangle inequality.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TriangleInequalityQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.038, "tmo": 120} +{"i": 373, "in": "HoldComplete[GetEdgeWeights[g = SetEdgeWeights[GridGraph[2, 2]]]]", "status": "ok", "out": "{32087, 95860, 5830, 87428}", "msgs": [], "secs": 0.265, "tmo": 120} +{"i": 374, "in": "HoldComplete[TriangleInequalityQ[g]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.278, "tmo": 120} +{"i": 375, "in": "HoldComplete[GetEdgeWeights[g = SetEdgeWeights[CompleteGraph[5]]]]", "status": "ok", "out": "{99153, 19369, 7004, 53331, 52411, 75078, 64336, 60605, 9567, 83139}", "msgs": [], "secs": 0.363, "tmo": 120} +{"i": 376, "in": "HoldComplete[TriangleInequalityQ[g]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.888, "tmo": 120} +{"i": 377, "in": "HoldComplete[g = SetGraphOptions[CompleteGraph[4], {{{{1, 2}, {2, 3}, {3, 4}, {1, 4}}, EdgeWeight -> 1}, {{{2, 4}, {1, 3}}, EdgeWeight -> 1.5}}]]", "status": "ok", "out": "Graph[{{{1, 2}}, {{1, 3}}, {{1, 4}}, {{2, 3}}, {{2, 4}}, {{3, 4}}}, {{{0, 100000}}, {{-100000, 0}}, {{0, -100000}}, {{100000, 0}}}]", "msgs": [], "secs": 0.061, "tmo": 120} +{"i": 378, "in": "HoldComplete[TriangleInequalityQ[g]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.281, "tmo": 120} +{"i": 379, "in": "HoldComplete[g = SetGraphOptions[g, EdgeDirection -> On]]", "status": "ok", "out": "Graph[{{{1, 2}}, {{1, 3}}, {{1, 4}}, {{2, 3}}, {{2, 4}}, {{3, 4}}}, {{{0, 100000}}, {{-100000, 0}}, {{0, -100000}}, {{100000, 0}}}, Rule[EdgeDirection, On]]", "msgs": [], "secs": 0.035, "tmo": 120} +{"i": 380, "in": "HoldComplete[TriangleInequalityQ[g]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.192, "tmo": 120} +{"i": 381, "in": "HoldComplete[Information[\"TravelingSalesmanBounds\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TravelingSalesmanBounds[g] gives upper and lower bounds on a minimum cost traveling salesman tour of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TravelingSalesmanBounds\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.034, "tmo": 120} +{"i": 382, "in": "HoldComplete[TravelingSalesmanBounds[Wheel[5]]]", "status": "ok", "out": "{5, 5}", "msgs": [], "secs": 0.343, "tmo": 120} +{"i": 383, "in": "HoldComplete[Information[\"TransitiveClosure\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TransitiveClosure[g] finds the transitive closure of graph g, the supergraph of g that contains edge {x, y} if and only if there is a path from x to y.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TransitiveClosure\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 384, "in": "HoldComplete[ShowGraph[g = SetGraphOptions[GridGraph[4, 4], EdgeDirection -> On], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.096, "tmo": 120} +{"i": 385, "in": "HoldComplete[Edges[g]]", "status": "ok", "out": "{{1, 2}, {2, 3}, {3, 4}, {5, 6}, {6, 7}, {7, 8}, {9, 10}, {10, 11}, {11, 12}, {13, 14}, {14, 15}, {15, 16}, {1, 5}, {2, 6}, {3, 7}, {4, 8}, {5, 9}, {6, 10}, {7, 11}, {8, 12}, {9, 13}, {10, 14}, {11, 15}, {12, 16}}", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 386, "in": "HoldComplete[ShowGraph[gg = TransitiveClosure[g], Append[Edges[g], EdgeColor -> Red], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 7.274, "tmo": 120} +{"i": 387, "in": "HoldComplete[Edges[gg]]", "status": "ok", "out": "{{1, 2}, {1, 3}, {1, 4}, {1, 5}, {1, 6}, {1, 7}, {1, 8}, {1, 9}, {1, 10}, {1, 11}, {1, 12}, {1, 13}, {1, 14}, {1, 15}, {1, 16}, {2, 3}, {2, 4}, {2, 6}, {2, 7}, {2, 8}, {2, 10}, {2, 11}, {2, 12}, {2, 14}, {2, 15}, {2, 16}, {3, 4}, {3, 7}, {3, 8}, {3, 11}, {3, 12}, {3, 15}, {3, 16}, {4, 8}, {4, 12}, {4, 16}, {5, 6}, {5, 7}, {5, 8}, {5, 9}, {5, 10}, {5, 11}, {5, 12}, {5, 13}, {5, 14}, {5, 15}, {5, 16}, {6, 7}, {6, 8}, {6, 10}, {6, 11}, {6, 12}, {6, 14}, {6, 15}, {6, 16}, {7, 8}, {7, 11}, {7, 12}, {7, 15}, {7, 16}, {8, 12}, {8, 16}, {9, 10}, {9, 11}, {9, 12}, {9, 13}, {9, 14}, {9, 15}, {9, 16}, {10, 11}, {10, 12}, {10, 14}, {10, 15}, {10, 16}, {11, 12}, {11, 15}, {11, 16}, {12, 16}, {13, 14}, {13, 15}, {13, 16}, {14, 15}, {14, 16}, {15, 16}}", "msgs": [], "secs": 0.025, "tmo": 120} +{"i": 388, "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[10, 10]; Timing[DiscreteMath`OldCombinatorica`TransitiveClosure[g]; ]]", "status": "ok", "out": "{18, Null}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 389, "in": "HoldComplete[g = GridGraph[10, 10]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.729, "tmo": 120} +{"i": 390, "in": "HoldComplete[Timing[TransitiveClosure[g]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 391, "in": "HoldComplete[Information[\"TransitiveQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TransitiveQ[g] yields True if graph g defines a transitive relation.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TransitiveQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 392, "in": "HoldComplete[ShowGraph[g = SetGraphOptions[RandomGraph[10, 0.3], EdgeDirection -> On], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.354, "tmo": 120} +{"i": 393, "in": "HoldComplete[TransitiveQ[g]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.69, "tmo": 120} +{"i": 394, "in": "HoldComplete[TransitiveQ[TransitiveClosure[g]]]", "status": "ok", "out": "True", "msgs": [], "secs": 1.414, "tmo": 120} +{"i": 395, "in": "HoldComplete[TransitiveQ[SetGraphOptions[CompleteGraph[10], EdgeDirection -> On]]]", "status": "ok", "out": "True", "msgs": [], "secs": 1.124, "tmo": 120} +{"i": 396, "in": "HoldComplete[TransitiveQ[g = SetGraphOptions[CompleteGraph[3, 3, 3], EdgeDirection -> On]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.892, "tmo": 120} +{"i": 397, "in": "HoldComplete[ShowGraph[g]]", "status": "ok", "out": "", "msgs": [], "secs": 1.743, "tmo": 120} +{"i": 398, "in": "HoldComplete[Information[\"ReflexiveQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ReflexiveQ[g] yields True if the adjacency matrix of g represents a reflexive binary relation.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ReflexiveQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 399, "in": "HoldComplete[ReflexiveQ[g = CompleteGraph[10]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.252, "tmo": 120} +{"i": 400, "in": "HoldComplete[g = AddEdges[g, Table[{{i, i}}, {i, 10}]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.092, "tmo": 120} +{"i": 401, "in": "HoldComplete[ReflexiveQ[g]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.198, "tmo": 120} +{"i": 402, "in": "HoldComplete[g = DeleteEdges[g, {{1, 1}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.358, "tmo": 120} +{"i": 403, "in": "HoldComplete[ReflexiveQ[g]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.192, "tmo": 120} +{"i": 404, "in": "HoldComplete[Information[\"AntiSymmetricQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"AntiSymmetricQ[g] yields True if the adjacency matrix of g represents an anti-symmetric binary relation.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`AntiSymmetricQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 405, "in": "HoldComplete[ShowGraph[g = SetGraphOptions[Wheel[20], EdgeDirection -> On]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.721, "tmo": 120} +{"i": 406, "in": "HoldComplete[AntiSymmetricQ[g]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.4, "tmo": 120} +{"i": 407, "in": "HoldComplete[ShowGraph[g = AddEdges[g, {{{2, 1}}}]]]", "status": "ok", "out": "", "msgs": [], "secs": 2.664, "tmo": 120} +{"i": 408, "in": "HoldComplete[AntiSymmetricQ[g]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.425, "tmo": 120} +{"i": 409, "in": "HoldComplete[Information[\"PartialOrderQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"PartialOrderQ[g] yields True if the binary relation defined by edges of the graph g is a partial order, meaning it is transitive, reflexive, and antisymmetric. PartialOrderQ[r] yields True if the binary relation defined by the square matrix r is a partial order.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`PartialOrderQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.038, "tmo": 120} +{"i": 410, "in": "HoldComplete[PartialOrderQ[g = GridGraph[3, 3]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.19, "tmo": 120} +{"i": 411, "in": "HoldComplete[g = TransitiveClosure[g]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.481, "tmo": 120} +{"i": 412, "in": "HoldComplete[Edges[g]]", "status": "ok", "out": "{{1, 1}, {1, 2}, {1, 3}, {1, 4}, {1, 5}, {1, 6}, {1, 7}, {1, 8}, {1, 9}, {2, 2}, {2, 3}, {2, 4}, {2, 5}, {2, 6}, {2, 7}, {2, 8}, {2, 9}, {3, 3}, {3, 4}, {3, 5}, {3, 6}, {3, 7}, {3, 8}, {3, 9}, {4, 4}, {4, 5}, {4, 6}, {4, 7}, {4, 8}, {4, 9}, {5, 5}, {5, 6}, {5, 7}, {5, 8}, {5, 9}, {6, 6}, {6, 7}, {6, 8}, {6, 9}, {7, 7}, {7, 8}, {7, 9}, {8, 8}, {8, 9}, {9, 9}}", "msgs": [], "secs": 0.017, "tmo": 120} +{"i": 413, "in": "HoldComplete[PartialOrderQ[g]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.207, "tmo": 120} +{"i": 414, "in": "HoldComplete[Information[\"TransitiveReduction\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TransitiveReduction[g] finds a smallest graph that has the same transitive closure as g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TransitiveReduction\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.042, "tmo": 120} +{"i": 415, "in": "HoldComplete[ShowGraph[TransitiveReduction[g = SetGraphOptions[GridGraph[4, 4], EdgeDirection -> On]]]]", "status": "ok", "out": "", "msgs": [], "secs": 15.298, "tmo": 120} +{"i": 416, "in": "HoldComplete[ShowGraph[g = TransitiveClosure[g]]]", "status": "ok", "out": "", "msgs": [], "secs": 7.331, "tmo": 120} +{"i": 417, "in": "HoldComplete[ShowGraph[TransitiveReduction[g]]]", "status": "ok", "out": "", "msgs": [], "secs": 17.805, "tmo": 120} +{"i": 418, "in": "HoldComplete[ShowGraph[s = MakeGraph[Subsets[4], Intersection[#2, #1] === #1 && #1 != #2 & ]]]", "status": "ok", "out": "", "msgs": [], "secs": 4.661, "tmo": 120} +{"i": 419, "in": "HoldComplete[ShowGraph[t = HasseDiagram[s], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 20.435, "tmo": 120} +{"i": 420, "in": "HoldComplete[Information[\"TopologicalSort\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TopologicalSort[g] gives a permutation of the vertices of directed acyclic graph g such that an edge (i, j) implies that vertex i appears before vertex j.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TopologicalSort\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.043, "tmo": 120} +{"i": 421, "in": "HoldComplete[ShowGraph[g = SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 3.547, "tmo": 120} +{"i": 422, "in": "HoldComplete[ShowGraph[HasseDiagram[g], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 90.605, "tmo": 120} +{"i": 423, "in": "HoldComplete[TopologicalSort[g]]", "status": "ok", "out": "{1, 2, 6, 3, 7, 11, 4, 8, 12, 16, 5, 9, 13, 17, 21, 10, 14, 18, 22, 15, 19, 23, 20, 24, 25}", "msgs": [], "secs": 0.796, "tmo": 120} +{"i": 424, "in": "HoldComplete[ShowGraph[g = AddEdges[DeleteEdges[g, {{9, 10}}], {{{10, 9}}}]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.336, "tmo": 120} +{"i": 425, "in": "HoldComplete[TopologicalSort[g]]", "status": "ok", "out": "{1, 2, 6, 3, 7, 11, 4, 8, 12, 16, 5, 13, 17, 21, 10, 18, 22, 9, 23, 14, 15, 19, 20, 24, 25}", "msgs": [], "secs": 0.805, "tmo": 120} +{"i": 426, "in": "HoldComplete[ShowGraph[g = MakeGraph[Range[12], Mod[#2, #1] == 0 & ], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 2.536, "tmo": 120} +{"i": 427, "in": "HoldComplete[ShowGraph[HasseDiagram[g], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 7.392, "tmo": 120} +{"i": 428, "in": "HoldComplete[TopologicalSort[g]]", "status": "ok", "out": "{1, 2, 3, 5, 7, 11, 4, 6, 9, 10, 8, 12}", "msgs": [], "secs": 0.529, "tmo": 120} +{"i": 429, "in": "HoldComplete[Information[\"ChromaticPolynomial\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ChromaticPolynomial[g, z] gives the chromatic polynomial P(z) of graph g, which counts the number of ways to color g with, at most, z colors.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ChromaticPolynomial\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.043, "tmo": 120} +{"i": 430, "in": "HoldComplete[g = CompleteGraph[5]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.037, "tmo": 120} +{"i": 431, "in": "HoldComplete[ChromaticPolynomial[g, z]]", "status": "ok", "out": "Times[z, Plus[-4, z], Plus[-3, z], Plus[-2, z], Plus[-1, z]]", "msgs": [], "secs": 0.146, "tmo": 120} +{"i": 432, "in": "HoldComplete[g = GraphUnion[10, CompleteGraph[1]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.544, "tmo": 120} +{"i": 433, "in": "HoldComplete[ChromaticPolynomial[g, z]]", "status": "ok", "out": "Power[z, 10]", "msgs": [], "secs": 0.088, "tmo": 120} +{"i": 434, "in": "HoldComplete[ChromaticPolynomial[RandomTree[10], z]]", "status": "ok", "out": "Times[z, Power[Plus[-1, z], 9]]", "msgs": [], "secs": 0.432, "tmo": 120} +{"i": 435, "in": "HoldComplete[g = DeleteEdges[CompleteGraph[5], {{1, 2}}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.09, "tmo": 120} +{"i": 436, "in": "HoldComplete[ChromaticPolynomial[g, z]]", "status": "ok", "out": "Plus[Times[z, Plus[-3, z], Plus[-2, z], Plus[-1, z]], Times[z, Plus[-4, z], Plus[-3, z], Plus[-2, z], Plus[-1, z]]]", "msgs": [], "secs": 0.669, "tmo": 120} +{"i": 437, "in": "HoldComplete[ChromaticPolynomial[Cycle[5], z]]", "status": "ok", "out": "Plus[Times[4, z], Times[-10, Power[z, 2]], Times[10, Power[z, 3]], Times[-5, Power[z, 4]], Power[z, 5]]", "msgs": [], "secs": 2.715, "tmo": 120} +{"i": 438, "in": "HoldComplete[Table[{Timing[DiscreteMath`OldCombinatorica`ChromaticPolynomial[DiscreteMath`OldCombinatorica`Cycle[i], z]; ], Timing[ChromaticPolynomial[Cycle[i], z]; ]}, {i, 5, 10}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 439, "in": "HoldComplete[Expand[wheelpoly[z_] = ChromaticPolynomial[Wheel[5], z]]]", "status": "ok", "out": "Plus[Times[14, z], Times[-31, Power[z, 2]], Times[24, Power[z, 3]], Times[-8, Power[z, 4]], Power[z, 5]]", "msgs": [], "secs": 1.323, "tmo": 120} +{"i": 440, "in": "HoldComplete[Table[wheelpoly[z], {z, 1, 7}]]", "status": "ok", "out": "{0, 0, 6, 72, 420, 1560, 4410}", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 441, "in": "HoldComplete[Information[\"ChromaticNumber\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ChromaticNumber[g] gives the chromatic number of the graph, which is the fewest number of colors necessary to color the graph.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ChromaticNumber\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.044, "tmo": 120} +{"i": 442, "in": "HoldComplete[ChromaticNumber[Cycle[7]]]", "status": "ok", "out": "3", "msgs": [], "secs": 0.863, "tmo": 120} +{"i": 443, "in": "HoldComplete[ChromaticNumber[CompleteGraph[4, 5]]]", "status": "ok", "out": "2", "msgs": [], "secs": 0.759, "tmo": 120} +{"i": 444, "in": "HoldComplete[g = GridGraph[5, 5]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.254, "tmo": 120} +{"i": 445, "in": "HoldComplete[Timing[ChromaticNumber[g]; ]]", "status": "ok", "out": "{132178, Null}", "msgs": [], "secs": 1.33, "tmo": 120} +{"i": 446, "in": "HoldComplete[Information[\"TwoColoring\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TwoColoring[g] finds a two-coloring of graph g if g is bipartite. It returns a list of the labels 1 and 2 corresponding to the vertices. This labeling is a valid coloring if and only the graph is bipartite.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TwoColoring\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.04, "tmo": 120} +{"i": 447, "in": "HoldComplete[TwoColoring[t = RandomTree[20]]]", "status": "ok", "out": "{1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 2}", "msgs": [], "secs": 1.139, "tmo": 120} +{"i": 448, "in": "HoldComplete[$RecursionLimit = 100000; ]", "status": "msg", "out": "Null", "msgs": ["$RecursionLimit::limset: Cannot set $RecursionLimit to 100000; value must be an integer between 20 and 512; use the MATHICS_MAX_RECURSION_DEPTH environment variable to allow higher limits."], "secs": 0.006, "tmo": 120} +{"i": 449, "in": "HoldComplete[TwoColoring[CompleteGraph[3, 3, 3]]]", "status": "ok", "out": "{1, 1, 1, 2, 2, 2, 2, 2, 2}", "msgs": [], "secs": 0.606, "tmo": 120} +{"i": 450, "in": "HoldComplete[g = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 451, "in": "HoldComplete[h = Table[GridGraph[i, i], {i, 10, 30, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 9.343, "tmo": 120} +{"i": 452, "in": "HoldComplete[Table[{Timing[DiscreteMath`OldCombinatorica`TwoColoring[g[[i]]]; ], Timing[TwoColoring[h[[i]]]; ]}, {i, 3}]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 7.38, "tmo": 120} +{"i": 453, "in": "HoldComplete[MyTC[g_Graph] := (If[EvenQ[#1], 1, 2] & ) /@ BreadthFirstTraversal[g, 1, Level]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 454, "in": "HoldComplete[MyTC[t]]", "status": "ok", "out": "{1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 2}", "msgs": [], "secs": 0.21, "tmo": 120} +{"i": 455, "in": "HoldComplete[Table[Timing[MyTC[h[[i]]]; ], {i, 3}]]", "status": "ok", "out": "{{172075, Null}, {847598, Null}, {2408903, Null}}", "msgs": [], "secs": 34.307, "tmo": 120} +{"i": 456, "in": "HoldComplete[Information[\"BipartiteQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"BipartiteQ[g] yields True if graph g is bipartite.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`BipartiteQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.045, "tmo": 120} +{"i": 457, "in": "HoldComplete[BipartiteQ[Wheel[10]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.482, "tmo": 120} +{"i": 458, "in": "HoldComplete[BipartiteQ[Star[10]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.348, "tmo": 120} +{"i": 459, "in": "HoldComplete[BipartiteQ[GridGraph[5, 5]]]", "status": "ok", "out": "True", "msgs": [], "secs": 1.192, "tmo": 120} +{"i": 460, "in": "HoldComplete[BipartiteQ[Cycle[5]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.256, "tmo": 120} +{"i": 461, "in": "HoldComplete[Information[\"VertexColoring\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"VertexColoring[g] uses Brelaz's heuristic to find a good, but not necessarily minimal, vertex coloring of graph g. An option Algorithm that can take on the values Brelaz or Optimum is allowed. The setting Algorithm -> Brelaz is the default, while the setting Algorithm -> Optimum forces the algorithm to do an exhaustive search to find an optimum vertex coloring.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`VertexColoring\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Algorithm, DiscreteMath`CombinatoricaV201`Brelaz]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.042, "tmo": 120} +{"i": 462, "in": "HoldComplete[VertexColoring[CompleteGraph[4]]]", "status": "ok", "out": "{1, 2, 3, 4}", "msgs": [], "secs": 0.122, "tmo": 120} +{"i": 463, "in": "HoldComplete[VertexColoring[GridGraph[10, 10]]]", "status": "ok", "out": "{1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1}", "msgs": [], "secs": 7.836, "tmo": 120} +{"i": 464, "in": "HoldComplete[c = VertexColoring[g = Wheel[30]]]", "status": "ok", "out": "{1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 4, 3}", "msgs": [], "secs": 1.164, "tmo": 120} +{"i": 465, "in": "HoldComplete[p = Table[Flatten[Position[c, i], 1], {i, Max[c]}]]", "status": "ok", "out": "{{1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27}, {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28}, {30}, {29}}", "msgs": [], "secs": 0.012, "tmo": 120} +{"i": 466, "in": "HoldComplete[ShowGraph[Highlight[g, p]]]", "status": "ok", "out": "", "msgs": [], "secs": 5.549, "tmo": 120} +{"i": 467, "in": "HoldComplete[g = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 5, 30, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.01, "tmo": 120} +{"i": 468, "in": "HoldComplete[h = Table[GridGraph[i, i], {i, 5, 30, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 5.905, "tmo": 120} +{"i": 469, "in": "HoldComplete[Table[{Timing[DiscreteMath`OldCombinatorica`VertexColoring[g[[i]]]; ], Timing[VertexColoring[h[[i]]]; ]}, {i, 3}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 470, "in": "HoldComplete[g = ExactRandomGraph[30, 100]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 2.563, "tmo": 120} +{"i": 471, "in": "HoldComplete[ShowGraph[g]]", "status": "ok", "out": "", "msgs": [], "secs": 6.717, "tmo": 120} +{"i": 472, "in": "HoldComplete[c = VertexColoring[g]]", "status": "ok", "out": "{1, 2, 2, 1, 2, 1, 3, 5, 2, 1, 1, 3, 1, 4, 2, 3, 2, 2, 3, 1, 1, 3, 3, 4, 2, 4, 4, 1, 5, 3}", "msgs": [], "secs": 1.547, "tmo": 120} +{"i": 473, "in": "HoldComplete[p = Table[Flatten[Position[c, i], 1], {i, Max[c]}]]", "status": "ok", "out": "{{1, 4, 6, 10, 11, 13, 20, 21, 28}, {2, 3, 5, 9, 15, 17, 18, 25}, {7, 12, 16, 19, 22, 23, 30}, {14, 24, 26, 27}, {8, 29}}", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 474, "in": "HoldComplete[ShowGraph[Highlight[g, p]]]", "status": "ok", "out": "", "msgs": [], "secs": 8.513, "tmo": 120} +{"i": 475, "in": "HoldComplete[Information[\"EdgeColoring\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"EdgeColoring[g] uses Brelaz's heuristic to find a good, but not necessarily minimal, edge coloring of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`EdgeColoring\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.042, "tmo": 120} +{"i": 476, "in": "HoldComplete[EdgeColoring[Wheel[10]]]", "status": "ok", "out": "{3, 2, 4, 5, 6, 7, 8, 9, 1, 1, 3, 1, 2, 1, 2, 1, 3, 2}", "msgs": [], "secs": 0.986, "tmo": 120} +{"i": 477, "in": "HoldComplete[c = EdgeColoring[GridGraph[5, 5]]]", "status": "ok", "out": "{1, 2, 3, 2, 1, 2, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 3, 1, 1, 1, 3, 4, 4, 4, 3, 2, 3, 3, 3, 1, 3, 4, 4, 4, 3}", "msgs": [], "secs": 2.398, "tmo": 120} +{"i": 478, "in": "HoldComplete[g = LineGraph[GridGraph[5, 5]]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.868, "tmo": 120} +{"i": 479, "in": "HoldComplete[p = Table[Flatten[Position[c, i], 1], {i, 4}]]", "status": "ok", "out": "{{1, 5, 9, 11, 13, 15, 17, 19, 23, 24, 25, 35}, {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 21, 31}, {3, 7, 22, 26, 30, 32, 33, 34, 36, 40}, {27, 28, 29, 37, 38, 39}}", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 480, "in": "HoldComplete[ShowGraph[Highlight[g, p], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 9.003, "tmo": 120} +{"i": 481, "in": "HoldComplete[ep = (Edges[g = GridGraph[5, 5]][[#1]] & ) /@ p]", "status": "ok", "out": "{{{1, 2}, {6, 7}, {11, 12}, {13, 14}, {16, 17}, {18, 19}, {21, 22}, {23, 24}, {3, 8}, {4, 9}, {5, 10}, {15, 20}}, {{2, 3}, {4, 5}, {7, 8}, {9, 10}, {12, 13}, {14, 15}, {17, 18}, {19, 20}, {22, 23}, {24, 25}, {1, 6}, {11, 16}}, {{3, 4}, {8, 9}, {2, 7}, {6, 11}, {10, 15}, {12, 17}, {13, 18}, {14, 19}, {16, 21}, {20, 25}}, {{7, 12}, {8, 13}, {9, 14}, {17, 22}, {18, 23}, {19, 24}}}", "msgs": [], "secs": 1.125, "tmo": 120} +{"i": 482, "in": "HoldComplete[ShowGraph[Highlight[g, ep]]]", "status": "ok", "out": "", "msgs": [], "secs": 5.054, "tmo": 120} +{"i": 483, "in": "HoldComplete[g = Table[GridGraph[i, i], {i, 10, 30, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 9.664, "tmo": 120} +{"i": 484, "in": "HoldComplete[Table[Timing[EdgeColoring[g[[i]]]; ], {i, 2}]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.05, "tmo": 120} +{"i": 485, "in": "HoldComplete[Table[Timing[LineGraph[g[[i]]]; ], {i, 2}]]", "status": "ok", "out": "{{287775, Null}, {1699640, Null}}", "msgs": [], "secs": 19.894, "tmo": 120} +{"i": 486, "in": "HoldComplete[h = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 487, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`EdgeColoring[h[[i]]]; ], {i, 2}]]", "status": "ok", "out": "{{32, Null}, {24, Null}}", "msgs": [], "secs": 0.013, "tmo": 120} +{"i": 488, "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`LineGraph[h[[i]]]; ], {i, 2}]]", "status": "ok", "out": "{{29, Null}, {23, Null}}", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 489, "in": "HoldComplete[Information[\"EdgeChromaticNumber\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"EdgeChromaticNumber[g] gives the fewest number of colors necessary to color each edge of graph g, so that no two edges incident on the same vertex have the same color.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`EdgeChromaticNumber\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.042, "tmo": 120} +{"i": 490, "in": "HoldComplete[EdgeChromaticNumber[Star[10]]]", "status": "ok", "out": "9", "msgs": [], "secs": 0.432, "tmo": 120} +{"i": 491, "in": "HoldComplete[ShowGraph[t = LineGraph[Wheel[10]]]]", "status": "ok", "out": "", "msgs": [], "secs": 4.334, "tmo": 120} +{"i": 492, "in": "HoldComplete[ChromaticPolynomial[t, z]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.006, "tmo": 120} +{"i": 493, "in": "HoldComplete[Information[\"MaximumClique\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"MaximumClique[g] finds a largest clique in graph g. MaximumClique[g, k] returns a k-clique, if such a thing exists in g; otherwise it returns {}.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`MaximumClique\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.068, "tmo": 120} +{"i": 494, "in": "HoldComplete[MaximumClique[t]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 495, "in": "HoldComplete[MaximumClique[Turan[6, 4]]]", "status": "ok", "out": "{1, 3, 5}", "msgs": [], "secs": 2.576, "tmo": 120} +{"i": 496, "in": "HoldComplete[MaximumClique[CompleteGraph[10]]]", "status": "ok", "out": "{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}", "msgs": [], "secs": 0.442, "tmo": 120} +{"i": 497, "in": "HoldComplete[MaximumClique[t = RandomGraph[10, 0.5]]]", "status": "ok", "out": "{3, 5, 6}", "msgs": [], "secs": 10.085, "tmo": 120} +{"i": 498, "in": "HoldComplete[ShowGraph[t, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.318, "tmo": 120} +{"i": 499, "in": "HoldComplete[t = RandomGraph[20, 0.5]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 1.101, "tmo": 120} +{"i": 500, "in": "HoldComplete[Timing[MaximumClique[t]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 501, "in": "HoldComplete[Information[\"CliqueQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"CliqueQ[g, c] yields True if the list of vertices c defines a clique in graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`CliqueQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.069, "tmo": 120} +{"i": 502, "in": "HoldComplete[CliqueQ[CompleteGraph[12], Range[12]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.944, "tmo": 120} +{"i": 503, "in": "HoldComplete[CliqueQ[CompleteGraph[12], Range[5]]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.585, "tmo": 120} +{"i": 504, "in": "HoldComplete[CliqueQ[RandomGraph[10, 0.5], Range[5]]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.467, "tmo": 120} +{"i": 505, "in": "HoldComplete[Information[\"MinimumVertexCover\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"MinimumVertexCover[g] finds a minimum vertex cover of graph g. For bipartite graphs, the function uses the polynomial-time Hungarian algorithm. For everything else, the function uses brute force.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`MinimumVertexCover\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.064, "tmo": 120} +{"i": 506, "in": "HoldComplete[Information[\"Highlight\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Highlight[g, p] displays g with elements in p highlighted. The second argument p has the form {s1, s2,...}, where the sis are disjoint subsets of vertices and edges of g. The options, HighlightedVertexStyle, HighlightedEdgeStyle, HighlightedVertexColors, and HighlightedEdgeColors are used to determine the appearance of the highlighted elements of the graph. The default settings of the style options are HighlightedVertexStyle->Disk[Large] and HighlightedEdgeStyle->Thick. The options HighlightedVertexColors and HighlightedEdgeColors are both set to {Black, Red, Blue, Green, Yellow, Purple, Brown, Orange, Olive, Pink, DeepPink, DarkGreen, Maroon, Navy}. The colors are chosen from the palette of colors with color 1 used for s1, color 2 used for s2, and so on. If there are more parts than colors, then the colors are used cyclically. The function permits all the options that SetGraphOptions permits, for example, VertexColor, VertexStyle, EdgeColor, and EdgeStyle. These options can be used to control the appearance of the non-highlighted vertices and edges.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`Highlight\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`HighlightedVertexStyle, System`Disk[System`Large]],System`Rule[DiscreteMath`CombinatoricaV201`HighlightedEdgeStyle, System`AbsoluteThickness[2]],System`Rule[DiscreteMath`CombinatoricaV201`HighlightedVertexColors, System`Map[System`ToExpression, DiscreteMath`CombinatoricaV201`Private`ScreenColorNames]],System`Rule[DiscreteMath`CombinatoricaV201`HighlightedEdgeColors, System`Map[System`ToExpression, DiscreteMath`CombinatoricaV201`Private`ScreenColorNames]]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.062, "tmo": 120} +{"i": 507, "in": "HoldComplete[ShowGraph[Highlight[g = RandomGraph[10, 0.6], MinimumVertexCover[g], HighlightedVertexColors -> {Blue}]]]", "status": "ok", "out": "", "msgs": [], "secs": 11.262, "tmo": 120} +{"i": 508, "in": "HoldComplete[ShowGraph[Highlight[g = RandomGraph[14, 0.3], MinimumVertexCover[g], HighlightedVertexColors -> {Blue}]]]", "status": "ok", "out": "", "msgs": [], "secs": 74.245, "tmo": 120} +{"i": 509, "in": "HoldComplete[Information[\"VertexCoverQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"VertexCoverQ[g, c] yields True if the vertices in list c define a vertex cover of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`VertexCoverQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.071, "tmo": 120} +{"i": 510, "in": "HoldComplete[MinimumVertexCover[GridGraph[4, 4]]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 200 exceeded."], "secs": 49.095, "tmo": 120} +{"i": 511, "in": "HoldComplete[c = {2, 4, 5, 7, 10, 12, 13, 15}]", "status": "ok", "out": "{2, 4, 5, 7, 10, 12, 13, 15}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 512, "in": "HoldComplete[VertexCoverQ[GridGraph[4, 4], c]]", "status": "ok", "out": "True", "msgs": [], "secs": 2.761, "tmo": 120} +{"i": 513, "in": "HoldComplete[VertexCoverQ[GridGraph[4, 4], Complement[c, {2}]]]", "status": "ok", "out": "False", "msgs": [], "secs": 2.598, "tmo": 120} +{"i": 514, "in": "HoldComplete[Information[\"MaximumIndependentSet\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"MaximumIndependentSet[g] finds a largest independent set of graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`MaximumIndependentSet\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.068, "tmo": 120} +{"i": 515, "in": "HoldComplete[ShowGraph[Highlight[g = RandomGraph[10, 0.4], MaximumIndependentSet[g], HighlightedVertexColors -> {Purple}]]]", "status": "ok", "out": "", "msgs": [], "secs": 11.545, "tmo": 120} +{"i": 516, "in": "HoldComplete[Information[\"IndependentSetQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"IndependentSetQ[g, i] yields True if the vertices in list i define an independent set in graph g.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`IndependentSetQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.068, "tmo": 120} +{"i": 517, "in": "HoldComplete[IndependentSetQ[CompleteGraph[3, 3], {1, 2, 3}]]", "status": "ok", "out": "True", "msgs": [], "secs": 0.326, "tmo": 120} +{"i": 518, "in": "HoldComplete[IndependentSetQ[CompleteGraph[3, 3], {3, 4}]]", "status": "ok", "out": "False", "msgs": [], "secs": 0.301, "tmo": 120} diff --git a/book/mathics/newFeatures.jsonl b/book/mathics/newFeatures.jsonl new file mode 100644 index 0000000..6d0e600 --- /dev/null +++ b/book/mathics/newFeatures.jsonl @@ -0,0 +1,139 @@ +{"i": 1, "in": "HoldComplete[g = CompleteGraph[4]]", "status": "ok", "out": "Graph[{{{1, 2}}, {{1, 3}}, {{1, 4}}, {{2, 3}}, {{2, 4}}, {{3, 4}}}, {{{0, 100000}}, {{-100000, 0}}, {{0, -100000}}, {{100000, 0}}}]", "msgs": [], "secs": 0.036, "tmo": 120} +{"i": 2, "in": "HoldComplete[g[[1]]]", "status": "ok", "out": "{{{1, 2}}, {{1, 3}}, {{1, 4}}, {{2, 3}}, {{2, 4}}, {{3, 4}}}", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 3, "in": "HoldComplete[g[[2]]]", "status": "ok", "out": "{{{0, 100000}}, {{-100000, 0}}, {{0, -100000}}, {{100000, 0}}}", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 4, "in": "HoldComplete[g[[0]]]", "status": "ok", "out": "Graph", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 5, "in": "HoldComplete[g = SetGraphOptions[g, VertexColor -> Red, EdgeColor -> Blue]]", "status": "ok", "out": "Graph[{{{1, 2}}, {{1, 3}}, {{1, 4}}, {{2, 3}}, {{2, 4}}, {{3, 4}}}, {{{0, 100000}}, {{-100000, 0}}, {{0, -100000}}, {{100000, 0}}}, Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 0, 1]]]", "msgs": [], "secs": 0.038, "tmo": 120} +{"i": 6, "in": "HoldComplete[ShowGraph[g]]", "status": "ok", "out": "", "msgs": [], "secs": 0.525, "tmo": 120} +{"i": 7, "in": "HoldComplete[g = SetGraphOptions[g, {{{1, 2}, VertexStyle -> Disc[Large], VertexColor -> Green}}]]", "status": "ok", "out": "Graph[{{{1, 2}, Rule[VertexStyle, Disc[Large]], Rule[VertexColor, RGBColor[0, 1, 0]]}, {{1, 3}}, {{1, 4}}, {{2, 3}}, {{2, 4}}, {{3, 4}}}, {{{0, 100000}}, {{-100000, 0}}, {{0, -100000}}, {{100000, 0}}}, Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 0, 1]]]", "msgs": [], "secs": 0.083, "tmo": 120} +{"i": 8, "in": "HoldComplete[ShowGraph[g, PlotRange -> Large[0.05]]]", "status": "ok", "out": "", "msgs": [], "secs": 0.535, "tmo": 120} +{"i": 9, "in": "HoldComplete[Length[g]]", "status": "ok", "out": "4", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 10, "in": "HoldComplete[g[[1]]]", "status": "ok", "out": "{{{1, 2}, Rule[VertexStyle, Disc[Large]], Rule[VertexColor, RGBColor[0, 1, 0]]}, {{1, 3}}, {{1, 4}}, {{2, 3}}, {{2, 4}}, {{3, 4}}}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 11, "in": "HoldComplete[g[[2]]]", "status": "ok", "out": "{{{0, 100000}}, {{-100000, 0}}, {{0, -100000}}, {{100000, 0}}}", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 12, "in": "HoldComplete[g[[3]]]", "status": "ok", "out": "Rule[VertexColor, RGBColor[1, 0, 0]]", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 13, "in": "HoldComplete[g[[4]]]", "status": "ok", "out": "Rule[EdgeColor, RGBColor[0, 0, 1]]", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 14, "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[20, 20]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 15, "in": "HoldComplete[ByteCount[g]]", "status": "ok", "out": "5256", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 16, "in": "HoldComplete[g = GridGraph[20, 20]; ByteCount[g]]", "status": "ok", "out": "3305384", "msgs": [], "secs": 3.429, "tmo": 120} +{"i": 17, "in": "HoldComplete[h = SetGraphOptions[g, VertexColor -> Red, EdgeColor -> Blue]; ShowGraph[h, Background -> Yellow]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.009, "tmo": 120} +{"i": 18, "in": "HoldComplete[ByteCount[h]]", "status": "ok", "out": "3250784", "msgs": [], "secs": 0.123, "tmo": 120} +{"i": 19, "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`RandomGraph[100, 0.5]; ByteCount[g]]", "status": "ok", "out": "5616", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 20, "in": "HoldComplete[g = RandomGraph[100, 0.5]; ByteCount[g]]", "status": "ok", "out": "4887856", "msgs": [], "secs": 101.073, "tmo": 120} +{"i": 21, "in": "HoldComplete[Information[\"DihedralGroup\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"DihedralGroup[n] returns the dihedral group on n symbols. Note that the order of this group is 2n.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`DihedralGroup\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 22, "in": "HoldComplete[DihedralGroup[4]]", "status": "ok", "out": "{{1, 2, 3, 4}, {4, 1, 2, 3}, {3, 4, 1, 2}, {2, 3, 4, 1}, {4, 3, 2, 1}, {3, 2, 1, 4}, {2, 1, 4, 3}, {1, 4, 3, 2}}", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 23, "in": "HoldComplete[Information[\"SymmetricGroupIndex\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"SymmetricGroupIndex[n, x] returns the cycle index of the symmetric group on n symbols, expressed as a polynomial in x[1], x[2], ..., x[n].\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`SymmetricGroupIndex\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 24, "in": "HoldComplete[SymmetricGroupIndex[6, x]]", "status": "ok", "out": "Plus[Times[Rational[1, 720], Power[x[1], 6]], Times[Rational[1, 48], Power[x[1], 4], x[2]], Times[Rational[1, 16], Power[x[1], 2], Power[x[2], 2]], Times[Rational[1, 48], Power[x[2], 3]], Times[Rational[1, 18], Power[x[1], 3], x[3]], Times[Rational[1, 6], x[1], x[2], x[3]], Times[Rational[1, 18], Power[x[3], 2]], Times[Rational[1, 8], Power[x[1], 2], x[4]], Times[Rational[1, 8], x[2], x[4]], Times[Rational[1, 5], x[1], x[5]], Times[Rational[1, 6], x[6]]]", "msgs": [], "secs": 0.097, "tmo": 120} +{"i": 25, "in": "HoldComplete[Information[\"DihedralGroupIndex\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"DihedralGroupIndex[n, x] returns the cycle index of the dihedral group on n symbols, expressed as a polynomial in x[1], x[2], ..., x[n].\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`DihedralGroupIndex\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 26, "in": "HoldComplete[DihedralGroupIndex[10, y]]", "status": "ok", "out": "Plus[Times[Rational[1, 20], Power[y[1], 10]], Times[Rational[1, 4], Power[y[1], 2], Power[y[2], 4]], Times[Rational[3, 10], Power[y[2], 5]], Times[Rational[1, 5], Power[y[5], 2]], Times[Rational[1, 5], y[10]]]", "msgs": [], "secs": 0.346, "tmo": 120} +{"i": 27, "in": "HoldComplete[Information[\"GraphPolynomial\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GraphPolynomial[n, x] returns a polynomial in x in which the coefficient of x^m is the number of nonisomorphic graphs with n vertices and m edges. GraphPolynomial[n, x, Directed] returns a polynomial in x in which the coefficient of x^m is the number of nonisomorphic directed graphs with n vertices and m edges.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GraphPolynomial\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 28, "in": "HoldComplete[GraphPolynomial[6, x]]", "status": "ok", "out": "Plus[1, x, Times[2, Power[x, 2]], Times[5, Power[x, 3]], Times[9, Power[x, 4]], Times[15, Power[x, 5]], Times[21, Power[x, 6]], Times[24, Power[x, 7]], Times[24, Power[x, 8]], Times[21, Power[x, 9]], Times[15, Power[x, 10]], Times[9, Power[x, 11]], Times[5, Power[x, 12]], Times[2, Power[x, 13]], Power[x, 14], Power[x, 15]]", "msgs": [], "secs": 0.459, "tmo": 120} +{"i": 29, "in": "HoldComplete[Information[\"NumberOfGraphs\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"NumberOfGraphs[n] returns the number of nonisomorphic undirected graphs with n vertices. NumberOfGraphs[n, m] returns the number of nonisomorphic undirected graphs with n vertices and m edges.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`NumberOfGraphs\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 30, "in": "HoldComplete[TableForm[Table[NumberOfGraphs[i], {i, 1, 15}]]]", "status": "ok", "out": "TableForm[{1, 2, 4, 11, 34, 156, 1044, 12346, 274668, 12005168, 1018997864, 165091172592, 50502031367952, 29054155657235488, 31426485969804308768}]", "msgs": [], "secs": 49.935, "tmo": 120} +{"i": 31, "in": "HoldComplete[ShowGraphArray[ListGraphs[6, 3], Background -> LightBlue]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.009, "tmo": 120} +{"i": 32, "in": "HoldComplete[Information[\"ListNecklaces\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ListNecklaces[n, c, Cyclic] returns all distinct necklaces whose beads are colored by colors from c. Here c is a list of n, not necessarily distinct colors, and two colored necklaces are considered equivalent if one can be obtained by rotating the other. ListNecklaces[n, c, Dihedral] is similar except that two necklaces are considered equivalent if one can be obtained from the other by a rotation or a flip.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ListNecklaces\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 33, "in": "HoldComplete[ListNecklaces[5, {r, r, b, b, y}, Dihedral]]", "status": "ok", "out": "{{r, r, b, b, y}, {b, b, r, y, r}, {b, r, b, r, y}, {b, r, r, b, y}}", "msgs": [], "secs": 0.271, "tmo": 120} +{"i": 34, "in": "HoldComplete[ListNecklaces[5, {r, r, b, b, y}, Cyclic]]", "status": "ok", "out": "{{r, r, b, b, y}, {b, b, r, r, y}, {b, b, r, y, r}, {b, r, b, r, y}, {b, r, b, y, r}, {b, r, r, b, y}}", "msgs": [], "secs": 0.233, "tmo": 120} +{"i": 35, "in": "HoldComplete[Information[\"NumberOfNecklaces\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"NumberOfNecklaces[n, nc, Cyclic] returns the number of distinct ways in which an n-bead necklace can be colored with nc colors, assuming that two colorings are equivalent if one can be obtained from the other by a rotation. NumberOfNecklaces[n, nc, Dihedral] returns the number of distinct ways in which an n-bead necklace can be colored with nc colors, assuming that two colorings are equivalent if one can be obtained from the other by a rotation or a flip.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`NumberOfNecklaces\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.009, "tmo": 120} +{"i": 36, "in": "HoldComplete[TableForm[Table[NumberOfNecklaces[i, 2, Dihedral], {i, 10, 20}]]]", "status": "ok", "out": "TableForm[{78, 126, 224, 380, 687, 1224, 2250, 4112, 7685, 14310, 27012}]", "msgs": [], "secs": 2.942, "tmo": 120} +{"i": 37, "in": "HoldComplete[Information[\"NecklacePolynomial\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"NecklacePolynomial[n, c, Cyclic] returns a polynomial in the colors in c whose coefficients represent numbers of ways of coloring an n-bead necklace with colors chosen from c, assuming that two colorings are equivalent if one can be obtained from the other by a rotation. NecklacePolynomial[n, c, Dihedral] is different in that it considers two colorings equivalent if one can be obtained from the other by a rotation or a flip or both.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`NecklacePolynomial\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.01, "tmo": 120} +{"i": 38, "in": "HoldComplete[NecklacePolynomial[10, {R, B, G}, Cyclic]]", "status": "ok", "out": "Plus[Power[B, 10], Times[Power[B, 9], G], Times[5, Power[B, 8], Power[G, 2]], Times[12, Power[B, 7], Power[G, 3]], Times[22, Power[B, 6], Power[G, 4]], Times[26, Power[B, 5], Power[G, 5]], Times[22, Power[B, 4], Power[G, 6]], Times[12, Power[B, 3], Power[G, 7]], Times[5, Power[B, 2], Power[G, 8]], Times[B, Power[G, 9]], Power[G, 10], Times[Power[B, 9], R], Times[9, Power[B, 8], G, R], Times[36, Power[B, 7], Power[G, 2], R], Times[84, Power[B, 6], Power[G, 3], R], Times[126, Power[B, 5], Power[G, 4], R], Times[126, Power[B, 4], Power[G, 5], R], Times[84, Power[B, 3], Power[G, 6], R], Times[36, Power[B, 2], Power[G, 7], R], Times[9, B, Power[G, 8], R], Times[Power[G, 9], R], Times[5, Power[B, 8], Power[R, 2]], Times[36, Power[B, 7], G, Power[R, 2]], Times[128, Power[B, 6], Power[G, 2], Power[R, 2]], Times[252, Power[B, 5], Power[G, 3], Power[R, 2]], Times[318, Power[B, 4], Power[G, 4], Power[R, 2]], Times[252, Power[B, 3], Power[G, 5], Power[R, 2]], Times[128, Power[B, 2], Power[G, 6], Power[R, 2]], Times[36, B, Power[G, 7], Power[R, 2]], Times[5, Power[G, 8], Power[R, 2]], Times[12, Power[B, 7], Power[R, 3]], Times[84, Power[B, 6], G, Power[R, 3]], Times[252, Power[B, 5], Power[G, 2], Power[R, 3]], Times[420, Power[B, 4], Power[G, 3], Power[R, 3]], Times[420, Power[B, 3], Power[G, 4], Power[R, 3]], Times[252, Power[B, 2], Power[G, 5], Power[R, 3]], Times[84, B, Power[G, 6], Power[R, 3]], Times[12, Power[G, 7], Power[R, 3]], Times[22, Power[B, 6], Power[R, 4]], Times[126, Power[B, 5], G, Power[R, 4]], Times[318, Power[B, 4], Power[G, 2], Power[R, 4]], Times[420, Power[B, 3], Power[G, 3], Power[R, 4]], Times[318, Power[B, 2], Power[G, 4], Power[R, 4]], Times[126, B, Power[G, 5], Power[R, 4]], Times[22, Power[G, 6], Power[R, 4]], Times[26, Power[B, 5], Power[R, 5]], Times[126, Power[B, 4], G, Power[R, 5]], Times[252, Power[B, 3], Power[G, 2], Power[R, 5]], Times[252, Power[B, 2], Power[G, 3], Power[R, 5]], Times[126, B, Power[G, 4], Power[R, 5]], Times[26, Power[G, 5], Power[R, 5]], Times[22, Power[B, 4], Power[R, 6]], Times[84, Power[B, 3], G, Power[R, 6]], Times[128, Power[B, 2], Power[G, 2], Power[R, 6]], Times[84, B, Power[G, 3], Power[R, 6]], Times[22, Power[G, 4], Power[R, 6]], Times[12, Power[B, 3], Power[R, 7]], Times[36, Power[B, 2], G, Power[R, 7]], Times[36, B, Power[G, 2], Power[R, 7]], Times[12, Power[G, 3], Power[R, 7]], Times[5, Power[B, 2], Power[R, 8]], Times[9, B, G, Power[R, 8]], Times[5, Power[G, 2], Power[R, 8]], Times[B, Power[R, 9]], Times[G, Power[R, 9]], Power[R, 10]]", "msgs": [], "secs": 0.199, "tmo": 120} +{"i": 39, "in": "HoldComplete[Information[\"SetPartitions\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"SetPartitions[set] returns the list of set partitions of set. SetPartitions[n] returns the list of set partitions of {1, 2, ..., n}. If all set partitions with a fixed number of subsets are needed use KSetPartitions.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`SetPartitions\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 40, "in": "HoldComplete[SetPartitions[4]]", "status": "ok", "out": "{{{1, 2, 3, 4}}, {{1}, {2, 3, 4}}, {{1, 2}, {3, 4}}, {{1, 3, 4}, {2}}, {{1, 2, 3}, {4}}, {{1, 4}, {2, 3}}, {{1, 2, 4}, {3}}, {{1, 3}, {2, 4}}, {{1}, {2}, {3, 4}}, {{1}, {2, 3}, {4}}, {{1}, {2, 4}, {3}}, {{1, 2}, {3}, {4}}, {{1, 3}, {2}, {4}}, {{1, 4}, {2}, {3}}, {{1}, {2}, {3}, {4}}}", "msgs": [], "secs": 0.109, "tmo": 120} +{"i": 41, "in": "HoldComplete[Information[\"KSetPartitions\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"KSetPartitions[set, k] returns the list of set partitions of set with k blocks. KSetPartitions[n, k] returns the list of set partitions of {1, 2, ..., n} with k blocks. If all set partitions of a set are needed, use the function SetPartitions.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`KSetPartitions\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.01, "tmo": 120} +{"i": 42, "in": "HoldComplete[KSetPartitions[5, 3]]", "status": "ok", "out": "{{{1}, {2}, {3, 4, 5}}, {{1}, {2, 3}, {4, 5}}, {{1}, {2, 4, 5}, {3}}, {{1}, {2, 3, 4}, {5}}, {{1}, {2, 5}, {3, 4}}, {{1}, {2, 3, 5}, {4}}, {{1}, {2, 4}, {3, 5}}, {{1, 2}, {3}, {4, 5}}, {{1, 3}, {2}, {4, 5}}, {{1, 4, 5}, {2}, {3}}, {{1, 2}, {3, 4}, {5}}, {{1, 3, 4}, {2}, {5}}, {{1, 5}, {2}, {3, 4}}, {{1, 2}, {3, 5}, {4}}, {{1, 3, 5}, {2}, {4}}, {{1, 4}, {2}, {3, 5}}, {{1, 2, 3}, {4}, {5}}, {{1, 4}, {2, 3}, {5}}, {{1, 5}, {2, 3}, {4}}, {{1, 2, 4}, {3}, {5}}, {{1, 3}, {2, 4}, {5}}, {{1, 5}, {2, 4}, {3}}, {{1, 2, 5}, {3}, {4}}, {{1, 3}, {2, 5}, {4}}, {{1, 4}, {2, 5}, {3}}}", "msgs": [], "secs": 0.13, "tmo": 120} +{"i": 43, "in": "HoldComplete[Information[\"RankSetPartition\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RankSetPartition[sp, s] ranks sp in the list of all set partitions of set s. RankSetPartition[sp] ranks sp in the list of all set partitions of the set of elements that appear in any subset in sp.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RankSetPartition\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 44, "in": "HoldComplete[RankSetPartition[{{1, 2}, {3, 5}, {4}}]]", "status": "ok", "out": "29", "msgs": [], "secs": 0.077, "tmo": 120} +{"i": 45, "in": "HoldComplete[Information[\"UnrankSetPartition\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"UnrankSetPartition[r, set] finds a set partition of set with rank r. UnrankSetPartition[r, n] finds a set partition of {1, 2, ..., n} with rank r.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`UnrankSetPartition\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 46, "in": "HoldComplete[UnrankSetPartition[%, 5]]", "status": "ok", "out": "UnrankSetPartition[\"InformationData[<|System`Usage \\\\[Rule] \\\"UnrankSetPartition[r, set] finds a set partition of set with rank r. UnrankSetPartition[r, n] finds a set partition of {1, 2, ..., n} with rank r.\\\", System`FullName \\\\[Rule] \\\"DiscreteMath`CombinatoricaV201`UnrankSetPartition\\\", System`Attributes \\\\[Rule] {System`Protected}, System`Options \\\\[Rule] System`None, System`DownValues \\\\[Rule] System`None, System`OwnValues \\\\[Rule] System`None|>]\", 5]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 47, "in": "HoldComplete[Information[\"RandomSetPartition\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RandomSetPartition[set] returns a random set partition of set. RandomSetPartition[n] returns a random set partition of the first n natural numbers.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RandomSetPartition\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 48, "in": "HoldComplete[RandomSetPartition[10]]", "status": "ok", "out": "{{1, 8}, {2, 4}, {3, 5, 9}, {6, 7}, {10}}", "msgs": [], "secs": 0.239, "tmo": 120} +{"i": 49, "in": "HoldComplete[Information[\"RandomKSetPartition\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"RandomKSetPartition[set, k] returns a random set partition of set with k blocks. RandomKSetPartition[n, k] returns a random set partition of the first n natural numbers into k blocks.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`RandomKSetPartition\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 50, "in": "HoldComplete[RandomKSetPartition[10, 4]]", "status": "ok", "out": "{{1}, {2, 7, 9}, {3, 4, 5}, {6, 8, 10}}", "msgs": [], "secs": 0.132, "tmo": 120} +{"i": 51, "in": "HoldComplete[Information[\"BellB\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"BellB[n] returns the nth Bell number.\", System`FullName \\[Rule] \"System`BellB\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] {System`RuleDelayed[System`HoldPattern[System`BellB[System`Pattern[DiscreteMath`CombinatoricaV201`Private`n, System`Blank[System`Integer]]]], DiscreteMath`CombinatoricaV201`Private`BellB1[DiscreteMath`CombinatoricaV201`Private`n]]}, System`OwnValues \\[Rule] {}|>]", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 52, "in": "HoldComplete[BellB[300]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.002, "tmo": 120} +{"i": 53, "in": "HoldComplete[l52 = (StringJoin[ToString /@ #1[[1]]] & ) /@ (sp52 = KSetPartitions[5, 2]); , Null, ShowGraph[g = SetVertexLabels[MakeGraph[sp52, MemberQ[{1, 4}, Sum[Abs[Position[#1, i][[1,1]] - Position[#2, i][[1,1]]], {i, 5}]] & , Type -> Undirected], l52], PlotRange -> Large[0.2]]]", "status": "ok", "out": "", "msgs": [], "secs": 5.37, "tmo": 120} +{"i": 54, "in": "HoldComplete[ShowGraph[Highlight[g, {Partition[HamiltonianCycle[g], 2, 1]}, {Red}], PlotRange -> Large[0.1]]]", "status": "ok", "out": "ShowGraph[Highlight[Graph[{{{1, 2}}, {{1, 7}}, {{1, 9}}, {{1, 13}}, {{2, 3}}, {{2, 4}}, {{2, 10}}, {{2, 14}}, {{3, 5}}, {{3, 11}}, {{3, 15}}, {{4, 5}}, {{4, 7}}, {{4, 8}}, {{4, 12}}, {{5, 6}}, {{5, 9}}, {{5, 13}}, {{6, 7}}, {{6, 10}}, {{6, 14}}, {{7, 11}}, {{7, 15}}, {{8, 9}}, {{8, 11}}, {{8, 14}}, {{9, 10}}, {{9, 15}}, {{10, 11}}, {{10, 12}}, {{11, 13}}, {{12, 13}}, {{12, 15}}, {{13, 14}}, {{14, 15}}}, {{{91355, 40674}, Rule[VertexLabel, \"1\"]}, {{66913, 74314}, Rule[VertexLabel, \"12\"]}, {{30902, 95106}, Rule[VertexLabel, \"1345\"]}, {{-10453, 99452}, Rule[VertexLabel, \"123\"]}, {{-50000, 86603}, Rule[VertexLabel, \"145\"]}, {{-80902, 58779}, Rule[VertexLabel, \"1245\"]}, {{-97815, 20791}, Rule[VertexLabel, \"13\"]}, {{-97815, -20791}, Rule[VertexLabel, \"1234\"]}, {{-80902, -58779}, Rule[VertexLabel, \"15\"]}, {{-50000, -86603}, Rule[VertexLabel, \"125\"]}, {{-10453, -99452}, Rule[VertexLabel, \"134\"]}, {{30902, -95106}, Rule[VertexLabel, \"1235\"]}, {{66913, -74314}, Rule[VertexLabel, \"14\"]}, {{91355, -40674}, Rule[VertexLabel, \"124\"]}, {{100000, 0}, Rule[VertexLabel, \"135\"]}}], {{{1, 2}, {2, 3}, {3, 5}, {5, 4}, {4, 7}, {7, 6}, {6, 10}, {10, 11}, {11, 8}, {8, 14}, {14, 13}, {13, 12}, {12, 15}, {15, 9}, {9, 1}}}, {RGBColor[1, 0, 0]}], Rule[PlotRange, Large[10000]]]", "msgs": [], "secs": 15.29, "tmo": 120} +{"i": 55, "in": "HoldComplete[Length[HamiltonianCycle[g, All]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 121.475, "tmo": 120} +{"i": 56, "in": "HoldComplete[StirlingSecond[100, 50]]", "status": "ok", "out": "430983237009366340421514301547258695943520289614340613912441741131280319058853783145598261659992013900", "msgs": [], "secs": 0.061, "tmo": 120} +{"i": 57, "in": "HoldComplete[Table[Timing[StirlingS2[100*i, 50*i]; ]/Timing[StirlingSecond[100*i, 50*i]; ], {i, 2, 7}]]", "status": "ok", "out": "{{1366, 1}, {2111, 1}, {3035, 1}, {3856, 1}, {5048, 1}, {6345, 1}}", "msgs": [], "secs": 2.55, "tmo": 120} +{"i": 58, "in": "HoldComplete[c = VertexColoring[g = Wheel[20]]]", "status": "ok", "out": "{1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 4, 3}", "msgs": [], "secs": 0.682, "tmo": 120} +{"i": 59, "in": "HoldComplete[ShowGraph[Highlight[g, Table[Flatten[Position[c, i]], {i, Max[c]}]]]]", "status": "ok", "out": "", "msgs": [], "secs": 3.624, "tmo": 120} +{"i": 60, "in": "HoldComplete[g = GraphProduct[GridGraph[2, 2], Cycle[5]]; , Null, ShowGraph[g, VertexColor -> LightBlue, EdgeColor -> Yellow, Background -> Black]]", "status": "ok", "out": "", "msgs": [], "secs": 3.252, "tmo": 120} +{"i": 61, "in": "HoldComplete[g = GridGraph[3, 3]; , Null, ShowGraph[g, VertexStyle -> Disc[Large], VertexNumber -> Center, VertexNumberColor -> Yellow, Background -> Yellow]]", "status": "ok", "out": "", "msgs": [], "secs": 1.215, "tmo": 120} +{"i": 62, "in": "HoldComplete[g = InduceSubgraph[GridGraph[10, 10], RandomSubset[Range[100]]]; , Null, m = BipartiteMatching[g]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 121.376, "tmo": 120} +{"i": 63, "in": "HoldComplete[ShowGraph[Highlight[g, {m}, {Red}], Background -> LightBlue]]", "status": "ok", "out": "ShowGraph[Highlight[Graph[{{{2, 3}}, {{11, 12}}, {{12, 13}}, {{14, 15}}, {{17, 18}}, {{19, 20}}, {{21, 22}}, {{22, 23}}, {{23, 24}}, {{25, 26}}, {{28, 29}}, {{29, 30}}, {{36, 37}}, {{37, 38}}, {{38, 39}}, {{39, 40}}, {{40, 41}}, {{41, 42}}, {{42, 43}}, {{43, 44}}, {{45, 46}}, {{46, 47}}, {{48, 49}}, {{50, 51}}, {{53, 54}}, {{54, 55}}, {{55, 56}}, {{1, 6}}, {{2, 7}}, {{4, 9}}, {{5, 10}}, {{7, 12}}, {{9, 15}}, {{11, 18}}, {{14, 19}}, {{15, 20}}, {{16, 21}}, {{17, 24}}, {{20, 27}}, {{21, 28}}, {{22, 29}}, {{23, 30}}, {{26, 32}}, {{29, 33}}, {{31, 34}}, {{33, 36}}, {{34, 40}}, {{35, 44}}, {{38, 45}}, {{39, 46}}, {{40, 47}}, {{42, 48}}, {{43, 49}}, {{45, 52}}, {{48, 54}}, {{49, 55}}}, {{{400000, 100000}}, {{600000, 100000}}, {{700000, 100000}}, {{1000000, 100000}}, {{200000, 200000}}, {{400000, 200000}}, {{600000, 200000}}, {{800000, 200000}}, {{1000000, 200000}}, {{200000, 300000}}, {{500000, 300000}}, {{600000, 300000}}, {{700000, 300000}}, {{900000, 300000}}, {{1000000, 300000}}, {{100000, 400000}}, {{400000, 400000}}, {{500000, 400000}}, {{900000, 400000}}, {{1000000, 400000}}, {{100000, 500000}}, {{200000, 500000}}, {{300000, 500000}}, {{400000, 500000}}, {{700000, 500000}}, {{800000, 500000}}, {{1000000, 500000}}, {{100000, 600000}}, {{200000, 600000}}, {{300000, 600000}}, {{600000, 600000}}, {{800000, 600000}}, {{200000, 700000}}, {{600000, 700000}}, {{1000000, 700000}}, {{200000, 800000}}, {{300000, 800000}}, {{400000, 800000}}, {{500000, 800000}}, {{600000, 800000}}, {{700000, 800000}}, {{800000, 800000}}, {{900000, 800000}}, {{1000000, 800000}}, {{400000, 900000}}, {{500000, 900000}}, {{600000, 900000}}, {{800000, 900000}}, {{900000, 900000}}, {{100000, 1000000}}, {{200000, 1000000}}, {{400000, 1000000}}, {{700000, 1000000}}, {{800000, 1000000}}, {{900000, 1000000}}, {{1000000, 1000000}}}], {m}, {RGBColor[1, 0, 0]}], Rule[Background, RGBColor[87000, 94000, 1]]]", "msgs": [], "secs": 0.116, "tmo": 120} +{"i": 64, "in": "HoldComplete[ShowGraph[g = Hypercube[5], VertexColor -> Red]]", "status": "ok", "out": "", "msgs": [], "secs": 6.59, "tmo": 120} +{"i": 65, "in": "HoldComplete[ShowGraph[g, VertexColor -> Red, PlotRange -> Zoom[{1, 2, 3, 4}]]]", "status": "ok", "out": "", "msgs": [], "secs": 5.842, "tmo": 120} +{"i": 66, "in": "HoldComplete[ShowGraphArray[Partition[l = Union[(CirculantGraph[9, #1] & ) /@ Subsets[8]], 4, 4]]]", "status": "ok", "out": "DiscreteMath`CombinatoricaV201`Private`GraphicsArray[{{ShowGraph[Graph[{}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 2}}, {{1, 9}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 3}}, {{1, 8}}, {{2, 4}}, {{2, 9}}, {{3, 5}}, {{4, 6}}, {{5, 7}}, {{6, 8}}, {{7, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 4}}, {{1, 7}}, {{2, 5}}, {{2, 8}}, {{3, 6}}, {{3, 9}}, {{4, 7}}, {{5, 8}}, {{6, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics]}, {ShowGraph[Graph[{{{1, 5}}, {{1, 6}}, {{2, 6}}, {{2, 7}}, {{3, 7}}, {{3, 8}}, {{4, 8}}, {{4, 9}}, {{5, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 2}}, {{1, 3}}, {{1, 8}}, {{1, 9}}, {{2, 3}}, {{2, 4}}, {{2, 9}}, {{3, 4}}, {{3, 5}}, {{4, 5}}, {{4, 6}}, {{5, 6}}, {{5, 7}}, {{6, 7}}, {{6, 8}}, {{7, 8}}, {{7, 9}}, {{8, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 2}}, {{1, 4}}, {{1, 7}}, {{1, 9}}, {{2, 3}}, {{2, 5}}, {{2, 8}}, {{3, 4}}, {{3, 6}}, {{3, 9}}, {{4, 5}}, {{4, 7}}, {{5, 6}}, {{5, 8}}, {{6, 7}}, {{6, 9}}, {{7, 8}}, {{8, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 2}}, {{1, 5}}, {{1, 6}}, {{1, 9}}, {{2, 3}}, {{2, 6}}, {{2, 7}}, {{3, 4}}, {{3, 7}}, {{3, 8}}, {{4, 5}}, {{4, 8}}, {{4, 9}}, {{5, 6}}, {{5, 9}}, {{6, 7}}, {{7, 8}}, {{8, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics]}, {ShowGraph[Graph[{{{1, 3}}, {{1, 4}}, {{1, 7}}, {{1, 8}}, {{2, 4}}, {{2, 5}}, {{2, 8}}, {{2, 9}}, {{3, 5}}, {{3, 6}}, {{3, 9}}, {{4, 6}}, {{4, 7}}, {{5, 7}}, {{5, 8}}, {{6, 8}}, {{6, 9}}, {{7, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 3}}, {{1, 5}}, {{1, 6}}, {{1, 8}}, {{2, 4}}, {{2, 6}}, {{2, 7}}, {{2, 9}}, {{3, 5}}, {{3, 7}}, {{3, 8}}, {{4, 6}}, {{4, 8}}, {{4, 9}}, {{5, 7}}, {{5, 9}}, {{6, 8}}, {{7, 9}}}, {{{76604, 64279}}, {{17365, 98481}}, {{-50000, 86603}}, {{-93969, 34202}}, {{-93969, -34202}}, {{-50000, -86603}}, {{17365, -98481}}, {{76604, -64279}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 4}}, {{1, 5}}, {{1, 6}}, {{1, 7}}, {{2, 5}}, {{2, 6}}, {{2, 7}}, {{2, 8}}, {{3, 6}}, {{3, 7}}, {{3, 8}}, {{3, 9}}, {{4, 7}}, {{4, 8}}, {{4, 9}}, {{5, 8}}, {{5, 9}}, {{6, 9}}}, {{{76604, 64279}}, {{17365, 984...", "msgs": [], "secs": 36.031, "tmo": 120} +{"i": 67, "in": "HoldComplete[g = Star[7]; ShowGraph[g, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 0.66, "tmo": 120} +{"i": 68, "in": "HoldComplete[ShowGraph[AddEdges[g, {{1, 7}, {1, 1}, {6, 7}, {7, 6}}]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.131, "tmo": 120} +{"i": 69, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Path[300]; ], Timing[Path[300]; ]}]", "status": "ok", "out": "{{9, Null}, {25674, Null}}", "msgs": [], "secs": 0.266, "tmo": 120} +{"i": 70, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomTree[200]; ], Timing[RandomTree[200]; ]}]", "status": "ok", "out": "{{9, Null}, {1122866, Null}}", "msgs": [], "secs": 11.238, "tmo": 120} +{"i": 71, "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ], Timing[GridGraph[30, 30]; ]}]", "status": "ok", "out": "{{8, Null}, {468959, Null}}", "msgs": [], "secs": 4.699, "tmo": 120} +{"i": 72, "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; Timing[DiscreteMath`OldCombinatorica`ToAdjacencyLists[g]; ]]", "status": "ok", "out": "{23, Null}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 73, "in": "HoldComplete[g = GridGraph[30, 30]; Timing[ToAdjacencyLists[g]; ]]", "status": "ok", "out": "{462438, Null}", "msgs": [], "secs": 12.675, "tmo": 120} +{"i": 74, "in": "HoldComplete[g = SetEdgeWeights[GridGraph[30, 30]]; Timing[MinimumSpanningTree[g]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.002, "tmo": 120} +{"i": 75, "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[20, 20]; Timing[DiscreteMath`OldCombinatorica`MinimumSpanningTree[g]; ]]", "status": "ok", "out": "{18, Null}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 76, "in": "HoldComplete[g = GridGraph[100, 100]; h = InduceSubgraph[g, RandomSubset[Range[10000]]]; ]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.002, "tmo": 120} +{"i": 77, "in": "HoldComplete[{V[h], M[h]}]", "status": "ok", "out": "{400, 760}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 78, "in": "HoldComplete[ShowGraph[h, VertexStyle -> Disc[0]]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} +{"i": 79, "in": "HoldComplete[Timing[c = ConnectedComponents[h]; ]]", "status": "aborted", "out": "$Aborted", "msgs": ["$RecursionLimit::reclim: Recursion depth of 512 exceeded."], "secs": 3.561, "tmo": 120} +{"i": 80, "in": "HoldComplete[Length[c]]", "status": "ok", "out": "20", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 81, "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`RandomGraph[100, 0.3]; Timing[DiscreteMath`OldCombinatorica`LineGraph[g]; ]]", "status": "ok", "out": "{18, Null}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 82, "in": "HoldComplete[g = RandomGraph[100, 0.3]; Timing[LineGraph[g]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.006, "tmo": 120} +{"i": 83, "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`Wheel[200]; Timing[DiscreteMath`OldCombinatorica`VertexColoring[g]; ]]", "status": "ok", "out": "{23, Null}", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 84, "in": "HoldComplete[g = Wheel[200]; Timing[VertexColoring[g]; ]]", "status": "ok", "out": "{3258857, Null}", "msgs": [], "secs": 33.109, "tmo": 120} +{"i": 85, "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`LexicographicPermutations[Range[8]]; ]]", "status": "ok", "out": "{44, Null}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 86, "in": "HoldComplete[Timing[LexicographicPermutations[8]; ]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.002, "tmo": 120} +{"i": 87, "in": "HoldComplete[p = DiscreteMath`Permutations`RandomPermutation[1000]; Timing[DiscreteMath`Permutations`ToCycles[p]; ]]", "status": "ok", "out": "{24, Null}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 88, "in": "HoldComplete[p = RandomPermutation[1000]; Timing[ToCycles[p]; ]]", "status": "ok", "out": "{832912, Null}", "msgs": [], "secs": 13.731, "tmo": 120} +{"i": 89, "in": "HoldComplete[p = RandomPermutation[5000]; {Timing[Signature[p]; ], Timing[SignaturePermutation[p]; ]}]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.002, "tmo": 120} +{"i": 90, "in": "HoldComplete[Information[\"AddEdges\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"AddEdges[g, edgeList] gives graph g with the new edges in edgeList added. edgeList can have the form {a, b} to add a single edge {a, b} or the form {{a, b}, {c, d}, ...}, to add edges {a, b}, {c, d}, ... or the form { {{a, b}, x}, {{c, d}, y}, ...}, where x and y can specify graphics information associated with {a, b} and {c, d}, respectively.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`AddEdges\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.021, "tmo": 120} +{"i": 91, "in": "HoldComplete[g = Wheel[10]; ShowGraph[g, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.369, "tmo": 120} +{"i": 92, "in": "HoldComplete[ShowGraph[g = AddEdges[g, {{{2, 10}, EdgeColor -> Red, EdgeStyle -> Fat}}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.616, "tmo": 120} +{"i": 93, "in": "HoldComplete[ShowGraph[g = AddEdges[g, {3, 1}], VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.648, "tmo": 120} +{"i": 94, "in": "HoldComplete[Information[\"BreadthFirstTraversal\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"BreadthFirstTraversal[g, v] performs a breadth-first traversal of graph g starting from vertex v, and gives the breadth-first numbers of the vertices. BreadthFirstTraversal[g, v, Edge] returns the edges of the graph that are traversed by breadth-first traversal. BreadthFirstTraversal[g, v, Tree] returns the breadth-first search tree. BreadthFirstTraversal[g, v, Level] returns the level number of the vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`BreadthFirstTraversal\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 95, "in": "HoldComplete[Information[\"DiscreteMath`OldCombinatorica`BreadthFirstTraversal\", LongForm -> False]]", "status": "ok", "out": "Missing[UnknownSymbol, \"DiscreteMath`OldCombinatorica`BreadthFirstTraversal\"]", "msgs": [], "secs": 0.014, "tmo": 120} +{"i": 96, "in": "HoldComplete[g = GridGraph[5, 5]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.27, "tmo": 120} +{"i": 97, "in": "HoldComplete[BreadthFirstTraversal[g, 1]]", "status": "ok", "out": "{1, 2, 4, 7, 11, 3, 5, 8, 12, 16, 6, 9, 13, 17, 20, 10, 14, 18, 21, 23, 15, 19, 22, 24, 25}", "msgs": [], "secs": 0.344, "tmo": 120} +{"i": 98, "in": "HoldComplete[e = BreadthFirstTraversal[g, 1, Edge]]", "status": "ok", "out": "{{1, 2}, {1, 6}, {2, 3}, {2, 7}, {6, 11}, {3, 4}, {3, 8}, {7, 12}, {11, 16}, {4, 5}, {4, 9}, {8, 13}, {12, 17}, {16, 21}, {5, 10}, {9, 14}, {13, 18}, {17, 22}, {10, 15}, {14, 19}, {18, 23}, {15, 20}, {19, 24}, {20, 25}}", "msgs": [], "secs": 0.448, "tmo": 120} +{"i": 99, "in": "HoldComplete[ShowGraph[Highlight[g, {e}, {HotPink}]]]", "status": "ok", "out": "ShowGraph[Highlight[Graph[{{{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{9, 10}}, {{11, 12}}, {{12, 13}}, {{13, 14}}, {{14, 15}}, {{16, 17}}, {{17, 18}}, {{18, 19}}, {{19, 20}}, {{21, 22}}, {{22, 23}}, {{23, 24}}, {{24, 25}}, {{1, 6}}, {{2, 7}}, {{3, 8}}, {{4, 9}}, {{5, 10}}, {{6, 11}}, {{7, 12}}, {{8, 13}}, {{9, 14}}, {{10, 15}}, {{11, 16}}, {{12, 17}}, {{13, 18}}, {{14, 19}}, {{15, 20}}, {{16, 21}}, {{17, 22}}, {{18, 23}}, {{19, 24}}, {{20, 25}}}, {{{100000, 100000}}, {{200000, 100000}}, {{300000, 100000}}, {{400000, 100000}}, {{500000, 100000}}, {{100000, 200000}}, {{200000, 200000}}, {{300000, 200000}}, {{400000, 200000}}, {{500000, 200000}}, {{100000, 300000}}, {{200000, 300000}}, {{300000, 300000}}, {{400000, 300000}}, {{500000, 300000}}, {{100000, 400000}}, {{200000, 400000}}, {{300000, 400000}}, {{400000, 400000}}, {{500000, 400000}}, {{100000, 500000}}, {{200000, 500000}}, {{300000, 500000}}, {{400000, 500000}}, {{500000, 500000}}}], {{{1, 2}, {1, 6}, {2, 3}, {2, 7}, {6, 11}, {3, 4}, {3, 8}, {7, 12}, {11, 16}, {4, 5}, {4, 9}, {8, 13}, {12, 17}, {16, 21}, {5, 10}, {9, 14}, {13, 18}, {17, 22}, {10, 15}, {14, 19}, {18, 23}, {15, 20}, {19, 24}, {20, 25}}}, {HotPink}]]", "msgs": [], "secs": 0.062, "tmo": 120} +{"i": 100, "in": "HoldComplete[ShowGraphArray[{g, BreadthFirstTraversal[g, 1, Tree]}]]", "status": "ok", "out": "DiscreteMath`CombinatoricaV201`Private`GraphicsArray[{{ShowGraph[Graph[{{{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{9, 10}}, {{11, 12}}, {{12, 13}}, {{13, 14}}, {{14, 15}}, {{16, 17}}, {{17, 18}}, {{18, 19}}, {{19, 20}}, {{21, 22}}, {{22, 23}}, {{23, 24}}, {{24, 25}}, {{1, 6}}, {{2, 7}}, {{3, 8}}, {{4, 9}}, {{5, 10}}, {{6, 11}}, {{7, 12}}, {{8, 13}}, {{9, 14}}, {{10, 15}}, {{11, 16}}, {{12, 17}}, {{13, 18}}, {{14, 19}}, {{15, 20}}, {{16, 21}}, {{17, 22}}, {{18, 23}}, {{19, 24}}, {{20, 25}}}, {{{100000, 100000}}, {{200000, 100000}}, {{300000, 100000}}, {{400000, 100000}}, {{500000, 100000}}, {{100000, 200000}}, {{200000, 200000}}, {{300000, 200000}}, {{400000, 200000}}, {{500000, 200000}}, {{100000, 300000}}, {{200000, 300000}}, {{300000, 300000}}, {{400000, 300000}}, {{500000, 300000}}, {{100000, 400000}}, {{200000, 400000}}, {{300000, 400000}}, {{400000, 400000}}, {{500000, 400000}}, {{100000, 500000}}, {{200000, 500000}}, {{300000, 500000}}, {{400000, 500000}}, {{500000, 500000}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{1, 6}}, {{2, 7}}, {{3, 8}}, {{4, 9}}, {{5, 10}}, {{6, 11}}, {{7, 12}}, {{8, 13}}, {{9, 14}}, {{10, 15}}, {{11, 16}}, {{12, 17}}, {{13, 18}}, {{14, 19}}, {{15, 20}}, {{16, 21}}, {{17, 22}}, {{18, 23}}, {{19, 24}}, {{20, 25}}}, {{{100000, 100000}}, {{200000, 100000}}, {{300000, 100000}}, {{400000, 100000}}, {{500000, 100000}}, {{100000, 200000}}, {{200000, 200000}}, {{300000, 200000}}, {{400000, 200000}}, {{500000, 200000}}, {{100000, 300000}}, {{200000, 300000}}, {{300000, 300000}}, {{400000, 300000}}, {{500000, 300000}}, {{100000, 400000}}, {{200000, 400000}}, {{300000, 400000}}, {{400000, 400000}}, {{500000, 400000}}, {{100000, 500000}}, {{200000, 500000}}, {{300000, 500000}}, {{400000, 500000}}, {{500000, 500000}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics]}}, Rule[DiscreteMath`CombinatoricaV201`Private`GraphicsSpacing, 10000], Rule[AlignmentPoint, Center], Rule[AspectRatio, Automatic], Rule[Axes, False], Rule[AxesLabel, None], Rule[AxesOrigin, Automatic], Rule[AxesStyle, {}], Rule[Background, Automatic], Rule[BaseStyle, {}], Rule[BaselinePosition, Automatic], Rule[ContentSelectable, Automatic], Rule[CoordinatesToolOptions, Automatic], Rule[Epilog, {}], Rule[FormatType, TraditionalForm], Rule[Frame, False], Rule[FrameLabel, None], Rule[FrameStyle, {}], Rule[FrameTicks, Automatic], Rule[FrameTicksStyle, {}], Rule[GridLines, None], Rule[GridLinesStyle, {}], Rule[ImageMargins, 0], Rule[ImagePadding, All], Rule[ImageSize, Automatic], Rule[LabelStyle, {}], Rule[LogPlot, False], Rule[Method, Automatic], Rule[PlotLabel, None], Rule[PlotRange, Automatic], Rule[PlotRangeClipping, False], Rule[PlotRangePadding, Automatic], Rule[PlotRegion, Automatic], Rule[PreserveImageOptions, Automatic], Rule[Prolog, {}], Rule[RotateLabel, True], Rule[Ticks, Automatic], Rule[TicksStyle, {}]]", "msgs": [], "secs": 0.65, "tmo": 120} +{"i": 101, "in": "HoldComplete[BreadthFirstTraversal[g, 1, Level]]", "status": "ok", "out": "{0, 1, 2, 3, 4, 1, 2, 3, 4, 5, 2, 3, 4, 5, 6, 3, 4, 5, 6, 7, 4, 5, 6, 7, 8}", "msgs": [], "secs": 0.335, "tmo": 120} +{"i": 102, "in": "HoldComplete[Information[\"CompleteGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"CompleteGraph[n] creates a complete graph on n vertices. An option Type that takes on the values Directed or Undirected is allowed. The default setting for this option is Type -> Undirected. CompleteGraph[a, b, c,...] creates a complete k-partite graph of the prescribed shape. The use of CompleteGraph to create a complete k-partite graph is obsolete; use CompleteKPartiteGraph instead.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`CompleteGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 103, "in": "HoldComplete[ShowGraph[CompleteGraph[5, Type -> Directed]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.245, "tmo": 120} +{"i": 104, "in": "HoldComplete[SetOptions[CompleteGraph, Type -> Directed]]", "status": "ok", "out": "{Rule[Type, Directed]}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 105, "in": "HoldComplete[ShowGraph[CompleteGraph[5]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.267, "tmo": 120} +{"i": 106, "in": "HoldComplete[g = AddEdges[Star[5], {{1, 5}, {2, 2}}]]", "status": "ok", "out": "Graph[{{{1, 5}}, {{2, 5}}, {{3, 5}}, {{4, 5}}, {{1, 5}}, {{2, 2}}}, {{{0, 100000}}, {{-100000, 0}}, {{0, -100000}}, {{100000, 0}}, {{0, 0}}}]", "msgs": [], "secs": 0.055, "tmo": 120} +{"i": 107, "in": "HoldComplete[ShowGraph[g]]", "status": "ok", "out": "", "msgs": [], "secs": 0.739, "tmo": 120} +{"i": 108, "in": "HoldComplete[ToAdjacencyLists[g]]", "status": "ok", "out": "{{5, 5}, {2, 5}, {5}, {5}, {1, 1, 2, 3, 4}}", "msgs": [], "secs": 0.045, "tmo": 120} +{"i": 109, "in": "HoldComplete[ToAdjacencyLists[g, Type -> Simple]]", "status": "ok", "out": "{{5}, {5}, {5}, {5}, {1, 2, 3, 4}}", "msgs": [], "secs": 0.056, "tmo": 120} +{"i": 110, "in": "HoldComplete[Information[\"GridGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"GridGraph[n, m] constructs an n*m grid graph, the product of paths on n and m vertices. GridGraph[p, q, r] constructs a p*q*r grid graph, the product of GridGraph[p, q] and a path of length r.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`GridGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.015, "tmo": 120} +{"i": 111, "in": "HoldComplete[ShowGraph[GridGraph[3, 4, 5]]]", "status": "ok", "out": "", "msgs": [], "secs": 14.753, "tmo": 120} +{"i": 112, "in": "HoldComplete[Information[\"ShuffleExchangeGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ShuffleExchangeGraph[n] returns the n-dimensional shuffle-exchange graph whose vertices are length n binary strings with an edge from w to w' if (i) w' differs from w in its last bit or (ii) w' is obtained from w by a cyclic shift left or a cyclic shift right. An option VertexLabel is provided, with default setting False, which can be set to True, if the user wants to associate the binary strings to the vertices as labels.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ShuffleExchangeGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`VertexLabel, System`False]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 113, "in": "HoldComplete[ShowGraph[ShuffleExchangeGraph[3]]]", "status": "ok", "out": "", "msgs": [], "secs": 1.276, "tmo": 120} +{"i": 114, "in": "HoldComplete[Information[\"ButterflyGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"ButterflyGraph[n] returns the n-dimensional butterfly graph, a directed graph whose vertices are pairs (w, i), where w is a binary string of length n and i is an integer in the range 0 through n and whose edges go from vertex (w, i) to (w', i+1), if w' is identical to w in all bits with the possible exception of the (i+1)th bit. Here bits are counted left to right. An option VertexLabel, with default setting False, is allowed. When this option is set to True, vertices are labeled with strings (w, i).\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`ButterflyGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`VertexLabel, System`False]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 115, "in": "HoldComplete[ShowGraph[ButterflyGraph[3]]]", "status": "ok", "out": "", "msgs": [], "secs": 8.73, "tmo": 120} +{"i": 116, "in": "HoldComplete[Information[\"InversionPoset\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"InversionPoset[n] returns a Hasse diagram of the partially ordered set on size-n permutations in which p < q if q can be obtained from p by an adjacent transposition that places the larger element before the smaller. The function takes two options: Type and VertexLabel, with default values Undirected and False, respectively. When Type is set to Directed, the function produces the underlying directed acyclic graph. When VertexLabel is set to True, labels are produced for the vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`InversionPoset\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected],System`Rule[DiscreteMath`CombinatoricaV201`VertexLabel, System`False]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.018, "tmo": 120} +{"i": 117, "in": "HoldComplete[ShowGraph[InversionPoset[4]]]", "status": "ok", "out": "", "msgs": [], "secs": 70.533, "tmo": 120} +{"i": 118, "in": "HoldComplete[Information[\"BooleanAlgebra\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"BooleanAlgebra[n] gives a Hasse diagram for the Boolean algebra on n elements. The function takes two options: Type and VertexLabel, with default values Undirected and False, respectively. When Type is set to Directed, the function produces the underlying directed acyclic graph. When VertexLabel is set to True, labels are produced for the vertices.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`BooleanAlgebra\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`Type, DiscreteMath`CombinatoricaV201`Undirected],System`Rule[DiscreteMath`CombinatoricaV201`VertexLabel, System`False]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.022, "tmo": 120} +{"i": 119, "in": "HoldComplete[ShowGraph[BooleanAlgebra[4]]]", "status": "ok", "out": "", "msgs": [], "secs": 21.702, "tmo": 120} +{"i": 120, "in": "HoldComplete[Information[\"CageGraph\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"CageGraph[k, r] gives a smallest k-regular graph of girth r for certain small values of k and r. CageGraph[r] gives CageGraph[3, r]. For k = 3, r can be 3, 4, 5, 6, 7, 8, or 10. For k = 4 or 5, r can be 3, 4, 5, or 6.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`CageGraph\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.019, "tmo": 120} +{"i": 121, "in": "HoldComplete[ShowGraphArray[{Table[CageGraph[r], {r, 3, 5}], Table[CageGraph[r], {r, 6, 8}]}]]", "status": "ok", "out": "DiscreteMath`CombinatoricaV201`Private`GraphicsArray[{{ShowGraph[Graph[{{{2, 1}}, {{3, 1}}, {{4, 1}}, {{3, 2}}, {{4, 2}}, {{4, 3}}, {{1, 2}}, {{1, 3}}, {{1, 4}}, {{2, 3}}, {{2, 4}}, {{3, 4}}}, {{{0, 100000}}, {{-100000, 0}}, {{0, -100000}}, {{100000, 0}}}, Rule[EdgeDirection, True]], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 4}}, {{1, 5}}, {{1, 6}}, {{2, 4}}, {{2, 5}}, {{2, 6}}, {{3, 4}}, {{3, 5}}, {{3, 6}}}, {{{100000, -100000}}, {{100000, 0}}, {{100000, 100000}}, {{200000, -100000}}, {{200000, 0}}, {{200000, 100000}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 3}}, {{1, 4}}, {{2, 4}}, {{2, 5}}, {{3, 5}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{9, 10}}, {{6, 10}}, {{1, 6}}, {{2, 7}}, {{3, 8}}, {{4, 9}}, {{5, 10}}}, {{{30902, 95106}}, {{-80902, 58779}}, {{-80902, -58779}}, {{30902, -95106}}, {{100000, 0}}, {{61803, 190211}}, {{-161803, 117557}}, {{-161803, -117557}}, {{61803, -190211}}, {{200000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics]}, {ShowGraph[Graph[{{{1, 2}}, {{1, 6}}, {{1, 14}}, {{2, 3}}, {{2, 11}}, {{3, 4}}, {{3, 8}}, {{4, 5}}, {{4, 13}}, {{5, 6}}, {{5, 10}}, {{6, 7}}, {{7, 8}}, {{7, 12}}, {{8, 9}}, {{9, 10}}, {{9, 14}}, {{10, 11}}, {{11, 12}}, {{12, 13}}, {{13, 14}}}, {{{82624, 56332}}, {{62349, 78183}}, {{7473, 99720}}, {{-22252, 97493}}, {{-73305, 68017}}, {{-90097, 43388}}, {{-98883, -14904}}, {{-90097, -43388}}, {{-50000, -86603}}, {{-22252, -97493}}, {{36534, -93087}}, {{62349, -78183}}, {{95557, -29476}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 2}}, {{1, 8}}, {{1, 24}}, {{2, 3}}, {{2, 19}}, {{3, 4}}, {{3, 15}}, {{4, 5}}, {{4, 11}}, {{5, 6}}, {{5, 22}}, {{6, 7}}, {{6, 18}}, {{7, 8}}, {{7, 14}}, {{8, 9}}, {{9, 10}}, {{9, 21}}, {{10, 11}}, {{10, 17}}, {{11, 12}}, {{12, 13}}, {{12, 24}}, {{13, 14}}, {{13, 20}}, {{14, 15}}, {{15, 16}}, {{16, 17}}, {{16, 23}}, {{17, 18}}, {{18, 19}}, {{19, 20}}, {{20, 21}}, {{21, 22}}, {{22, 23}}, {{23, 24}}}, {{{96593, 25882}}, {{86603, 50000}}, {{70711, 70711}}, {{50000, 86603}}, {{25882, 96593}}, {{0, 100000}}, {{-25882, 96593}}, {{-50000, 86603}}, {{-70711, 70711}}, {{-86603, 50000}}, {{-96593, 25882}}, {{-100000, 0}}, {{-96593, -25882}}, {{-86603, -50000}}, {{-70711, -70711}}, {{-50000, -86603}}, {{-25882, -96593}}, {{0, -100000}}, {{25882, -96593}}, {{50000, -86603}}, {{70711, -70711}}, {{86603, -50000}}, {{96593, -25882}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics], ShowGraph[Graph[{{{1, 2}}, {{1, 8}}, {{1, 30}}, {{2, 3}}, {{2, 25}}, {{3, 4}}, {{3, 12}}, {{4, 5}}, {{4, 17}}, {{5, 6}}, {{5, 22}}, {{6, 7}}, {{6, 27}}, {{7, 8}}, {{7, 14}}, {{8, 9}}, {{9, 10}}, {{9, 18}}, {{10, 11}}, {{10, 23}}, {{11, 12}}, {{11, 28}}, {{12, 13}}, {{13, 14}}, {{13, 20}}, {{14, 15}}, {{15, 16}}, {{15, 24}}, {{16, 17}}, {{16, 29}}, {{17, 18}}, {{18, 19}}, {{19, 20}}, {{19, 26}}, {{20, 21}}, {{21, 22}}, {{21, 30}}, {{22, 23}}, {{23, 24}}, {{24, 25}}, {{25, 26}}, {{26, 27}}, {{27, 28}}, {{28, 29}}, {{29, 30}}}, {{{97815, 20791}}, {{91355, 40674}}, {{80902, 58779}}, {{66913, 74314}}, {{50000, 86603}}, {{30902, 95106}}, {{10453, 99452}}, {{-10453, 99452}}, {{-30902, 95106}}, {{-50000, 86603}}, {{-66913, 74314}}, {{-80902, 58779}}, {{-91355, 40674}}, {{-97815, 20791}}, {{-100000, 0}}, {{-97815, -20791}}, {{-91355, -40674}}, {{-80902, -58779}}, {{-66913, -74314}}, {{-50000, -86603}}, {{-30902, -95106}}, {{-10453, -99452}}, {{10453, -99452}}, {{30902, -95106}}, {{50000, -86603}}, {{66913, -74314}}, {{80902, -58779}}, {{91355, -40674}}, {{97815, -20791}}, {{100000, 0}}}], DiscreteMath`CombinatoricaV201`Private`nopts, Graphics]}}, Rule[DiscreteMath`CombinatoricaV201`Private`GraphicsSpacing, 10000], Rule[AlignmentPoint, Center], Rule[AspectRatio, Automatic], Rule[Axes, False], Rule[AxesLabel, None], Rule[AxesOrigin, Automatic], Rule[AxesStyle, {}], Rule[Background, Automatic], Rule[BaseStyle, {}], Rule[BaselinePosition, Automatic], Rule[...", "msgs": [], "secs": 0.774, "tmo": 120} +{"i": 122, "in": "HoldComplete[Information[\"SetEdgeWeights\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"SetEdgeWeights[g] assigns random real weights in the range [0, 1] to edges in g. SetEdgeWeights accepts options WeightingFunction and WeightRange. WeightingFunction can take values Random, RandomInteger, Euclidean, or LNorm[n] for nonnegative n, or any pure function that takes two arguments, each argument having the form {Integer, {Number, Number}}. WeightRange can be an integer range or a real range. The default value for WeightingFunction is Random and the default value for WeightRange is [0, 1]. SetEdgeWeights[g, e] assigns edge weights to the edges in the edge list e. SetEdgeWeights[g, w] assigns the weights in the weight list w to the edges of g. SetEdgeWeights[g, e, w] assigns the weights in the weight list w to the edges in edge list e.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`SetEdgeWeights\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[DiscreteMath`CombinatoricaV201`WeightingFunction, System`Random],System`Rule[DiscreteMath`CombinatoricaV201`WeightRange, {0,1}]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.021, "tmo": 120} +{"i": 123, "in": "HoldComplete[g = SetEdgeWeights[Wheel[10], WeightingFunction -> RandomInteger, WeightRange -> {3, 5}]; GetEdgeWeights[g]]", "status": "ok", "out": "{4, 4, 3, 5, 4, 4, 5, 5, 4, 4, 5, 3, 4, 4, 3, 3, 5, 4}", "msgs": [], "secs": 0.629, "tmo": 120} +{"i": 124, "in": "HoldComplete[Options[SetEdgeWeights]]", "status": "ok", "out": "{Rule[WeightingFunction, Random], Rule[WeightRange, {0, 1}]}", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 125, "in": "HoldComplete[Information[\"SetOptions\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"set up default option values for a function\", System`FullName \\[Rule] \"System`SetOptions\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 126, "in": "HoldComplete[SetOptions[SetEdgeWeights, WeightingFunction -> RandomInteger, WeightRange -> {0, 1}]]", "status": "ok", "out": "{Rule[WeightingFunction, RandomInteger], Rule[WeightRange, {0, 1}]}", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 127, "in": "HoldComplete[g = SetEdgeWeights[Wheel[10]]; GetEdgeWeights[g]]", "status": "ok", "out": "{0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0}", "msgs": [], "secs": 0.604, "tmo": 120} +{"i": 128, "in": "HoldComplete[Information[\"BellmanFord\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"BellmanFord[g, v] gives a shortest-path spanning tree and associated distances from vertex v of graph g. The shortest-path spanning tree is given by a list in which element i is the predecessor of vertex i in the shortest-path spanning tree. BellmanFord works correctly even when the edge weights are negative, provided there are no negative cycles.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`BellmanFord\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.02, "tmo": 120} +{"i": 129, "in": "HoldComplete[g = AddEdges[Cycle[10, Type -> Directed], {{4, 1}, {6, 1}, {9, 3}}]]", "status": "ok", "out": "Graph[{{{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{6, 7}}, {{7, 8}}, {{8, 9}}, {{9, 10}}, {{10, 1}}, {{4, 1}}, {{6, 1}}, {{9, 3}}}, {{{80902, 58779}}, {{30902, 95106}}, {{-30902, 95106}}, {{-80902, 58779}}, {{-100000, 0}}, {{-80902, -58779}}, {{-30902, -95106}}, {{30902, -95106}}, {{80902, -58779}}, {{100000, 0}}}, Rule[EdgeDirection, True]]", "msgs": [], "secs": 0.102, "tmo": 120} +{"i": 130, "in": "HoldComplete[ShowGraph[g, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 1.065, "tmo": 120} +{"i": 131, "in": "HoldComplete[g = SetEdgeWeights[g, WeightingFunction -> RandomInteger, WeightRange -> {-4, 5}]]", "status": "ok", "out": "Graph[{{{1, 2}, Rule[EdgeWeight, 1]}, {{2, 3}, Rule[EdgeWeight, 4]}, {{3, 4}, Rule[EdgeWeight, 4]}, {{4, 5}, Rule[EdgeWeight, -4]}, {{5, 6}, Rule[EdgeWeight, 2]}, {{6, 7}, Rule[EdgeWeight, 5]}, {{7, 8}, Rule[EdgeWeight, -3]}, {{8, 9}, Rule[EdgeWeight, 2]}, {{9, 10}, Rule[EdgeWeight, 3]}, {{10, 1}, Rule[EdgeWeight, 2]}, {{4, 1}, Rule[EdgeWeight, 0]}, {{6, 1}, Rule[EdgeWeight, -4]}, {{9, 3}, Rule[EdgeWeight, 5]}}, {{{80902, 58779}}, {{30902, 95106}}, {{-30902, 95106}}, {{-80902, 58779}}, {{-100000, 0}}, {{-80902, -58779}}, {{-30902, -95106}}, {{30902, -95106}}, {{80902, -58779}}, {{100000, 0}}}, Rule[EdgeDirection, True]]", "msgs": [], "secs": 0.343, "tmo": 120} +{"i": 132, "in": "HoldComplete[Edges[g, EdgeWeight]]", "status": "ok", "out": "{{{1, 2}, 1}, {{2, 3}, 4}, {{3, 4}, 4}, {{4, 5}, -4}, {{5, 6}, 2}, {{6, 7}, 5}, {{7, 8}, -3}, {{8, 9}, 2}, {{9, 10}, 3}, {{10, 1}, 2}, {{4, 1}, 0}, {{6, 1}, -4}, {{9, 3}, 5}}", "msgs": [], "secs": 0.038, "tmo": 120} +{"i": 133, "in": "HoldComplete[BellmanFord[g, 1]]", "status": "ok", "out": "{{1, 1, 2, 3, 4, 5, 6, 7, 8, 9}, {0, 1, 5, 9, 5, 7, 12, 9, 11, 14}}", "msgs": [], "secs": 3.214, "tmo": 120} +{"i": 134, "in": "HoldComplete[Dijkstra[g, 1]]", "status": "ok", "out": "{{1, 1, 2, 3, 4, 5, 6, 7, 8, 9}, {0, 1, 5, 9, 5, 7, 12, 9, 11, 14}}", "msgs": [], "secs": 0.287, "tmo": 120} +{"i": 135, "in": "HoldComplete[Information[\"TreeIsomorphismQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"TreeIsomorphismQ[t1, t2] yields True if the trees t1 and t2 are isomorphic. It yields False otherwise.\", System`FullName \\[Rule] \"DiscreteMath`CombinatoricaV201`TreeIsomorphismQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.018, "tmo": 120} +{"i": 136, "in": "HoldComplete[g = RandomTree[40]; h = PermuteSubgraph[g, RandomPermutation[40]]]", "status": "ok", "out": "Graph[{{{13, 31}}, {{6, 11}}, {{8, 30}}, {{10, 37}}, {{10, 19}}, {{29, 31}}, {{27, 29}}, {{26, 27}}, {{3, 24}}, {{2, 19}}, {{17, 24}}, {{8, 36}}, {{8, 28}}, {{4, 5}}, {{15, 18}}, {{16, 23}}, {{14, 40}}, {{22, 40}}, {{11, 22}}, {{11, 21}}, {{20, 34}}, {{12, 20}}, {{12, 33}}, {{33, 35}}, {{35, 38}}, {{24, 38}}, {{4, 24}}, {{4, 7}}, {{7, 21}}, {{7, 18}}, {{9, 28}}, {{1, 9}}, {{2, 39}}, {{2, 23}}, {{1, 23}}, {{1, 18}}, {{18, 32}}, {{26, 32}}, {{25, 26}}}, {{{0, 0}}, {{432434, 179916}}, {{348735, 348735}}, {{787406, 392045}}, {{832053, 197363}}, {{-200000, 0}}, {{880070, 429640}}, {{676573, 393294}}, {{590915, 341325}}, {{428070, 409611}}, {{632244, 188639}}, {{-300000, 0}}, {{972734, 467236}}, {{732149, 193001}}, {{50000, 86603}}, {{509415, 279258}}, {{532339, 184278}}, {{603133, 314143}}, {{136603, 136603}}, {{501228, 297096}}, {{-100000, 0}}, {{602615, 315502}}, {{409611, 428070}}, {{233195, 162484}}, {{507745, 283289}}, {{332815, 171200}}, {{588901, 345195}}, {{416214, 243015}}, {{329788, 188366}}, {{602078, 316854}}, {{50000, 186603}}, {{764246, 441393}}, {{694742, 354449}}, {{207313, 207313}}, {{1065397, 504831}}, {{323826, 204746}}, {{412527, 250921}}, {{278024, 278024}}, {{50000, -86603}}, {{531579, 192968}}}]", "msgs": [], "secs": 1.918, "tmo": 120} +{"i": 137, "in": "HoldComplete[TreeIsomorphismQ[g, h]]", "status": "ok", "out": "True", "msgs": [], "secs": 8.787, "tmo": 120} +{"i": 138, "in": "HoldComplete[IsomorphicQ[g, h]]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.003, "tmo": 120} +{"i": 139, "in": "HoldComplete[{Timing[TreeIsomorphismQ[g, h]; ], Timing[IsomorphicQ[g, h]; ]}]", "status": "timeout", "out": "$Aborted", "msgs": ["General::timeout: Timeout reached."], "secs": 120.004, "tmo": 120} diff --git a/book/mathics/tutorial.jsonl b/book/mathics/tutorial.jsonl new file mode 100644 index 0000000..79a076f --- /dev/null +++ b/book/mathics/tutorial.jsonl @@ -0,0 +1,61 @@ +{"i": 1, "in": "HoldComplete[BFS[g_Graph, start_Integer] := Module[{e = ToAdjacencyLists[g], bfi = Table[0, {V[g]}], cnt = 1, queue = {start}, parent = Table[i, {i, V[g]}], lvl = Table[Infinity, {V[g]}]}, bfi[[start]] = cnt++; lvl[[start]] = 0; While[queue != {}, {v, queue} = {First[queue], Rest[queue]}; Scan[If[bfi[[#1]] == 0, bfi[[#1]] = cnt++; parent[[#1]] = v; lvl[[#1]] = lvl[[v]] + 1; AppendTo[queue, #1]] & , e[[v]]]]; {bfi, parent, lvl}] /; 1 <= start && start <= V[g]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 2, "in": "HoldComplete[g = Wheel[7]]", "status": "ok", "out": "Graph[{{{1, 7}}, {{2, 7}}, {{3, 7}}, {{4, 7}}, {{5, 7}}, {{6, 7}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{1, 6}}}, {{{50000, 86603}}, {{-50000, 86603}}, {{-100000, 0}}, {{-50000, -86603}}, {{50000, -86603}}, {{100000, 0}}, {{0, 0}}}]", "msgs": [], "secs": 0.044, "tmo": 120} +{"i": 3, "in": "HoldComplete[ShowGraph[g, VertexNumber -> On]]", "status": "ok", "out": "", "msgs": [], "secs": 0.88, "tmo": 120} +{"i": 4, "in": "HoldComplete[BFS[g, 1]]", "status": "ok", "out": "{{1, 2, 5, 7, 6, 3, 4}, {1, 1, 2, 7, 6, 1, 1}, {0, 1, 2, 2, 2, 1, 1}}", "msgs": [], "secs": 0.118, "tmo": 120} +{"i": 5, "in": "HoldComplete[F[x_] := x^2]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 6, "in": "HoldComplete[F[10]]", "status": "ok", "out": "100", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 7, "in": "HoldComplete[G[y_Integer] := y^2]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 8, "in": "HoldComplete[G[10]]", "status": "ok", "out": "100", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 9, "in": "HoldComplete[G[10.1]]", "status": "ok", "out": "1020100000000", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 10, "in": "HoldComplete[F[10.1]]", "status": "ok", "out": "10201000", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 11, "in": "HoldComplete[BFS[10, 10]]", "status": "ok", "out": "BFS[10, 10]", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 12, "in": "HoldComplete[BFS[g, 10.1]]", "status": "ok", "out": "BFS[Graph[{{{1, 7}}, {{2, 7}}, {{3, 7}}, {{4, 7}}, {{5, 7}}, {{6, 7}}, {{1, 2}}, {{2, 3}}, {{3, 4}}, {{4, 5}}, {{5, 6}}, {{1, 6}}}, {{{50000, 86603}}, {{-50000, 86603}}, {{-100000, 0}}, {{-50000, -86603}}, {{50000, -86603}}, {{100000, 0}}, {{0, 0}}}], 1010000]", "msgs": [], "secs": 0.018, "tmo": 120} +{"i": 13, "in": "HoldComplete[Information[\"Module\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"Local variable specification contains `1`, which is not a symbol or an assignment to a symbol.\", System`FullName \\[Rule] \"System`Module\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 14, "in": "HoldComplete[Module[{i, j}, i = 10; j = 20]]", "status": "ok", "out": "20", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 15, "in": "HoldComplete[i]", "status": "ok", "out": "i", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 16, "in": "HoldComplete[j]", "status": "ok", "out": "j", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 17, "in": "HoldComplete[Information[\"Table\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"make a table of values of an expression\", System`FullName \\[Rule] \"System`Table\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 18, "in": "HoldComplete[Table[1, {10}]]", "status": "ok", "out": "{1, 1, 1, 1, 1, 1, 1, 1, 1, 1}", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 19, "in": "HoldComplete[Table[1, {i, 10}]]", "status": "ok", "out": "{1, 1, 1, 1, 1, 1, 1, 1, 1, 1}", "msgs": [], "secs": 0.01, "tmo": 120} +{"i": 20, "in": "HoldComplete[Table[i, {i, 10}]]", "status": "ok", "out": "{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 21, "in": "HoldComplete[Table[i, {i, 3, 10}]]", "status": "ok", "out": "{3, 4, 5, 6, 7, 8, 9, 10}", "msgs": [], "secs": 0.008, "tmo": 120} +{"i": 22, "in": "HoldComplete[Table[i*j, {i, 10}, {j, 10}]]", "status": "ok", "out": "{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, {2, 4, 6, 8, 10, 12, 14, 16, 18, 20}, {3, 6, 9, 12, 15, 18, 21, 24, 27, 30}, {4, 8, 12, 16, 20, 24, 28, 32, 36, 40}, {5, 10, 15, 20, 25, 30, 35, 40, 45, 50}, {6, 12, 18, 24, 30, 36, 42, 48, 54, 60}, {7, 14, 21, 28, 35, 42, 49, 56, 63, 70}, {8, 16, 24, 32, 40, 48, 56, 64, 72, 80}, {9, 18, 27, 36, 45, 54, 63, 72, 81, 90}, {10, 20, 30, 40, 50, 60, 70, 80, 90, 100}}", "msgs": [], "secs": 0.064, "tmo": 120} +{"i": 23, "in": "HoldComplete[t = Table[i*j, {i, 10}, {j, 1, i}]]", "status": "ok", "out": "{{1}, {2, 4}, {3, 6, 9}, {4, 8, 12, 16}, {5, 10, 15, 20, 25}, {6, 12, 18, 24, 30, 36}, {7, 14, 21, 28, 35, 42, 49}, {8, 16, 24, 32, 40, 48, 56, 64}, {9, 18, 27, 36, 45, 54, 63, 72, 81}, {10, 20, 30, 40, 50, 60, 70, 80, 90, 100}}", "msgs": [], "secs": 0.049, "tmo": 120} +{"i": 24, "in": "PARSEFAIL:BoxData[RowBox[{\"t\", \"//\", \"ColumnForm\"}]]", "status": "ok", "out": "BoxData[RowBox[{\"t\", \"//\", \"ColumnForm\"}]]", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 25, "in": "HoldComplete[e = ToAdjacencyLists[g]]", "status": "ok", "out": "{{2, 6, 7}, {1, 3, 7}, {2, 4, 7}, {3, 5, 7}, {4, 6, 7}, {1, 5, 7}, {1, 2, 3, 4, 5, 6}}", "msgs": [], "secs": 0.056, "tmo": 120} +{"i": 26, "in": "HoldComplete[l = Range[10]]", "status": "ok", "out": "{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 27, "in": "HoldComplete[l[[{2, 5, 6}]] = {-1, -2, -3}]", "status": "ok", "out": "{-1, -2, -3}", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 28, "in": "HoldComplete[l]", "status": "ok", "out": "{1, -1, 3, 4, -2, -3, 7, 8, 9, 10}", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 29, "in": "HoldComplete[Information[\"While\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"evaluate an expression while a criterion is true\", System`FullName \\[Rule] \"System`While\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 30, "in": "HoldComplete[sum = 0]", "status": "ok", "out": "0", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 31, "in": "HoldComplete[i = 0]", "status": "ok", "out": "0", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 32, "in": "HoldComplete[While[i < 10, sum = sum + 10; i++]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.011, "tmo": 120} +{"i": 33, "in": "HoldComplete[sum]", "status": "ok", "out": "100", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 34, "in": "HoldComplete[Information[\"Do\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"evaluate an expression looping over a variable\", System`FullName \\[Rule] \"System`Do\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 35, "in": "HoldComplete[Information[\"For\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"a 'For' loop\", System`FullName \\[Rule] \"System`For\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 36, "in": "HoldComplete[l = {1, 3, 8, -1, 11, 12}]", "status": "ok", "out": "{1, 3, 8, -1, 11, 12}", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 37, "in": "HoldComplete[{v, l} = {First[l], Rest[l]}]", "status": "ok", "out": "{1, {3, 8, -1, 11, 12}}", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 38, "in": "HoldComplete[{v, l}]", "status": "ok", "out": "{1, {3, 8, -1, 11, 12}}", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 39, "in": "HoldComplete[Information[\"Scan\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"scan over every element of a list, applying a function\", System`FullName \\[Rule] \"System`Scan\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[System`Heads, System`False]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 40, "in": "HoldComplete[Acc[x_] := m = m + x]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 41, "in": "HoldComplete[l]", "status": "ok", "out": "{3, 8, -1, 11, 12}", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 42, "in": "HoldComplete[m = 0]", "status": "ok", "out": "0", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 43, "in": "HoldComplete[Scan[Acc, l]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 44, "in": "HoldComplete[m]", "status": "ok", "out": "33", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 45, "in": "HoldComplete[m = 0]", "status": "ok", "out": "0", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 46, "in": "HoldComplete[Scan[Function[x, m = m + x], l]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 47, "in": "HoldComplete[m]", "status": "ok", "out": "33", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 48, "in": "HoldComplete[Information[\"Function\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"`1` should contain a positive integer.\", System`FullName \\[Rule] \"System`Function\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 49, "in": "HoldComplete[m = 0]", "status": "ok", "out": "0", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 50, "in": "HoldComplete[Scan[(m = m + #1) & , l]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.007, "tmo": 120} +{"i": 51, "in": "HoldComplete[m]", "status": "ok", "out": "33", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 52, "in": "HoldComplete[l = Range[1000]; ]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.006, "tmo": 120} +{"i": 53, "in": "HoldComplete[Information[\"PrimeQ\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"test whether elements are prime numbers\", System`FullName \\[Rule] \"System`PrimeQ\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] System`None, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 54, "in": "HoldComplete[s = 0]", "status": "ok", "out": "0", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 55, "in": "HoldComplete[Scan[If[PrimeQ[#1], s++] & , l]]", "status": "ok", "out": "Null", "msgs": [], "secs": 0.684, "tmo": 120} +{"i": 56, "in": "HoldComplete[s]", "status": "ok", "out": "168", "msgs": [], "secs": 0.003, "tmo": 120} +{"i": 57, "in": "HoldComplete[Information[\"Map\", LongForm -> False]]", "status": "ok", "out": "InformationData[<|System`Usage \\[Rule] \"map a function over a list, at specified levels\", System`FullName \\[Rule] \"System`Map\", System`Attributes \\[Rule] {System`Protected}, System`Options \\[Rule] {System`Rule[System`Heads, System`False]}, System`DownValues \\[Rule] System`None, System`OwnValues \\[Rule] System`None|>]", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 58, "in": "HoldComplete[l = {1, 2, 10, 4}]", "status": "ok", "out": "{1, 2, 10, 4}", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 59, "in": "HoldComplete[(#1^2 & ) /@ l]", "status": "ok", "out": "{1, 4, 100, 16}", "msgs": [], "secs": 0.005, "tmo": 120} +{"i": 60, "in": "HoldComplete[f /@ {1, 3, 4}]", "status": "ok", "out": "{f[1], f[3], f[4]}", "msgs": [], "secs": 0.004, "tmo": 120} +{"i": 61, "in": "HoldComplete[Information[\"/;\", LongForm -> False]]", "status": "ok", "out": "Missing[UnknownSymbol, \"/;\"]", "msgs": [], "secs": 0.004, "tmo": 120} diff --git a/book/run.sh b/book/run.sh new file mode 100755 index 0000000..a25a293 --- /dev/null +++ b/book/run.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Run the book's notebook examples under Mathics3. +# usage: run.sh OUTDIR TIMEOUT [NOTEBOOK...] (default: all five, in parallel) +out=$1; tmo=$2; shift 2; here=$(cd "$(dirname "$0")" && pwd) +nbs=${*:-Chapter3 Chapter4 Chapter5 newFeatures tutorial} +mkdir -p "$out" +for n in $nbs; do + python "$here/drive_mathics.py" "$here/../Combinatorica/CombinatoricaV201.m" "$here/cells/$n.json" "$out/$n.jsonl" "$tmo" > "$out/$n.summary" 2>&1 & +done +wait +cat "$out"/*.summary diff --git a/book/run_mathics.py b/book/run_mathics.py new file mode 100644 index 0000000..609971d --- /dev/null +++ b/book/run_mathics.py @@ -0,0 +1,134 @@ +"""Run notebook input cells under Mathics3 with a Combinatorica package loaded, +appending one JSON line per cell. + +usage: run_mathics.py package.m cells.json out.jsonl timeout start + +Each cell is evaluated with the session's own timeout, which stops it +between evaluation steps (status "timeout"); SIGALRM, 30 s later, is only +a backstop for code that never checks it. An evaluation aborted for +another reason, such as $RecursionLimit, is "aborted". A Python exception +escaping the evaluation is "crash". Before each cell "start i" goes to +stdout so a watchdog can tell where a hang is. + +A cell may hold several expressions (HoldComplete[e1, e2, ...]): all are +evaluated, in order, and the last one is the result, as in run_wma.wls. + +When the run starts after cell 1 (the watchdog restarted it after a hang +or crash), the cells before it that finished cleanly in under REPLAY_SECS +are evaluated again first, so that their definitions are back. +""" + +import json +import os +import re +import resource +import signal +import sys +import time +import traceback + +from mathics.core.interrupt import TimeoutInterrupt +from mathics.core.load_builtin import import_and_load_builtins +from mathics.session import MathicsSession + +pkg, inf, outf, tmo, start = sys.argv[1:6] +tmo, start = int(tmo), int(start) + +# A cell that runs away with memory fails alone (MemoryError, recorded as a +# crash) instead of getting the whole job killed. +mem_gb = float(os.environ.get("CELL_MEM_GB", "4")) +try: + resource.setrlimit(resource.RLIMIT_AS, (int(mem_gb * 2**30),) * 2) +except (ValueError, OSError): # macOS does not support it + pass + +t0 = time.time() +import_and_load_builtins() +session = MathicsSession(character_encoding="ASCII") +builtins_secs = time.time() - t0 +t0 = time.time() +session.evaluate(f'Get["{pkg}"]') +load_secs = time.time() - t0 +print(f"builtins {builtins_secs:.2f}s package {load_secs:.2f}s", flush=True) + +session.evaluate( + r"""H`canon[r_] := Which[ + MatchQ[r, _Graphics | _Graphics3D | _GraphicsArray | _Image], "<" <> SymbolName[Head[r]] <> ">", + True, Module[{s = ToString[FullForm[r /. x_Real :> Round[10^5 x]]]}, + If[StringLength[s] > 4000, StringTake[s, 4000] <> "...", s]]]""" +) + +MSG_RE = re.compile(r"^(\S+::\S+):") + + +def on_alarm(signum, frame): + raise TimeoutInterrupt() + + +signal.signal(signal.SIGALRM, on_alarm) + +cells = json.load(open(inf)) + +# Re-create the state the earlier cells left, after a restart. +REPLAY_SECS = float(os.environ.get("REPLAY_SECS", "20")) +replayed_ok = True +if start > 1 and os.path.exists(outf): + done = {r["i"]: r for r in map(json.loads, open(outf))} + for j in range(1, start): + r = done.get(j) + if r is None or r["status"] not in ("ok", "msg") or r["secs"] > REPLAY_SECS: + if r is not None and "=" in r["in"]: + replayed_ok = False # an assignment we could not redo + continue + print("replay", j, flush=True) + signal.alarm(int(REPLAY_SECS) + 30) + try: + session.evaluate_as_in_cli(f"List @@ {r['in']};", timeout=REPLAY_SECS) + except BaseException: + replayed_ok = False + signal.alarm(0) + +with open(outf, "a") as out_file: + for i in range(start, len(cells) + 1): + c = cells[i - 1] + print("start", i, c["in"][:100], flush=True) + rec = {"i": i, "sec": c["sec"], "in": c["in"]} + t = time.time() + signal.alarm(tmo + 30) + try: + res = session.evaluate_as_in_cli( + f"H`canon[Last[List @@ {c['in']}]]", timeout=tmo + ) + signal.alarm(0) + out = res.result + rec["out"] = out[1:-1] if isinstance(out, str) and out.startswith('"') else str(out) + rec["msgs"] = [ + f"{m.symbol}::{m.tag}: {m.text}" if getattr(m, "is_message", False) else m.text + for m in res.out + ] + if session.evaluation.timeout: + rec["status"] = "timeout" + elif rec["out"] == "$Aborted": + rec["status"] = "aborted" + elif any(MSG_RE.match(m) for m in rec["msgs"]): + rec["status"] = "msg" + else: + rec["status"] = "ok" + except BaseException as exc: + signal.alarm(0) + if isinstance(exc, KeyboardInterrupt): + raise + rec.update( + status="timeout" if isinstance(exc, TimeoutInterrupt) else "crash", + out="", + msgs=[], + error="".join(traceback.format_exception(exc))[-3000:], + ) + rec["secs"] = round(time.time() - t, 3) + rec["tmo"] = tmo + if start > 1: + rec["replayed_after_restart"] = replayed_ok + rec["maxrss_mb"] = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss // 1024 + out_file.write(json.dumps(rec) + "\n") + out_file.flush() + print("done", i, rec["status"], rec["secs"], flush=True) diff --git a/book/run_wma.sh b/book/run_wma.sh new file mode 100755 index 0000000..4c3066d --- /dev/null +++ b/book/run_wma.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Run the book's notebook examples under WMA (wolframscript), with two seeds. +# usage: run_wma.sh OUTDIR TIMEOUT [NOTEBOOK...] +out=$1; tmo=$2; shift 2; here=$(cd "$(dirname "$0")" && pwd) +nbs=${*:-Chapter3 Chapter4 Chapter5 newFeatures tutorial} +mkdir -p "$out" +for n in $nbs; do + for seed in 1 2; do + python3 "$here/drive_wma.py" "$here/cells/$n.json" "$out/$n.s$seed.jsonl" $seed "$tmo" > "$out/$n.s$seed.summary" 2>&1 + done +done +cat "$out"/*.summary diff --git a/book/run_wma.wls b/book/run_wma.wls new file mode 100644 index 0000000..0673651 --- /dev/null +++ b/book/run_wma.wls @@ -0,0 +1,29 @@ +(* Run notebook input cells under WMA's Combinatorica`, appending one JSON line per cell. + args: cells.json out.jsonl seed timeout start *) +{H`inf, H`outf, H`seed, H`tmo, H`start} = Rest[$ScriptCommandLine]; +{H`seed, H`tmo, H`start} = ToExpression[{H`seed, H`tmo, H`start}]; +Off[General::compat, General::shdw, SetDelayed::write, Set::write, SetDelayed::wrsym]; +Needs["Combinatorica`"]; +On[SetDelayed::write, Set::write, SetDelayed::wrsym]; +SeedRandom[H`seed]; +H`canon[r_] := Which[ + MatchQ[r, _Graphics | _Graphics3D | _GraphicsArray | _Image], "<" <> SymbolName[Head[r]] <> ">", + True, Module[{s = ToString[FullForm[r /. x_Real :> Round[10^5 x]]]}, + If[StringLength[s] > 4000, StringTake[s, 4000] <> "...", s]]]; +H`cells = Import[H`inf, "RawJSON"]; +H`str = OpenAppend[H`outf]; +(* The loop counter lives in H` : a cell may use or set a global i. *) +Do[ + Module[{d, c = H`cells[[H`i]], held}, + WriteString[$Output, "start ", H`i, "\n"]; + held = ToExpression[c["in"], InputForm, Hold]; + (* A cell may hold several expressions: all are evaluated, the last is the result. *) + d = EvaluationData[TimeConstrained[Last[List @@ First[held]], H`tmo, $TimedOut]]; + WriteString[H`str, ExportString[<|"i" -> H`i, "sec" -> c["sec"], "in" -> c["in"], + "out" -> ToString[H`canon[d["Result"]]], + "msgs" -> (ToString[#, InputForm] & /@ d["Messages"]), + "secs" -> N[d["AbsoluteTiming"]], + "status" -> Which[d["Result"] === $TimedOut, "timeout", d["Messages"] =!= {}, "msg", True, "ok"]|>, + "RawJSON", "Compact" -> True], "\n"]], + {H`i, H`start, Length[H`cells]}]; +Close[H`str]; diff --git a/book/wma/Chapter3.s1.jsonl b/book/wma/Chapter3.s1.jsonl new file mode 100644 index 0000000..be1ae2d --- /dev/null +++ b/book/wma/Chapter3.s1.jsonl @@ -0,0 +1,352 @@ +{"i": 1, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 2, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Edges\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the list of edges in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Edges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"All\\\"}], \\\"]\\\"}]\\) gives the edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) along with the graphics options associated with each edge. \\n\\!\\(\\*RowBox[{\\\"Edges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"EdgeWeight\\\"}], \\\"]\\\"}]\\) returns the list of edges in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) along with their edge weights.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Edges, List[RuleDelayed[Edges[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Blank[List], PatternTest[BlankNullSequence[], OptionQ]]], Map[Function[First[Slot[1]]], Combinatorica`Private`e]], RuleDelayed[Edges[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Blank[List], PatternTest[BlankNullSequence[], OptionQ]], All], Combinatorica`Private`e], RuleDelayed[Edges[Pattern[Combinatorica`Private`g, Blank[Graph]], EdgeWeight], Map[Function[ReplaceAll[List[First[Slot[1]], EdgeWeight], Flatten[List[Rest[Slot[1]], GraphOptions[Combinatorica`Private`g], Options[Graph]]]]], Edges[Combinatorica`Private`g, All]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Edges\"]], False]", "msgs": [], "secs": 0.027} +{"i": 3, "status": "ok", "out": "List[List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9]]", "msgs": [], "secs": 0.0} +{"i": 4, "status": "ok", "out": "List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3], Rule[EdgeStyle, Fat]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9], Rule[EdgeStyle, Fat]]]", "msgs": [], "secs": 0.0} +{"i": 5, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 6, "status": "ok", "out": "List[List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9]]", "msgs": [], "secs": 0.0} +{"i": 7, "status": "ok", "out": "List[List[List[1, 10], 1], List[List[2, 10], 1], List[List[3, 10], 1], List[List[4, 10], 1], List[List[5, 10], 1], List[List[6, 10], 1], List[List[7, 10], 1], List[List[8, 10], 1], List[List[9, 10], 1], List[List[1, 2], 1], List[List[2, 3], 1], List[List[3, 4], 1], List[List[4, 5], 1], List[List[5, 6], 1], List[List[6, 7], 1], List[List[7, 8], 1], List[List[8, 9], 1], List[List[1, 9], 1]]", "msgs": [], "secs": 0.0} +{"i": 8, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns random real weights in the range \\!\\(\\*RowBox[{\\\"[\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\"}], \\\"]\\\"}]\\) to edges in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns edge weights to the edges in the edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges in edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SetEdgeWeights, List[RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g]], Combinatorica`Private`myfn, Combinatorica`Private`myrange], CompoundExpression[Set[List[Combinatorica`Private`myfn, Combinatorica`Private`myrange], ReplaceAll[List[WeightingFunction, WeightRange], Flatten[List[Combinatorica`Private`opts, Options[SetEdgeWeights]]]]], Switch[Combinatorica`Private`myfn, Random, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomReal[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], RandomInteger, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomInteger[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], Alternatives[Euclidean, LNorm[Blank[]]], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Combinatorica`Private`Distance[Part[Combinatorica`Private`v, Slot[1]], Combinatorica`Private`myfn]]]], Combinatorica`Private`e]], Blank[], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Apply[Combinatorica`Private`myfn, Transpose[List[Slot[1], Part[Combinatorica`Private`v, Slot[1]]]]]]]], Combinatorica`Private`e]]]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`opts]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], Condition[SetGraphOptions[Combinatorica`Private`g, MapIndexed[Function[List[Slot[1], Rule[EdgeWeight, Part[Combinatorica`Private`weights, First[Slot[2]]]]]], If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Combinatorica`Private`e], Combinatorica`Private`e]]], Equal[Length[Combinatorica`Private`weights], Length[Combinatorica`Private`e]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`weights]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[WeightingFunction, Random], Rule[WeightRange, List[0, 1]]]], Rule[\"Attributes\", List[Pro...", "msgs": [], "secs": 0.026000000000000002} +{"i": 9, "status": "ok", "out": "Graph[List[List[List[1, 10], Rule[EdgeWeight, 11]], List[List[2, 10], Rule[EdgeWeight, 14]], List[List[3, 10], Rule[EdgeWeight, 10]], List[List[4, 10], Rule[EdgeWeight, 17]], List[List[5, 10], Rule[EdgeWeight, 10]], List[List[6, 10], Rule[EdgeWeight, 10]], List[List[7, 10], Rule[EdgeWeight, 18]], List[List[8, 10], Rule[EdgeWeight, 16]], List[List[9, 10], Rule[EdgeWeight, 10]], List[List[1, 2], Rule[EdgeWeight, 14]], List[List[2, 3], Rule[EdgeWeight, 11]], List[List[3, 4], Rule[EdgeWeight, 18]], List[List[4, 5], Rule[EdgeWeight, 15]], List[List[5, 6], Rule[EdgeWeight, 11]], List[List[6, 7], Rule[EdgeWeight, 11]], List[List[7, 8], Rule[EdgeWeight, 11]], List[List[8, 9], Rule[EdgeWeight, 13]], List[List[1, 9], Rule[EdgeWeight, 12]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]]", "msgs": [], "secs": 0.001} +{"i": 10, "status": "ok", "out": "List[List[List[1, 10], 11], List[List[2, 10], 14], List[List[3, 10], 10], List[List[4, 10], 17], List[List[5, 10], 10], List[List[6, 10], 10], List[List[7, 10], 18], List[List[8, 10], 16], List[List[9, 10], 10], List[List[1, 2], 14], List[List[2, 3], 11], List[List[3, 4], 18], List[List[4, 5], 15], List[List[5, 6], 11], List[List[6, 7], 11], List[List[7, 8], 11], List[List[8, 9], 13], List[List[1, 9], 12]]", "msgs": [], "secs": 0.0} +{"i": 11, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`Vertices\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Vertices, List[RuleDelayed[Vertices[Graph[Blank[List], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[BlankNullSequence[], OptionQ]]], Map[Function[First[Slot[1]]], Combinatorica`Private`v]], RuleDelayed[Vertices[Graph[Blank[List], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[BlankNullSequence[], OptionQ]], All], Combinatorica`Private`v]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Vertices\"]], False]", "msgs": [], "secs": 0.036000000000000004} +{"i": 12, "status": "ok", "out": "List[List[76604, 64279], List[17365, 98481], List[-50000, 86603], List[-93969, 34202], List[-93969, -34202], List[-50000, -86603], List[17365, -98481], List[76604, -64279], List[100000, 0], List[0, 0]]", "msgs": [], "secs": 0.0} +{"i": 13, "status": "ok", "out": "List[List[List[76604, 64279]], List[List[17365, 98481], Rule[VertexStyle, Disc[Large]]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202], Rule[VertexStyle, Disc[Large]]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0], Rule[VertexStyle, Disc[Large]]], List[List[0, 0]]]", "msgs": [], "secs": 0.0} +{"i": 14, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 15, "status": "ok", "out": "List[List[76604, 64279], List[17365, 98481], List[-50000, 86603], List[-93969, 34202], List[-93969, -34202], List[-50000, -86603], List[17365, -98481], List[76604, -64279], List[100000, 0], List[0, 0]]", "msgs": [], "secs": 0.0} +{"i": 16, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 17, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"V\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the order or number of vertices of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, V, List[RuleDelayed[V[Graph[Blank[List], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[BlankNullSequence[], OptionQ]]], Length[Combinatorica`Private`v]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`V\"]], False]", "msgs": [], "secs": 0.026000000000000002} +{"i": 18, "status": "ok", "out": "10", "msgs": [], "secs": 0.0} +{"i": 19, "status": "ok", "out": "9", "msgs": [], "secs": 0.0} +{"i": 20, "status": "ok", "out": "20", "msgs": [], "secs": 0.007} +{"i": 21, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"M\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the number of edges in the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"M\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"Directed\\\"}], \\\"]\\\"}]\\) is obsolete because \\!\\(\\*RowBox[{\\\"M\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) works for directed as well as undirected graphs.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, M, List[RuleDelayed[M[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Blank[List], PatternTest[BlankNullSequence[], OptionQ]]], Length[Combinatorica`Private`e]], RuleDelayed[M[Pattern[Combinatorica`Private`g, Blank[Graph]], Directed], CompoundExpression[Message[MessageName[M, \"obsolete\"]], M[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`M\"]], False]", "msgs": [], "secs": 0.027} +{"i": 22, "status": "ok", "out": "18", "msgs": [], "secs": 0.0} +{"i": 23, "status": "ok", "out": "19", "msgs": [], "secs": 0.0} +{"i": 24, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ChangeVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) replaces the vertices of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with the vertices in the given list \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are coordinates of points and \\!\\(\\*RowBox[{SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are graphics information associated with vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ChangeVertices, List[RuleDelayed[ChangeVertices[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`dopts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`newV, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Condition[Graph[Combinatorica`Private`e, Combinatorica`Private`newV, Combinatorica`Private`dopts], GreaterEqual[Length[Combinatorica`Private`newV], Length[Combinatorica`Private`v]]]], RuleDelayed[ChangeVertices[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`dopts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`newV, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]]], Condition[Graph[Combinatorica`Private`e, Table[If[LessEqual[Combinatorica`Private`i, Length[Combinatorica`Private`v]], List[Part[Combinatorica`Private`newV, Combinatorica`Private`i], Apply[Sequence, Rest[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], List[Part[Combinatorica`Private`newV, Combinatorica`Private`i]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`newV]]], Combinatorica`Private`dopts], GreaterEqual[Length[Combinatorica`Private`newV], Length[Combinatorica`Private`v]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ChangeVertices\"]], False]", "msgs": [], "secs": 0.026000000000000002} +{"i": 25, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 26, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 27, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 28, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 29, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 30, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 31, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ChangeEdges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) replaces the edges of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with the edges in \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\) can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are endpoints of edges and \\!\\(\\*RowBox[{SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are graphics information associated with edges.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ChangeEdges, List[RuleDelayed[ChangeEdges[Graph[Blank[List], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`dopts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`newE, List[RepeatedNull[List[List[Blank[Integer], Blank[Integer]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Condition[Graph[Combinatorica`Private`newE, Combinatorica`Private`v, Combinatorica`Private`dopts], And[LessEqual[Max[Map[First, Combinatorica`Private`newE]], Length[Combinatorica`Private`v]], GreaterEqual[Min[Map[First, Combinatorica`Private`newE]], 1]]]], RuleDelayed[ChangeEdges[Graph[Blank[], Pattern[Combinatorica`Private`v, Blank[]], Pattern[Combinatorica`Private`dopts, BlankNullSequence[]]], Pattern[Combinatorica`Private`newE, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]]], Condition[Graph[Map[Function[List[Slot[1]]], Combinatorica`Private`newE], Combinatorica`Private`v, Combinatorica`Private`dopts], And[LessEqual[Max[Combinatorica`Private`newE], Length[Combinatorica`Private`v]], GreaterEqual[Min[Combinatorica`Private`newE], 1]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ChangeEdges\"]], False]", "msgs": [], "secs": 0.026000000000000002} +{"i": 32, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 33, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 34, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 35, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 36, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AddEdges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"edgeList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with the new edges in \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) added. \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) to add a single edge \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), to add edges \\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"y\\\", \\\"TI\\\"]\\) can specify graphics information associated with \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) and \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), respectively.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AddEdges, List[RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edgeList, List[RepeatedNull[List[List[Blank[Integer], Blank[Integer]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Module[List[Set[Combinatorica`Private`ne, If[UndirectedQ[Combinatorica`Private`g], Map[Function[Prepend[Rest[Slot[1]], Sort[First[Slot[1]]]]], Combinatorica`Private`edgeList], Combinatorica`Private`edgeList]]], ChangeEdges[Combinatorica`Private`g, Join[Edges[Combinatorica`Private`g, All], Combinatorica`Private`ne]]]], RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edgeList, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]]], AddEdges[Combinatorica`Private`g, Map[Function[List[Slot[1]]], Combinatorica`Private`edgeList]]], RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edge, List[Blank[Integer], Blank[Integer]]]], AddEdges[Combinatorica`Private`g, List[Combinatorica`Private`edge]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`AddEdges\"]], False]", "msgs": [], "secs": 0.032} +{"i": 37, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 38, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 39, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 40, "status": "ok", "out": "", "msgs": [], "secs": 0.023} +{"i": 41, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 42, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DeleteEdges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"edgeList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) minus the list of edges \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\). If \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is undirected, then the edges in \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) are treated as undirected edges; otherwise they are treated as directed edges. If there are multiple edges that qualify, then only one edge is deleted. \\n\\!\\(\\*RowBox[{RowBox[{\\\"DeleteEdges\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"edgeList\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"All\\\", \\\"]\\\"}]}]\\) will delete all edges that qualify. If only one edge is to be deleted, then \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"s\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"t\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\); otherwise it has the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DeleteEdges, List[RuleDelayed[DeleteEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ne, List[Blank[Integer], Blank[Integer]]], All], DeleteEdges[Combinatorica`Private`g, List[Combinatorica`Private`ne], All]], RuleDelayed[DeleteEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ne, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], All], Module[List[Combinatorica`Private`nne], CompoundExpression[Set[Combinatorica`Private`nne, If[UndirectedQ[Combinatorica`Private`g], Join[Combinatorica`Private`ne, Map[Reverse, Combinatorica`Private`ne]], Combinatorica`Private`ne]], ChangeEdges[Combinatorica`Private`g, Select[Edges[Combinatorica`Private`g, All], Function[Not[MemberQ[Combinatorica`Private`nne, First[Slot[1]]]]]]]]]], RuleDelayed[DeleteEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ne, List[Blank[Integer], Blank[Integer]]]], DeleteEdges[Combinatorica`Private`g, List[Combinatorica`Private`ne]]], RuleDelayed[DeleteEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ne, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]]], Module[List[Set[Combinatorica`Private`el, Edges[Combinatorica`Private`g, All]], Combinatorica`Private`nne, Combinatorica`Private`p], CompoundExpression[Set[Combinatorica`Private`nne, If[UndirectedQ[Combinatorica`Private`g], Join[Combinatorica`Private`ne, Map[Reverse, Combinatorica`Private`ne]], Combinatorica`Private`ne]], ChangeEdges[Combinatorica`Private`g, DeleteCases[Table[If[Unequal[Set[Combinatorica`Private`p, Position[Combinatorica`Private`nne, Part[Combinatorica`Private`el, Combinatorica`Private`i, 1]]], List[]], CompoundExpression[Set[Combinatorica`Private`nne, MapAt[Function[Infinity], Combinatorica`Private`nne, Part[Combinatorica`Private`p, 1]]], List[]], Part[Combinatorica`Private`el, Combinatorica`Private`i]], List[Combinatorica`Private`i, M[Combinatorica`Private`g]]], List[]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DeleteEdges\"]], False]", "msgs": [], "secs": 0.036000000000000004} +{"i": 43, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 44, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 45, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 46, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.029} +{"i": 47, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 48, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 49, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 50, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 51, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ExactRandomGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a random labeled graph of exactly \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\) edges and \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ExactRandomGraph, List[RuleDelayed[ExactRandomGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], Pattern[Combinatorica`Private`e, Blank[Integer]]], Graph[Map[Function[List[NthPair[Slot[1]]]], Take[RandomPermutation[Times[Combinatorica`Private`n, Times[Plus[Combinatorica`Private`n, -1], Power[2, -1]]]], Combinatorica`Private`e]], CircularEmbedding[Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ExactRandomGraph\"]], False]", "msgs": [], "secs": 0.05} +{"i": 52, "status": "ok", "out": "Null", "msgs": [], "secs": 0.008} +{"i": 53, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 54, "status": "ok", "out": "List[253, 301, 380, 367, 398, 451, 514, 548, 610, 728, 733, 962, 968, 970, 1125, 1146, 1263, 1246, 1363, 1520, 1591, 1604, 1711, 1813, 1908]", "msgs": [], "secs": 0.259} +{"i": 55, "status": "msg", "out": "ListPlot[List[First[253], First[301], First[380], First[367], First[398], First[451], First[514], First[548], First[610], First[728], First[733], First[962], First[968], First[970], First[1125], First[1146], First[1263], First[1246], First[1363], First[1520], First[1591], First[1604], First[1711], First[1813], First[1908]], Rule[PlotJoined, True]]", "msgs": ["First::normal", "First::normal", "First::normal", "\"Further output of `1` will be suppressed during this calculation.\"", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "ListPlot::optx"], "secs": 0.124} +{"i": 56, "status": "msg", "out": "Plus[Times[1345, x, Plus[Times[-398970, First[253]], Times[-310663, First[301]], Times[-155594, First[367]], Times[-229537, First[380]], Times[-88832, First[398]], Times[-29252, First[451]], Times[23147, First[514]], Times[68364, First[548]], Times[106399, First[610]], Times[137253, First[728]], Times[160925, First[733]], Times[177415, First[962]], Times[186724, First[968]], Times[188850, First[970]], Times[183796, First[1125]], Times[171559, First[1146]], Times[125541, First[1246]], Times[152141, First[1263]], Times[91760, First[1363]], Times[50797, First[1520]], Times[2652, First[1591]], Times[-52675, First[1604]], Times[-115183, First[1711]], Times[-184873, First[1813]], Times[-261744, First[1908]]]], Times[20000, Plus[Times[180000, First[253]], Times[150000, First[301]], Times[96522, First[367]], Times[122174, First[380]], Times[73043, First[398]], Times[51739, First[451]], Times[32609, First[514]], Times[15652, First[548]], Times[870, First[610]], Times[-11739, First[728]], Times[-22174, First[733]], Times[-30435, First[962]], Times[-36522, First[968]], Times[-40435, First[970]], Times[-42174, First[1125]], Times[-41739, First[1146]], Times[-34348, First[1246]], Times[-39130, First[1263]], Times[-27391, First[1363]], Times[-18261, First[1520]], Times[-6957, First[1591]], Times[6522, First[1604]], Times[22174, First[1711]], Times[40000, First[1813]], Times[60000, First[1908]]]], Times[68, Power[x, 2], Plus[Times[250860, First[253]], Times[188145, First[301]], Times[79075, First[367]], Times[130883, First[380]], Times[32721, First[398]], Times[-8180, First[451]], Times[-43628, First[514]], Times[-73622, First[548]], Times[-98163, First[610]], Times[-117250, First[728]], Times[-130883, First[733]], Times[-139064, First[962]], Times[-141790, First[968]], Times[-139064, First[970]], Times[-130883, First[1125]], Times[-117250, First[1146]], Times[-73622, First[1246]], Times[-98163, First[1263]], Times[-43628, First[1363]], Times[-8180, First[1520]], Times[32721, First[1591]], Times[79075, First[1604]], Times[130883, First[1711]], Times[188145, First[1813]], Times[250860, First[1908]]]]]", "msgs": ["First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal"], "secs": 0.012} +{"i": 57, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AddVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) adds \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) disconnected vertices to graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"AddVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"vList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) adds vertices in \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) to \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) contains embedding and graphics information and can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) or \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}]\\), and \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}]\\) are point coordinates and \\!\\(\\*SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\) and \\!\\(\\*SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]\\) are graphics information associated with vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AddVertices, List[RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], GraphUnion[Combinatorica`Private`g, EmptyGraph[Combinatorica`Private`n]]], RuleDelayed[AddVertices[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`p, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Graph[Combinatorica`Private`e, Join[Combinatorica`Private`v, Combinatorica`Private`p], Combinatorica`Private`opts]], RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`p, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]]], AddVertices[Combinatorica`Private`g, Map[Function[List[Slot[1]]], Combinatorica`Private`p]]], RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`p, List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]], AddVertices[Combinatorica`Private`g, List[Combinatorica`Private`p]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[...", "msgs": [], "secs": 0.094} +{"i": 58, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 59, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 60, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 61, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 62, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 63, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 64, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DeleteVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"vList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) deletes vertices in \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) from graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) has the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"j\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*RowBox[{\\\" \\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"j\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]}]\\) are vertex numbers.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DeleteVertices, List[RuleDelayed[DeleteVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`vl, Blank[List]]], InduceSubgraph[Combinatorica`Private`g, Complement[Range[V[Combinatorica`Private`g]], Combinatorica`Private`vl]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DeleteVertices\"]], False]", "msgs": [], "secs": 0.046} +{"i": 65, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 66, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 67, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 68, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\""], "secs": 4.301} +{"i": 69, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 70, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Spectrum\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the eigenvalues of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Spectrum, List[RuleDelayed[Condition[Spectrum[Pattern[Combinatorica`Private`g, Blank[Graph]]], EmptyQ[Combinatorica`Private`g]], Table[0, List[V[Combinatorica`Private`g]]]], RuleDelayed[Spectrum[Pattern[Combinatorica`Private`g, Blank[Graph]]], Eigenvalues[ToAdjacencyMatrix[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Spectrum\"]], False]", "msgs": [], "secs": 0.03} +{"i": 71, "status": "ok", "out": "List[Plus[1, Power[10, Rational[1, 2]]], Plus[1, Times[-1, Power[10, Rational[1, 2]]]], Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 1, 0], Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 1, 0], Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 3, 0], Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 3, 0], -1, -1, Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 2, 0], Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 2, 0]]", "msgs": [], "secs": 0.018000000000000002} +{"i": 72, "status": "ok", "out": "List[-2, 2, 0, 0, 0]", "msgs": [], "secs": 0.004} +{"i": 73, "status": "ok", "out": "List[-2, 2, 0, 0, 0]", "msgs": [], "secs": 0.005} +{"i": 74, "status": "ok", "out": "List[Times[-2, Power[3, Rational[1, 2]]], Times[2, Power[3, Rational[1, 2]]], 0, 0, 0, 0, 0]", "msgs": [], "secs": 0.007} +{"i": 75, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ToAdjacencyLists\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an adjacency list representation for graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"ToAdjacencyLists\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"EdgeWeight\\\"}], \\\"]\\\"}]\\) returns an adjacency list representation along with edge weights.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ToAdjacencyLists, List[RuleDelayed[ToAdjacencyLists[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`s, Combinatorica`Private`al, Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], Combinatorica`Private`n, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToAdjacencyLists]]]]], Set[Combinatorica`Private`s, Join[If[UndirectedQ[Combinatorica`Private`g], Combinatorica`Private`Double[Combinatorica`Private`e], Combinatorica`Private`e], Table[List[Combinatorica`Private`i, -1], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]]], Set[Combinatorica`Private`al, Map[Rest, ReplaceAll[Split[Sort[Combinatorica`Private`s], Function[SameQ[Part[Slot[1], 1], Part[Slot[2], 1]]]], RuleDelayed[List[Blank[Integer], Pattern[Combinatorica`Private`n, Blank[Integer]]], Combinatorica`Private`n]]]], If[SameQ[Combinatorica`Private`type, Simple], Map[Union, Table[Select[Part[Combinatorica`Private`al, Combinatorica`Private`i], Function[Unequal[Slot[1], Combinatorica`Private`i]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]]], Combinatorica`Private`al]]]], RuleDelayed[ToAdjacencyLists[Pattern[Combinatorica`Private`g, Blank[Graph]], EdgeWeight, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`s, Combinatorica`Private`al, Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g, EdgeWeight]], Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToAdjacencyLists]]]]], Set[Combinatorica`Private`s, Join[If[UndirectedQ[Combinatorica`Private`g], Combinatorica`Private`Double[Combinatorica`Private`e, EdgeWeight], Combinatorica`Private`e], Table[List[List[Combinatorica`Private`i, -1], 1], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]]], Set[Combinatorica`Private`al, Map[Function[Rest[Map[Rest, Partition[Flatten[Slot[1]], 3, 3]]]], Split[Sort[Combinatorica`Private`s], Function[Equal[Part[Slot[1], 1, 1], Part[Slot[2], 1, 1]]]]]], If[SameQ[Combinatorica`Private`type, Simple], Map[Union, Table[Select[Part[Combinatorica`Private`al, Combinatorica`Private`i], Function[Unequal[Part[Slot[1], 1], Combinatorica`Private`i]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]]], Combinatorica`Private`al]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, All]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ToAdjacencyLists\"]], False]", "msgs": [], "secs": 0.077} +{"i": 76, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 77, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 78, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 79, "status": "ok", "out": "", "msgs": [], "secs": 0.044} +{"i": 80, "status": "ok", "out": "List[List[1, 2, 9, 9, 10], List[1, 3, 3, 10], List[2, 2, 4, 10], List[3, 5, 10], List[4, 6, 10], List[5, 7, 10], List[6, 8, 10], List[7, 9, 10], List[1, 1, 8, 10], List[1, 2, 3, 4, 5, 6, 7, 8, 9]]", "msgs": [], "secs": 0.0} +{"i": 81, "status": "ok", "out": "List[List[List[1, 1], List[2, 1], List[9, 1], List[9, 1], List[10, 1]], List[List[1, 1], List[3, 1], List[3, 1], List[10, 1]], List[List[2, 1], List[2, 1], List[4, 1], List[10, 1]], List[List[3, 1], List[5, 1], List[10, 1]], List[List[4, 1], List[6, 1], List[10, 1]], List[List[5, 1], List[7, 1], List[10, 1]], List[List[6, 1], List[8, 1], List[10, 1]], List[List[7, 1], List[9, 1], List[10, 1]], List[List[1, 1], List[1, 1], List[8, 1], List[10, 1]], List[List[1, 1], List[2, 1], List[3, 1], List[4, 1], List[5, 1], List[6, 1], List[7, 1], List[8, 1], List[9, 1]]]", "msgs": [], "secs": 0.001} +{"i": 82, "status": "ok", "out": "List[List[List[1, 292058], List[2, 263023], List[9, 277391], List[9, 277391], List[10, 215529]], List[List[1, 263023], List[3, 236485], List[3, 236485], List[10, 294763]], List[List[2, 236485], List[2, 236485], List[4, 238528], List[10, 236314]], List[List[3, 238528], List[5, 280374], List[10, 209001]], List[List[4, 280374], List[6, 278500], List[10, 251372]], List[List[5, 278500], List[7, 223318], List[10, 239284]], List[List[6, 223318], List[8, 243600], List[10, 261290]], List[List[7, 243600], List[9, 208025], List[10, 285378]], List[List[1, 277391], List[1, 277391], List[8, 208025], List[10, 211713]], List[List[1, 215529], List[2, 294763], List[3, 236314], List[4, 209001], List[5, 251372], List[6, 239284], List[7, 261290], List[8, 285378], List[9, 211713]]]", "msgs": [], "secs": 0.004} +{"i": 83, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.008} +{"i": 84, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 85, "status": "ok", "out": "List[List[], List[3], List[2, 4], List[3, 5], List[4, 6], List[5, 7], List[6]]", "msgs": [], "secs": 0.0} +{"i": 86, "status": "ok", "out": "List[List[2, 9, 10], List[1, 3, 10], List[2, 4, 10], List[3, 5, 10], List[4, 6, 10], List[5, 7, 10], List[6, 8, 10], List[7, 9, 10], List[1, 8, 10], List[1, 2, 3, 4, 5, 6, 7, 8, 9]]", "msgs": [], "secs": 0.0} +{"i": 87, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"FromAdjacencyLists\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an edge list representation for a graph from the given adjacency lists \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\), using a circular embedding. \\n\\!\\(\\*RowBox[{\\\"FromAdjacencyLists\\\", \\\"[\\\", RowBox[{StyleBox[\\\"l\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) uses \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the embedding for the resulting graph. An option called Type that takes on the values Directed or Undirected can be used to affect the type of graph produced. The default value of Type is Undirected.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FromAdjacencyLists, List[RuleDelayed[FromAdjacencyLists[Pattern[Combinatorica`Private`al, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], ChangeVertices[FromAdjacencyLists[Combinatorica`Private`al, Combinatorica`Private`opts], Combinatorica`Private`v]], RuleDelayed[FromAdjacencyLists[Pattern[Combinatorica`Private`al, List[RepeatedNull[List[RepeatedNull[Blank[Integer]]]]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`g, Combinatorica`Private`nal, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromAdjacencyLists]]]]], Set[Combinatorica`Private`nal, If[SameQ[Combinatorica`Private`type, Undirected], Table[Select[Part[Combinatorica`Private`al, Combinatorica`Private`i], Function[GreaterEqual[Slot[1], Combinatorica`Private`i]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]], Combinatorica`Private`al]], Set[Combinatorica`Private`g, Graph[Flatten[Table[Map[Function[List[List[Combinatorica`Private`i, Slot[1]]]], Part[Combinatorica`Private`nal, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]], 1], CircularEmbedding[Length[Combinatorica`Private`al]]]], If[SameQ[Combinatorica`Private`type, Directed], SetGraphOptions[Combinatorica`Private`g, Rule[EdgeDirection, True]], Combinatorica`Private`g]]]], RuleDelayed[FromAdjacencyLists[Pattern[Combinatorica`Private`al, List[RepeatedNull[List[RepeatedNull[List[Blank[Integer], Alternatives[Blank[Integer], Blank[Real]]]]]]]], EdgeWeight, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`g, Combinatorica`Private`nal, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromAdjacencyLists]]]]], Set[Combinatorica`Private`nal, If[SameQ[Combinatorica`Private`type, Undirected], Table[Select[Part[Combinatorica`Private`al, Combinatorica`Private`i], Function[GreaterEqual[Part[Slot[1], 1], Combinatorica`Private`i]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]], Combinatorica`Private`al]], Set[Combinatorica`Private`g, Graph[Flatten[Table[Map[Function[List[List[Combinatorica`Private`i, Part[Slot[1], 1]], Rule[EdgeWeight, Part[Slot[1], 2]]]], Part[Combinatorica`Private`nal, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]], 1], CircularEmbedding[Length[Combinatorica`Private`al]]]], If[SameQ[Combinatorica`Private`type, Directed], SetGraphOptions[Combinatorica`Private`g, Rule[EdgeDirection, True]], Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`FromAdjacencyLists\"]], False]", "msgs": [], "secs": 0.051000000000000004} +{"i": 88, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 89, "status": "ok", "out": "List[List[1, 1], List[1, 2], List[1, 9], List[1, 9], List[1, 10], List[2, 3], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 90, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 91, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 92, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ToOrderedPairs\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a list of ordered pairs representing the edges of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ToOrderedPairs, List[RuleDelayed[ToOrderedPairs[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`op], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToOrderedPairs]]]]], Set[Combinatorica`Private`op, If[UndirectedQ[Combinatorica`Private`g], Combinatorica`Private`Double[Edges[Combinatorica`Private`g]], Edges[Combinatorica`Private`g]]], If[SameQ[Combinatorica`Private`type, Simple], Union[Select[Combinatorica`Private`op, Function[Unequal[Part[Slot[1], 1], Part[Slot[1], 2]]]]], Combinatorica`Private`op]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, All]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ToOrderedPairs\"]], False]", "msgs": [], "secs": 0.055} +{"i": 93, "status": "ok", "out": "List[List[10, 1], List[10, 2], List[10, 3], List[10, 4], List[10, 5], List[10, 6], List[10, 7], List[10, 8], List[10, 9], List[2, 1], List[3, 2], List[4, 3], List[5, 4], List[6, 5], List[7, 6], List[8, 7], List[9, 8], List[9, 1], List[9, 1], List[3, 2], List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9], List[1, 1], List[1, 9], List[2, 3]]", "msgs": [], "secs": 0.0} +{"i": 94, "status": "ok", "out": "List[List[1, 2], List[1, 9], List[1, 10], List[2, 1], List[2, 3], List[2, 10], List[3, 2], List[3, 4], List[3, 10], List[4, 3], List[4, 5], List[4, 10], List[5, 4], List[5, 6], List[5, 10], List[6, 5], List[6, 7], List[6, 10], List[7, 6], List[7, 8], List[7, 10], List[8, 7], List[8, 9], List[8, 10], List[9, 1], List[9, 8], List[9, 10], List[10, 1], List[10, 2], List[10, 3], List[10, 4], List[10, 5], List[10, 6], List[10, 7], List[10, 8], List[10, 9]]", "msgs": [], "secs": 0.0} +{"i": 95, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Further output of `1` will be suppressed during this calculation.\"", "\"Uncaught `1` returned to top level.\"", "\"Further output of `1` will be suppressed during this calculation.\""], "secs": 0.002} +{"i": 96, "status": "ok", "out": "List[List[2, 1], List[9, 1], List[9, 1], List[10, 1], List[3, 2], List[3, 2], List[10, 2], List[4, 3], List[10, 3], List[5, 4], List[10, 4], List[6, 5], List[10, 5], List[7, 6], List[10, 6], List[8, 7], List[10, 7], List[9, 8], List[10, 8], List[10, 9], List[1, 1], List[1, 2], List[1, 9], List[1, 9], List[1, 10], List[2, 3], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 97, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"FromOrderedPairs\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an edge list representation from a list of ordered pairs \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\), using a circular embedding. \\n\\!\\(\\*RowBox[{\\\"FromOrderedPairs\\\", \\\"[\\\", RowBox[{StyleBox[\\\"l\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) uses \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the embedding for the resulting graph. The option Type that takes on values Undirected or Directed can be used to affect the kind of graph produced. The default value of Type is Directed. \\!\\(\\*RowBox[{\\\"Type\\\", \\\"->\\\", \\\"Undirected\\\"}]\\) results in the underlying undirected graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FromOrderedPairs, List[RuleDelayed[FromOrderedPairs[Pattern[Combinatorica`Private`el, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], ChangeVertices[FromOrderedPairs[Combinatorica`Private`el, Combinatorica`Private`opts], Combinatorica`Private`v]], RuleDelayed[FromOrderedPairs[Pattern[Combinatorica`Private`el, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromOrderedPairs]]]]], If[SameQ[Combinatorica`Private`type, Directed], Combinatorica`Private`FOPD[Combinatorica`Private`el], Combinatorica`Private`FOP[Combinatorica`Private`el]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Directed]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`FromOrderedPairs\"]], False]", "msgs": [], "secs": 0.034} +{"i": 98, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 99, "status": "ok", "out": "", "msgs": [], "secs": 0.013000000000000001} +{"i": 100, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 101, "status": "ok", "out": "List[List[10, 1], List[10, 2], List[10, 3], List[10, 4], List[10, 5], List[10, 6], List[10, 7], List[10, 8], List[10, 9], List[2, 1], List[3, 2], List[4, 3], List[5, 4], List[6, 5], List[7, 6], List[8, 7], List[9, 8], List[9, 1], List[9, 1], List[3, 2], List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9], List[1, 1], List[1, 9], List[2, 3]]", "msgs": [], "secs": 0.0} +{"i": 102, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 103, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 104, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ToUnorderedPairs\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a list of unordered pairs representing the edges of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). Each edge, directed or undirected, results in a pair in which the smaller vertex appears first. \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ToUnorderedPairs, List[RuleDelayed[ToUnorderedPairs[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`el], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToUnorderedPairs]]]]], Set[Combinatorica`Private`el, If[UndirectedQ[Combinatorica`Private`g], Edges[Combinatorica`Private`g], Map[Sort, Edges[Combinatorica`Private`g]]]], If[SameQ[Combinatorica`Private`type, All], Combinatorica`Private`el, Union[Select[Combinatorica`Private`el, Function[Unequal[Part[Slot[1], 1], Part[Slot[1], 2]]]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, All]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ToUnorderedPairs\"]], False]", "msgs": [], "secs": 0.034} +{"i": 105, "status": "ok", "out": "Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]], List[List[1, 1]], List[List[1, 9]], List[List[2, 3]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 106, "status": "ok", "out": "List[List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9], List[1, 1], List[1, 9], List[2, 3]]", "msgs": [], "secs": 0.0} +{"i": 107, "status": "ok", "out": "List[List[1, 2], List[1, 9], List[1, 10], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 108, "status": "ok", "out": "List[List[1, 2], List[1, 9], List[1, 10], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 109, "status": "ok", "out": "List[List[1, 2], List[1, 9], List[1, 10], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 110, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 111, "status": "ok", "out": "List[List[1, 1], List[1, 2], List[1, 9], List[1, 10], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 112, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"FromUnorderedPairs\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an edge list representation from a list of unordered pairs \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\), using a circular embedding.\\n\\!\\(\\*RowBox[{\\\"FromUnorderedPairs\\\", \\\"[\\\", RowBox[{StyleBox[\\\"l\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) uses \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the embedding for the resulting graph. The option Type that takes on values Undirected or Directed can be used to affect the kind of graph produced.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FromUnorderedPairs, List[RuleDelayed[FromUnorderedPairs[Pattern[Combinatorica`Private`el, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], ChangeVertices[FromUnorderedPairs[Combinatorica`Private`el, Combinatorica`Private`opts], Combinatorica`Private`v]], RuleDelayed[FromUnorderedPairs[Pattern[Combinatorica`Private`el, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromUnorderedPairs]]]]], If[SameQ[Combinatorica`Private`type, Undirected], Combinatorica`Private`FUP[Combinatorica`Private`el], Combinatorica`Private`FUPD[Combinatorica`Private`el]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`FromUnorderedPairs\"]], False]", "msgs": [], "secs": 0.031} +{"i": 113, "status": "ok", "out": "List[List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9], List[1, 1], List[1, 9], List[2, 3]]", "msgs": [], "secs": 0.0} +{"i": 114, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 115, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 116, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ToAdjacencyMatrix\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an adjacency matrix representation for graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"ToAdjacencyMatrix\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"]}], \\\",\\\", \\\"EdgeWeight\\\"}], \\\"]\\\"}]\\) returns edge weights as entries of the adjacency matrix with Infinity representing missing edges.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ToAdjacencyMatrix, List[RuleDelayed[ToAdjacencyMatrix[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Set[Combinatorica`Private`blanks, Table[0, List[V[Combinatorica`Private`g]]]], Combinatorica`Private`type, Combinatorica`Private`am, Combinatorica`Private`nb, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToAdjacencyMatrix]]]]], Set[Combinatorica`Private`am, Table[CompoundExpression[Set[Combinatorica`Private`nb, Combinatorica`Private`blanks], Scan[Function[Increment[Part[Combinatorica`Private`nb, Slot[1]]]], Part[Combinatorica`Private`e, Combinatorica`Private`i]], Combinatorica`Private`nb], List[Combinatorica`Private`i, Length[Combinatorica`Private`e]]]], If[SameQ[Combinatorica`Private`type, Simple], CompoundExpression[Do[Set[Part[Combinatorica`Private`am, Combinatorica`Private`i, Combinatorica`Private`i], 0], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]], ReplaceAll[Combinatorica`Private`am, Rule[PatternTest[Blank[Integer], Positive], 1]]], Combinatorica`Private`am]]]], RuleDelayed[ToAdjacencyMatrix[Pattern[Combinatorica`Private`g, Blank[Graph]], EdgeWeight, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`adjList, ToAdjacencyLists[Combinatorica`Private`g, EdgeWeight]], Set[Combinatorica`Private`freshRow, Table[Infinity, List[V[Combinatorica`Private`g]]]], Combinatorica`Private`row, Combinatorica`Private`am, Combinatorica`Private`type, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToAdjacencyMatrix]]]]], Set[Combinatorica`Private`am, Map[Function[CompoundExpression[Set[Combinatorica`Private`row, Combinatorica`Private`freshRow], If[SameQ[Slot[1], List[]], Combinatorica`Private`row, CompoundExpression[Apply[Function[Set[Part[Combinatorica`Private`row, Slot[1]], Slot[2]]], Transpose[Slot[1]]], Combinatorica`Private`row]]]], Combinatorica`Private`adjList]], If[SameQ[Combinatorica`Private`type, Simple], CompoundExpression[Do[Set[Part[Combinatorica`Private`am, Combinatorica`Private`i, Combinatorica`Private`i], 0], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]], Combinatorica`Private`am], Combinatorica`Private`am]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, All]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ToAdjacencyMatrix\"]], False]", "msgs": [], "secs": 0.029} +{"i": 117, "status": "ok", "out": "MatrixForm[List[List[1, 1, 0, 0, 0, 0, 0, 0, 2, 1], List[1, 0, 2, 0, 0, 0, 0, 0, 0, 1], List[0, 2, 0, 1, 0, 0, 0, 0, 0, 1], List[0, 0, 1, 0, 1, 0, 0, 0, 0, 1], List[0, 0, 0, 1, 0, 1, 0, 0, 0, 1], List[0, 0, 0, 0, 1, 0, 1, 0, 0, 1], List[0, 0, 0, 0, 0, 1, 0, 1, 0, 1], List[0, 0, 0, 0, 0, 0, 1, 0, 1, 1], List[2, 0, 0, 0, 0, 0, 0, 1, 0, 1], List[1, 1, 1, 1, 1, 1, 1, 1, 1, 0]]]", "msgs": [], "secs": 0.0} +{"i": 118, "status": "ok", "out": "MatrixForm[List[List[0, 1, 0, 0, 0, 0, 0, 0, 1, 1], List[1, 0, 1, 0, 0, 0, 0, 0, 0, 1], List[0, 1, 0, 1, 0, 0, 0, 0, 0, 1], List[0, 0, 1, 0, 1, 0, 0, 0, 0, 1], List[0, 0, 0, 1, 0, 1, 0, 0, 0, 1], List[0, 0, 0, 0, 1, 0, 1, 0, 0, 1], List[0, 0, 0, 0, 0, 1, 0, 1, 0, 1], List[0, 0, 0, 0, 0, 0, 1, 0, 1, 1], List[1, 0, 0, 0, 0, 0, 0, 1, 0, 1], List[1, 1, 1, 1, 1, 1, 1, 1, 1, 0]]]", "msgs": [], "secs": 0.0} +{"i": 119, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 120, "status": "ok", "out": "TableForm[List[List[DirectedInfinity[1], 61803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 117557, 61803], List[61803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 200000, DirectedInfinity[1], 161803, DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 61803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 161803], List[DirectedInfinity[1], DirectedInfinity[1], 61803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 61803, 117557, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 61803, DirectedInfinity[1], 61803, DirectedInfinity[1], 161803, DirectedInfinity[1]], List[DirectedInfinity[1], 200000, DirectedInfinity[1], DirectedInfinity[1], 117557, 61803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[117557, 161803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 161803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[61803, DirectedInfinity[1], 161803, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]]]]", "msgs": [], "secs": 0.0} +{"i": 121, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 122, "status": "ok", "out": "List[List[DirectedInfinity[1], 1, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[1, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 1, DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], 1, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 1], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 1, DirectedInfinity[1]]]", "msgs": [], "secs": 0.0} +{"i": 123, "status": "ok", "out": "MatrixForm[List[List[0, 1, 0, 0, 0, 0], List[1, 0, 0, 0, 0, 0], List[0, 0, 0, 1, 0, 0], List[0, 0, 1, 0, 0, 0], List[0, 0, 0, 0, 0, 1], List[0, 0, 0, 0, 1, 0]]]", "msgs": [], "secs": 0.0} +{"i": 124, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"FromAdjacencyMatrix\\\", \\\"[\\\", StyleBox[\\\"m\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a graph from a given adjacency matrix \\!\\(\\*StyleBox[\\\"m\\\", \\\"TI\\\"]\\), using a circular embedding. \\n\\!\\(\\*RowBox[{\\\"FromAdjacencyMatrix\\\", \\\"[\\\", RowBox[{StyleBox[\\\"m\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) uses \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the embedding for the resulting graph. An option Type that takes on the values Directed or Undirected can be used to affect the type of graph produced. The default value of Type is Undirected. \\n\\!\\(\\*RowBox[{\\\"FromAdjacencyMatrix\\\", \\\"[\\\", RowBox[{StyleBox[\\\"m\\\", \\\"TI\\\"], \\\",\\\", \\\"EdgeWeight\\\"}], \\\"]\\\"}]\\) interprets the entries in \\!\\(\\*StyleBox[\\\"m\\\", \\\"TI\\\"]\\) as edge weights, with infinity representing missing edges, and from this constructs a weighted graph using a circular embedding. \\n\\!\\(\\*RowBox[{\\\"FromAdjacencyMatrix\\\", \\\"[\\\", RowBox[{StyleBox[\\\"m\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"EdgeWeight\\\"}], \\\"]\\\"}]\\) uses \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the embedding for the resulting graph. The option Type can be used along with the EdgeWeight tag.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FromAdjacencyMatrix, List[RuleDelayed[FromAdjacencyMatrix[Pattern[Combinatorica`Private`m, List[RepeatedNull[List[RepeatedNull[Blank[Integer]]]]]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], ChangeVertices[FromAdjacencyMatrix[Combinatorica`Private`m, Combinatorica`Private`opts], Combinatorica`Private`v]], RuleDelayed[FromAdjacencyMatrix[Pattern[Combinatorica`Private`m, List[RepeatedNull[List[RepeatedNull[Blank[Integer]]]]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`p], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromAdjacencyMatrix]]]]], If[SameQ[Combinatorica`Private`type, Undirected], CompoundExpression[Set[Combinatorica`Private`p, Union[Map[Sort, Position[Combinatorica`Private`m, PatternTest[Blank[Integer], Positive]]]]], Combinatorica`Private`AM[Combinatorica`Private`p, Combinatorica`Private`m]], CompoundExpression[Set[Combinatorica`Private`p, Position[Combinatorica`Private`m, PatternTest[Blank[Integer], Positive]]], SetGraphOptions[Combinatorica`Private`AM[Combinatorica`Private`p, Combinatorica`Private`m], Rule[EdgeDirection, True]]]]]]], RuleDelayed[FromAdjacencyMatrix[Pattern[Combinatorica`Private`m, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], EdgeWeight, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], ChangeVertices[FromAdjacencyMatrix[Combinatorica`Private`m, EdgeWeight, Combinatorica`Private`opts], Combinatorica`Private`v]], RuleDelayed[FromAdjacencyMatrix[Pattern[Combinatorica`Private`m, Blank[List]], EdgeWeight, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`p], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromAdjacencyMatrix]]]]], If[SameQ[Combinatorica`Private`type, Undirected], CompoundExpression[Set[Combinatorica`Private`p, Union[Map[Sort, Position[Combinatorica`Private`m, PatternTest[Blank[], NumericQ], 2]]]], Combinatorica`Private`AM[Combinatorica`Private`p, Combinatorica`Private`m, EdgeWeight]], CompoundExpression[Set[Combinatorica`Private`p, Position[Combinatorica`Private`m, PatternTest[Blank[], NumericQ], 2]], SetGraphOptions[Combinatorica`Private`AM[Combinatorica`Private`p, Combinatorica`Private`m, EdgeWeight], Rule[EdgeDirection, True]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"N...", "msgs": [], "secs": 0.037} +{"i": 125, "status": "ok", "out": "Graph[List[List[List[1, 1]], List[List[1, 2]], List[List[1, 9]], List[List[1, 9]], List[List[1, 10]], List[List[2, 3]], List[List[2, 3]], List[List[2, 10]], List[List[3, 4]], List[List[3, 10]], List[List[4, 5]], List[List[4, 10]], List[List[5, 6]], List[List[5, 10]], List[List[6, 7]], List[List[6, 10]], List[List[7, 8]], List[List[7, 10]], List[List[8, 9]], List[List[8, 10]], List[List[9, 10]]], List[List[List[80902, 58779]], List[List[30902, 95106]], List[List[-30902, 95106]], List[List[-80902, 58779]], List[List[-100000, 0]], List[List[-80902, -58779]], List[List[-30902, -95106]], List[List[30902, -95106]], List[List[80902, -58779]], List[List[100000, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 126, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 127, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"PseudographQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is a pseudograph, meaning it contains self-loops.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, PseudographQ, List[RuleDelayed[PseudographQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], MemberQ[Edges[Combinatorica`Private`g], PatternTest[Blank[], Function[Combinatorica`Private`l, Equal[Part[Combinatorica`Private`l, 1], Part[Combinatorica`Private`l, 2]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`PseudographQ\"]], False]", "msgs": [], "secs": 0.03} +{"i": 128, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 129, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 130, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"UnweightedQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if all edge weights are 1 and False otherwise.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, UnweightedQ, List[RuleDelayed[UnweightedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], SameQ[Count[GetEdgeWeights[Combinatorica`Private`g], 1], M[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`UnweightedQ\"]], False]", "msgs": [], "secs": 0.03} +{"i": 131, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 132, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 133, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SimpleQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is a simple graph, meaning it has no multiple edges and contains no self-loops.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SimpleQ, List[RuleDelayed[SimpleQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], And[Not[PseudographQ[Combinatorica`Private`g]], Not[MultipleEdgesQ[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SimpleQ\"]], False]", "msgs": [], "secs": 0.029} +{"i": 134, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 135, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 136, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 137, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RemoveSelfLoops\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the graph obtained by deleting self-loops in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RemoveSelfLoops, List[RuleDelayed[RemoveSelfLoops[Pattern[Combinatorica`Private`g, Blank[Graph]]], ChangeEdges[Combinatorica`Private`g, Select[Edges[Combinatorica`Private`g, All], Function[Unequal[Part[First[Slot[1]], 1], Part[First[Slot[1]], 2]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RemoveSelfLoops\"]], False]", "msgs": [], "secs": 0.028} +{"i": 138, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 139, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 140, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 141, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RemoveMultipleEdges\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the graph obtained by deleting multiple edges from \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RemoveMultipleEdges, List[RuleDelayed[RemoveMultipleEdges[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`rme[Combinatorica`Private`g, First]], RuleDelayed[RemoveMultipleEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], True], Combinatorica`Private`rme[Combinatorica`Private`g, Combinatorica`Private`mergeedges]], RuleDelayed[RemoveMultipleEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], False], Combinatorica`Private`rme[Combinatorica`Private`g, First]], RuleDelayed[RemoveMultipleEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`f, Blank[]]], Combinatorica`Private`rme[Combinatorica`Private`g, Combinatorica`Private`f]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RemoveMultipleEdges\"]], False]", "msgs": [], "secs": 0.029} +{"i": 142, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 143, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 144, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 145, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 146, "status": "ok", "out": "22", "msgs": [], "secs": 0.0} +{"i": 147, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 148, "status": "ok", "out": "18", "msgs": [], "secs": 0.0} +{"i": 149, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 150, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EmptyQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) contains no edges.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EmptyQ, List[RuleDelayed[EmptyQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Equal[Length[Edges[Combinatorica`Private`g]], 0]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EmptyQ\"]], False]", "msgs": [], "secs": 0.032} +{"i": 151, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 152, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 153, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CompleteQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is complete. This means that between any pair of vertices there is an undirected edge or two directed edges going in opposite directions.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CompleteQ, List[RuleDelayed[CompleteQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Block[List[Set[Combinatorica`Private`n, V[Combinatorica`Private`g]], Set[Combinatorica`Private`m, M[Combinatorica`Private`g]]], And[SimpleQ[Combinatorica`Private`g], Or[And[UndirectedQ[Combinatorica`Private`g], Equal[Combinatorica`Private`m, Times[Combinatorica`Private`n, Times[Plus[Combinatorica`Private`n, -1], Power[2, -1]]]]], And[Not[UndirectedQ[Combinatorica`Private`g]], Equal[Combinatorica`Private`m, Times[Combinatorica`Private`n, Plus[Combinatorica`Private`n, -1]]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CompleteQ\"]], False]", "msgs": [], "secs": 0.034} +{"i": 154, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 155, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 156, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 157, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 158, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 159, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 160, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 161, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 162, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 163, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 164, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 165, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MultipleEdgesQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) has multiple edges between pairs of vertices. It yields False otherwise.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MultipleEdgesQ, List[RuleDelayed[MultipleEdgesQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]]], Unequal[Length[Combinatorica`Private`e], Length[Union[Combinatorica`Private`e]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MultipleEdgesQ\"]], False]", "msgs": [], "secs": 0.031} +{"i": 166, "status": "ok", "out": "List[List[1, 1], List[1, 2], List[1, 9], List[1, 9], List[1, 10], List[2, 3], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 167, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 168, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 169, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 170, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 171, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"InduceSubgraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"s\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs the subgraph of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) induced by the list of vertices \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, InduceSubgraph, List[RuleDelayed[InduceSubgraph[Pattern[Combinatorica`Private`g, Blank[Graph]], List[]], Graph[List[], List[]]], RuleDelayed[InduceSubgraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]]], Condition[PermuteSubgraph[Combinatorica`Private`g, Union[Combinatorica`Private`s]], Equal[Complement[Combinatorica`Private`s, Range[V[Combinatorica`Private`g]]], List[]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`InduceSubgraph\"]], False]", "msgs": [], "secs": 0.032} +{"i": 172, "status": "ok", "out": "ShowGraph[Graph[List[List[List[1, 4]], List[List[2, 4]], List[List[3, 4]], List[List[2, 3]], List[List[1, 3]], List[List[1, 1]], List[List[1, 3]]], List[List[List[76604, 64279]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]], Rule[Background, HotPink], Rule[VertexNumber, Text[List[2000, 2000], Rule[TextStyle, List[Rule[FontSize, 12]]]]], Graphics]", "msgs": [], "secs": 0.0} +{"i": 173, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\""], "secs": 0.037} +{"i": 174, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 175, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 176, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 177, "status": "ok", "out": "Null", "msgs": [], "secs": 0.006} +{"i": 178, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 179, "status": "ok", "out": "List[List[0, Null], List[1851, Null]]", "msgs": [], "secs": 0.019} +{"i": 180, "status": "ok", "out": "", "msgs": [], "secs": 0.445} +{"i": 181, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 182, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 183, "status": "ok", "out": "DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`InduceSubgraph[DiscreteMath`OldCombinatorica`GridGraph[10, 10], List[2, 5, 6, 9, 11, 14, 15, 16, 17, 20, 22, 25, 26, 27, 31, 34, 35, 36, 37, 38, 41, 42, 43, 45, 46, 47, 49, 51, 52, 54, 56, 59, 60, 62, 63, 64, 65, 66, 67, 69, 70, 72, 73, 74, 75, 76, 79, 80, 81, 83, 84, 85, 87, 89, 92, 94, 99]]]", "msgs": [], "secs": 0.0} +{"i": 184, "status": "ok", "out": "", "msgs": [], "secs": 0.022} +{"i": 185, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"PermuteSubgraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"p\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) permutes the vertices of a subgraph of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) induced by \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\) according to \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, PermuteSubgraph, List[RuleDelayed[PermuteSubgraph[Pattern[Combinatorica`Private`g, Blank[Graph]], List[]], Graph[List[], List[]]], RuleDelayed[PermuteSubgraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]]], Condition[Graph[If[UndirectedQ[Combinatorica`Private`g], Map[Function[Prepend[Rest[Slot[1]], Sort[First[Slot[1]]]]], Combinatorica`Private`PermuteEdges[Edges[Combinatorica`Private`g, All], Combinatorica`Private`s, V[Combinatorica`Private`g]]], Combinatorica`Private`PermuteEdges[Edges[Combinatorica`Private`g, All], Combinatorica`Private`s, V[Combinatorica`Private`g]]], Part[Vertices[Combinatorica`Private`g, All], Sort[Combinatorica`Private`s]], Apply[Sequence, GraphOptions[Combinatorica`Private`g]]], And[LessEqual[Length[Combinatorica`Private`s], V[Combinatorica`Private`g]], Equal[Length[Union[Combinatorica`Private`s]], Length[Combinatorica`Private`s]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`PermuteSubgraph\"]], False]", "msgs": [], "secs": 0.051000000000000004} +{"i": 186, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 187, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 188, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 189, "status": "ok", "out": "57", "msgs": [], "secs": 0.0} +{"i": 190, "status": "ok", "out": "", "msgs": [], "secs": 0.015} +{"i": 191, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 192, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Contract\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) gives the graph resulting from contracting the pair of vertices \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Contract, List[RuleDelayed[Contract[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`l, Blank[List]]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]], Set[Combinatorica`Private`t, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`cnt, 0], Set[Combinatorica`Private`last, Plus[V[Combinatorica`Private`g], Times[-1, Length[Combinatorica`Private`l]], 1]], Set[Combinatorica`Private`undirected, UndirectedQ[Combinatorica`Private`g]]], CompoundExpression[Do[If[MemberQ[Combinatorica`Private`l, Combinatorica`Private`k], CompoundExpression[Increment[Combinatorica`Private`cnt], Set[Part[Combinatorica`Private`t, Combinatorica`Private`k], Combinatorica`Private`last]], Set[Part[Combinatorica`Private`t, Combinatorica`Private`k], Plus[Combinatorica`Private`k, Times[-1, Combinatorica`Private`cnt]]]], List[Combinatorica`Private`k, V[Combinatorica`Private`g]]], Graph[DeleteCases[ReplaceAll[Edges[Combinatorica`Private`g, All], RuleDelayed[List[List[Pattern[Combinatorica`Private`x, Blank[Integer]], Pattern[Combinatorica`Private`y, Blank[Integer]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], List[If[Combinatorica`Private`undirected, Sort, Identity][List[Part[Combinatorica`Private`t, Combinatorica`Private`x], Part[Combinatorica`Private`t, Combinatorica`Private`y]]], Combinatorica`Private`opts]]], List[List[Combinatorica`Private`last, Combinatorica`Private`last], PatternTest[BlankNullSequence[], OptionQ]]], Append[Part[Combinatorica`Private`v, Complement[Range[Length[Combinatorica`Private`v]], Combinatorica`Private`l]], List[Times[Apply[Plus, Map[First, Part[Combinatorica`Private`v, Combinatorica`Private`l]]], Power[Length[Combinatorica`Private`l], -1]]]], Apply[Sequence, GraphOptions[Combinatorica`Private`g]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Contract\"]], False]", "msgs": [], "secs": 0.034} +{"i": 193, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 194, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 195, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphComplement\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphComplement, List[RuleDelayed[GraphComplement[Pattern[Combinatorica`Private`g, Blank[Graph]]], ChangeVertices[DeleteEdges[If[UndirectedQ[Combinatorica`Private`g], CompleteGraph[V[Combinatorica`Private`g]], CompleteGraph[V[Combinatorica`Private`g], Rule[Type, Directed]]], Edges[Combinatorica`Private`g]], Vertices[Combinatorica`Private`g, All]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphComplement\"]], False]", "msgs": [], "secs": 0.048} +{"i": 196, "status": "ok", "out": "Graph[List[], List[]]", "msgs": [], "secs": 0.0} +{"i": 197, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 198, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 199, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\"", "\"Further output of `1` will be suppressed during this calculation.\""], "secs": 0.018000000000000002} +{"i": 200, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 201, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 202, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MakeUndirected\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the underlying undirected graph of the given directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MakeUndirected, List[RuleDelayed[MakeUndirected[Pattern[Combinatorica`Private`g, Blank[Graph]]], If[UndirectedQ[Combinatorica`Private`g], Combinatorica`Private`g, RemoveMultipleEdges[SetGraphOptions[ChangeEdges[Combinatorica`Private`g, ReplaceAll[Edges[Combinatorica`Private`g, All], RuleDelayed[List[Pattern[Combinatorica`Private`x, Blank[Integer]], Pattern[Combinatorica`Private`y, Blank[Integer]]], Sort[List[Combinatorica`Private`x, Combinatorica`Private`y]]]]], Rule[EdgeDirection, False]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MakeUndirected\"]], False]", "msgs": [], "secs": 0.027} +{"i": 203, "status": "ok", "out": "Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]], List[List[1, 1]], List[List[1, 9]], List[List[2, 3]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 204, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 205, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 206, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 207, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 208, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 209, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 210, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 211, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"UndirectedQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is undirected.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, UndirectedQ, List[RuleDelayed[UndirectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], And[Not[MemberQ[GraphOptions[Combinatorica`Private`g], Rule[EdgeDirection, On]]], Not[MemberQ[GraphOptions[Combinatorica`Private`g], Rule[EdgeDirection, True]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`UndirectedQ\"]], False]", "msgs": [], "secs": 0.027} +{"i": 212, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 213, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 214, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 215, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MakeSimple\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the undirected graph free of multiple edges and self-loops that is derived from graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MakeSimple, List[RuleDelayed[MakeSimple[Pattern[Combinatorica`Private`g, Blank[Graph]]], MakeUndirected[RemoveMultipleEdges[RemoveSelfLoops[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MakeSimple\"]], False]", "msgs": [], "secs": 0.031} +{"i": 216, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 217, "status": "ok", "out": "18", "msgs": [], "secs": 0.0} +{"i": 218, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 219, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 220, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DepthFirstTraversal\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) performs a depth-first traversal of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) starting from vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\), and gives a list of vertices in the order in which they were encountered. \\n\\!\\(\\*RowBox[{\\\"DepthFirstTraversal\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Edge\\\"}], \\\"]\\\"}]\\) returns the edges of the graph that are traversed by the depth-first traversal in the order in which they are traversed. \\n\\!\\(\\*RowBox[{\\\"DepthFirstTraversal\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Tree\\\"}], \\\"]\\\"}]\\) returns the depth-first tree of the graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DepthFirstTraversal, List[RuleDelayed[DepthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, Blank[Integer]], Optional[Pattern[Combinatorica`Private`flag, Blank[]], Combinatorica`Private`Vertex]], Condition[Block[List[Set[Combinatorica`Private`visit, List[]], Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Set[Combinatorica`Private`edges, List[]], Set[Combinatorica`Private`parent, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`cnt, 1], Set[$RecursionLimit, Infinity]], CompoundExpression[Set[Part[Combinatorica`Private`parent, Combinatorica`Private`start], Combinatorica`Private`start], Combinatorica`Private`DFS[Combinatorica`Private`start], Switch[Combinatorica`Private`flag, Edge, Combinatorica`Private`edges, Tree, ChangeEdges[Combinatorica`Private`g, Combinatorica`Private`edges], Combinatorica`Private`Vertex, Combinatorica`Private`visit]]], And[LessEqual[1, Combinatorica`Private`start], LessEqual[Combinatorica`Private`start, V[Combinatorica`Private`g]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DepthFirstTraversal\"]], False]", "msgs": [], "secs": 0.028} +{"i": 221, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 222, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 223, "status": "ok", "out": "List[2, 1, 9, 8, 7, 6, 5, 4, 3, 10]", "msgs": [], "secs": 0.0} +{"i": 224, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 225, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 226, "status": "ok", "out": "List[2, 3, 4, 5, 6, 7, 8, 9, 1, 10]", "msgs": [], "secs": 0.0} +{"i": 227, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 228, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 229, "status": "ok", "out": "List[2, 10, 1, 9, 8, 7, 6, 5, 4, 3]", "msgs": [], "secs": 0.0} +{"i": 230, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 231, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 232, "status": "ok", "out": "Null", "msgs": [], "secs": 0.003} +{"i": 233, "status": "ok", "out": "", "msgs": [], "secs": 0.217} +{"i": 234, "status": "crash", "out": "", "msgs": [], "secs": null} +{"i": 235, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 236, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\""], "secs": 3.186} +{"i": 237, "status": "ok", "out": "DepthFirstTraversal[SetGraphOptions[t, Rule[EdgeDirection, On]], 10, Edge]", "msgs": [], "secs": 0.0} +{"i": 238, "status": "crash", "out": "", "msgs": [], "secs": null} +{"i": 239, "status": "msg", "out": "ListPlot[rt, Rule[PlotJoined, True]]", "msgs": ["ListPlot::optx"], "secs": 0.024} +{"i": 240, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 241, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 242, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.797} +{"i": 243, "status": "msg", "out": "ListPlot[rt, Rule[PlotJoined, True]]", "msgs": ["ListPlot::optx"], "secs": 0.011} +{"i": 244, "status": "ok", "out": "List[List[1, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.046} +{"i": 245, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) performs a breadth-first traversal of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) starting from vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\), and gives the breadth-first numbers of the vertices. \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"]}], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Edge\\\"}], \\\"]\\\"}]\\) returns the edges of the graph that are traversed by breadth-first traversal. \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"]}], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Tree\\\"}], \\\"]\\\"}]\\) returns the breadth-first search tree. \\n\\!\\(\\*RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"Level\\\", \\\"]\\\"}]}]\\) returns the level number of the vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BreadthFirstTraversal, List[RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive]], Condition[First[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`t, Blank[Integer]], Positive]], Condition[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s, Combinatorica`Private`t], And[LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]], LessEqual[Combinatorica`Private`t, V[Combinatorica`Private`g]]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Edge], Condition[Module[List[Set[Combinatorica`Private`b, Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], Combinatorica`Private`v, Combinatorica`Private`p], CompoundExpression[Set[Combinatorica`Private`v, InversePermutation[Cases[Part[Combinatorica`Private`b, 1], PatternTest[Blank[], Positive]]]], Set[Combinatorica`Private`p, Part[Combinatorica`Private`b, 2]], Table[List[Part[Combinatorica`Private`p, Part[Combinatorica`Private`v, Combinatorica`Private`i]], Part[Combinatorica`Private`v, Combinatorica`Private`i]], List[Combinatorica`Private`i, 2, Length[Combinatorica`Private`v]]]]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Tree], Condition[Module[List[Set[Combinatorica`Private`p, Part[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s], 2]]], ChangeEdges[Combinatorica`Private`g, Flatten[Table[If[Unequal[Combinatorica`Private`i, Part[Combinatorica`Private`p, Combinatorica`Private`i]], List[List[List[Part[Combinatorica`Private`p, Combinatorica`Private`i], Combinatorica`Private`i]]], List[]], List[Combinatorica`Private`i, Length[Combinatorica`Private`p]]], 1]]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Level], Condition[Last[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protec...", "msgs": [], "secs": 0.112} +{"i": 246, "status": "ok", "out": "ShowGraph[DeleteEdges[t, List[List[2, 3]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.001} +{"i": 247, "status": "ok", "out": "ShowGraph[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 248, "status": "ok", "out": "ShowGraph[BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 1, Tree], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.001} +{"i": 249, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 1, Edge]", "msgs": [], "secs": 0.0} +{"i": 250, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 1, Level]", "msgs": [], "secs": 0.0} +{"i": 251, "status": "ok", "out": "ShowGraph[BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 10, Tree], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 252, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 10, Edge]", "msgs": [], "secs": 0.0} +{"i": 253, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 10, Level]", "msgs": [], "secs": 0.0} +{"i": 254, "status": "ok", "out": "ShowGraph[BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 5, Tree], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 255, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 5, Edge]", "msgs": [], "secs": 0.0} +{"i": 256, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 5, Level]", "msgs": [], "secs": 0.0} +{"i": 257, "status": "msg", "out": "ShowGraph[Highlight[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], List[BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], Sort[2], Sort[Edge]]], Rule[HighlightedEdgeColors, List[RGBColor[0, 0, 1]]]], Rule[VertexNumber, On]]", "msgs": ["Sort::normal", "Sort::normal"], "secs": 0.113} +{"i": 258, "status": "ok", "out": "Null", "msgs": [], "secs": 0.02} +{"i": 259, "status": "ok", "out": "", "msgs": [], "secs": 1.083} +{"i": 260, "status": "ok", "out": "Null", "msgs": [], "secs": 0.036000000000000004} +{"i": 261, "status": "ok", "out": "", "msgs": [], "secs": 0.106} +{"i": 262, "status": "ok", "out": "List[List[2, 1], List[2, 3], List[6, 6], List[7, 7], List[10, 10], List[8, 8], List[14, 14], List[19, 4], List[9, 9], List[13, 13], List[21, 21], List[4, 5], List[11, 11], List[19, 20], List[18, 19], List[28, 28], List[27, 27], List[48, 34], List[35, 35], List[32, 44], List[36, 36], List[62, 45], List[44, 43], List[29, 29], List[37, 37], List[30, 30], List[22, 22], List[15, 15], List[23, 23], List[24, 24], List[16, 16], List[25, 25], List[31, 31], List[3, 17], List[26, 26], List[38, 38], List[17, 18], List[17, 32], List[39, 39], List[64, 46], List[12, 12], List[20, 33], List[40, 40], List[41, 41], List[42, 42], List[47, 48], List[49, 49], List[53, 53], List[50, 50], List[54, 54], List[58, 58], List[55, 55], List[57, 57], List[80, 62], List[60, 59], List[56, 56], List[44, 61], List[43, 60], List[52, 52], List[46, 47], List[51, 51]]", "msgs": [], "secs": 0.008} +{"i": 263, "status": "ok", "out": "", "msgs": [], "secs": 0.117} +{"i": 264, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CircularVertices\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a list of \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) points equally spaced on a circle. \\n\\!\\(\\*RowBox[{\\\"CircularVertices\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) embeds the vertices of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) equally spaced on a circle.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CircularVertices, List[RuleDelayed[CircularVertices[0], List[]], RuleDelayed[CircularVertices[Pattern[Combinatorica`Private`n, Blank[Integer]]], Module[List[Combinatorica`Private`i, Set[Combinatorica`Private`x, N[Times[2, Times[Pi, Power[Combinatorica`Private`n, -1]]]]]], Chop[Table[N[List[Cos[Times[Combinatorica`Private`x, Combinatorica`Private`i]], Sin[Times[Combinatorica`Private`x, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Combinatorica`Private`n]]]]], RuleDelayed[CircularVertices[Pattern[Combinatorica`Private`g, Blank[Graph]]], ChangeVertices[Combinatorica`Private`g, CircularVertices[V[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CircularVertices\"]], False]", "msgs": [], "secs": 0.037} +{"i": 265, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 266, "status": "ok", "out": "ShowGraph[CircularVertices[t]]", "msgs": [], "secs": 0.0} +{"i": 267, "status": "ok", "out": "", "msgs": [], "secs": 0.014} +{"i": 268, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RankGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"l\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) partitions the vertices into classes based on the shortest geodesic distance to a member of list \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RankGraph, List[RuleDelayed[RankGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, Blank[List]]], Module[List[Set[Combinatorica`Private`rank, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`edges, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`v, Combinatorica`Private`queue, Combinatorica`Private`new], CompoundExpression[Scan[Function[Set[Part[Combinatorica`Private`rank, Slot[1]], 1]], Combinatorica`Private`start], Set[Combinatorica`Private`queue, Combinatorica`Private`start], While[Unequal[Combinatorica`Private`queue, List[]], CompoundExpression[Set[Combinatorica`Private`v, First[Combinatorica`Private`queue]], Set[Combinatorica`Private`new, Select[Part[Combinatorica`Private`edges, Combinatorica`Private`v], Function[Equal[Part[Combinatorica`Private`rank, Slot[1]], 0]]]], Scan[Function[Set[Part[Combinatorica`Private`rank, Slot[1]], Plus[Part[Combinatorica`Private`rank, Combinatorica`Private`v], 1]]], Combinatorica`Private`new], Set[Combinatorica`Private`queue, Join[Rest[Combinatorica`Private`queue], Combinatorica`Private`new]], Null]], Combinatorica`Private`rank]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RankGraph\"]], False]", "msgs": [], "secs": 0.031} +{"i": 269, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 270, "status": "ok", "out": "List[1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5]", "msgs": [], "secs": 0.0} +{"i": 271, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 272, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 273, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RankedEmbedding\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) takes a set partition \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\) of vertices \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"1\\\", \\\",\\\", \\\"2\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) and returns an embedding of the vertices in the plane such that the vertices in each block occur on a vertical line with block 1 vertices on the leftmost line, block 2 vertices in the next line, and so on. \\n\\!\\(\\*RowBox[{\\\"RankedEmbedding\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"l\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) takes a graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and a set partition \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\) of the vertices of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and returns the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with vertices embedded according to \\!\\(\\*RowBox[{\\\"RankedEmbedding\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\). \\n\\!\\(\\*RowBox[{\\\"RankedEmbedding\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"s\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) takes a graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and a set \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\) of vertices of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and returns a ranked embedding of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) in which vertices in \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\) are in block 1, vertices at distance 1 from any vertex in block 1 are in block 2, and so on.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RankedEmbedding, List[RuleDelayed[RankedEmbedding[Pattern[Combinatorica`Private`stages, Blank[List]]], Module[List[Combinatorica`Private`m, Combinatorica`Private`rank, Combinatorica`Private`stageSizes, Set[Combinatorica`Private`freq, Table[0, List[Length[Combinatorica`Private`stages]]]], Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`rank, Table[Part[Position[Combinatorica`Private`stages, Combinatorica`Private`i], 1, 1], List[Combinatorica`Private`i, Max[Combinatorica`Private`stages]]]], Set[Combinatorica`Private`stageSizes, Distribution[Combinatorica`Private`rank]], Table[CompoundExpression[Set[Combinatorica`Private`m, PreIncrement[Part[Combinatorica`Private`freq, Part[Combinatorica`Private`rank, Combinatorica`Private`i]]]], N[List[Part[Combinatorica`Private`rank, Combinatorica`Private`i], Plus[Plus[Combinatorica`Private`m, -1], Times[Plus[1, Times[-1, Part[Combinatorica`Private`stageSizes, Part[Combinatorica`Private`rank, Combinatorica`Private`i]]]], Power[2, -1]]]]]], List[Combinatorica`Private`i, Max[Combinatorica`Private`stages]]]]]], RuleDelayed[RankedEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`stages, Blank[List]]], Condition[ChangeVertices[Combinatorica`Private`g, RankedEmbedding[Combinatorica`Private`stages]], SetPartitionQ[Combinatorica`Private`stages, Range[V[Combinatorica`Private`g]]]]], RuleDelayed[RankedEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, List[Repeated[PatternTest[Blank[Integer], Positive]]]]], Condition[Module[List[Set[Combinatorica`Private`l, RankGraph[Combinatorica`Private`g, Combinatorica`Private`start]], Combinatorica`Private`i], RankedEmbedding[Combinatorica`Private`g, Table[Flatten[Position[Combinatorica`Private`l, Combinatorica`Private`i]], List[Combinatorica`Private`i, Max[Combinatorica`Private`l]]]]], LessEqual[Max[Combinatorica`Private`start], V[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RankedEmbedding\"]], False]", "msgs": [], "secs": 0.034} +{"i": 274, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 275, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 276, "status": "ok", "out": "ShowGraph[RankedEmbedding[t, List[1]]]", "msgs": [], "secs": 0.0} +{"i": 277, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`Eccentricity\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Eccentricity, List[RuleDelayed[Eccentricity[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, Blank[Integer]], Combinatorica`Private`NoEdgeWeights], Max[BreadthFirstTraversal[Combinatorica`Private`g, Combinatorica`Private`start, Level]]], RuleDelayed[Eccentricity[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, Blank[Integer]]], Condition[Eccentricity[Combinatorica`Private`g, Combinatorica`Private`start, Combinatorica`Private`NoEdgeWeights], UnweightedQ[Combinatorica`Private`g]]], RuleDelayed[Eccentricity[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, Blank[Integer]]], Map[Max, Last[BellmanFord[Combinatorica`Private`g, Combinatorica`Private`start]]]], RuleDelayed[Eccentricity[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Table[Eccentricity[Combinatorica`Private`g, Combinatorica`Private`i, Combinatorica`Private`NoEdgeWeights], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]], UnweightedQ[Combinatorica`Private`g]]], RuleDelayed[Eccentricity[Pattern[Combinatorica`Private`g, Blank[Graph]]], Map[Max, AllPairsShortestPath[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Eccentricity\"]], False]", "msgs": [], "secs": 0.057} +{"i": 278, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 279, "status": "ok", "out": "List[2, 2, 2, 2, 2, 2, 2, 2, 2, 1]", "msgs": [], "secs": 0.003} +{"i": 280, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 281, "status": "ok", "out": "List[18, 17, 16, 15, 14, 14, 15, 16, 17, 18, 17, 16, 15, 14, 13, 13, 14, 15, 16, 17, 16, 15, 14, 13, 12, 12, 13, 14, 15, 16, 15, 14, 13, 12, 11, 11, 12, 13, 14, 15, 14, 13, 12, 11, 10, 10, 11, 12, 13, 14, 14, 13, 12, 11, 10, 10, 11, 12, 13, 14, 15, 14, 13, 12, 11, 11, 12, 13, 14, 15, 16, 15, 14, 13, 12, 12, 13, 14, 15, 16, 17, 16, 15, 14, 13, 13, 14, 15, 16, 17, 18, 17, 16, 15, 14, 14, 15, 16, 17, 18]", "msgs": [], "secs": 0.301} +{"i": 282, "status": "ok", "out": "List[31354, Null]", "msgs": [], "secs": 0.439} +{"i": 283, "status": "ok", "out": "Null", "msgs": [], "secs": 0.034} +{"i": 284, "status": "ok", "out": "List[11365, Null]", "msgs": [], "secs": 0.133} +{"i": 285, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 286, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 287, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Diameter\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the diameter of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\): the maximum length, among all pairs of vertices in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), of a shortest path between each pair.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Diameter, List[RuleDelayed[Diameter[Pattern[Combinatorica`Private`g, Blank[Graph]]], Max[Eccentricity[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Diameter\"]], False]", "msgs": [], "secs": 0.045} +{"i": 288, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 289, "status": "ok", "out": "1", "msgs": [], "secs": 0.031} +{"i": 290, "status": "ok", "out": "Null", "msgs": [], "secs": 0.02} +{"i": 291, "status": "ok", "out": "4", "msgs": [], "secs": 0.018000000000000002} +{"i": 292, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 293, "status": "ok", "out": "3", "msgs": [], "secs": 0.15} +{"i": 294, "status": "ok", "out": "Null", "msgs": [], "secs": 0.003} +{"i": 295, "status": "ok", "out": "2", "msgs": [], "secs": 1.19} +{"i": 296, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`Radius\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Radius, List[RuleDelayed[Radius[Pattern[Combinatorica`Private`g, Blank[Graph]]], Min[Eccentricity[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Radius\"]], False]", "msgs": [], "secs": 0.064} +{"i": 297, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 298, "status": "ok", "out": "1", "msgs": [], "secs": 0.214} +{"i": 299, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphCenter\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphCenter, List[RuleDelayed[GraphCenter[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`eccentricity, Eccentricity[Combinatorica`Private`g]]], Flatten[Position[Combinatorica`Private`eccentricity, Min[Combinatorica`Private`eccentricity]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphCenter\"]], False]", "msgs": [], "secs": 0.04} +{"i": 300, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 301, "status": "ok", "out": "List[100]", "msgs": [], "secs": 0.214} +{"i": 302, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RadialEmbedding\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a radial embedding of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) in which vertices are placed on concentric circles around \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) depending on their distance from \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"RadialEmbedding\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a radial embedding of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), radiating from the center of the graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RadialEmbedding, List[RuleDelayed[RadialEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ct, Blank[Integer]]], Condition[ChangeVertices[Combinatorica`Private`g, Vertices[RadialEmbedding[MakeUndirected[Combinatorica`Private`g], Combinatorica`Private`ct]]], And[Not[UndirectedQ[Combinatorica`Private`g]], LessEqual[1, Combinatorica`Private`ct], LessEqual[Combinatorica`Private`ct, V[Combinatorica`Private`g]]]]], RuleDelayed[RadialEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ct, Blank[Integer]]], Condition[Module[List[Set[Combinatorica`Private`center, Combinatorica`Private`ct], Combinatorica`Private`ang, Combinatorica`Private`i, Combinatorica`Private`da, Combinatorica`Private`theta, Combinatorica`Private`n, Combinatorica`Private`v, Combinatorica`Private`positioned, Combinatorica`Private`done, Combinatorica`Private`next, Combinatorica`Private`new, Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]]], CompoundExpression[Set[Combinatorica`Private`ang, Table[List[0, Times[2, Pi]], List[Set[Combinatorica`Private`n, V[Combinatorica`Private`g]]]]], Set[Combinatorica`Private`v, Table[List[0, 0], List[Combinatorica`Private`n]]], Set[Combinatorica`Private`positioned, Set[Combinatorica`Private`next, Set[Combinatorica`Private`done, List[Combinatorica`Private`center]]]], While[Unequal[Combinatorica`Private`next, List[]], CompoundExpression[Set[Combinatorica`Private`center, First[Combinatorica`Private`next]], Set[Combinatorica`Private`new, Complement[Part[Combinatorica`Private`e, Combinatorica`Private`center], Combinatorica`Private`positioned]], Do[CompoundExpression[Set[Combinatorica`Private`da, Times[Plus[Part[Combinatorica`Private`ang, Combinatorica`Private`center, 2], Times[-1, Part[Combinatorica`Private`ang, Combinatorica`Private`center, 1]]], Power[Length[Combinatorica`Private`new], -1]]], Set[Part[Combinatorica`Private`ang, Part[Combinatorica`Private`new, Combinatorica`Private`i]], List[Plus[Part[Combinatorica`Private`ang, Combinatorica`Private`center, 1], Times[Plus[Combinatorica`Private`i, -1], Combinatorica`Private`da]], Plus[Part[Combinatorica`Private`ang, Combinatorica`Private`center, 1], Times[Combinatorica`Private`i, Combinatorica`Private`da]]]], Set[Combinatorica`Private`theta, Times[Apply[Plus, Part[Combinatorica`Private`ang, Part[Combinatorica`Private`new, Combinatorica`Private`i]]], Power[2, -1]]], Set[Part[Combinatorica`Private`v, Part[Combinatorica`Private`new, Combinatorica`Private`i]], Plus[Part[Combinatorica`Private`v, Combinatorica`Private`center], N[List[Cos[Combinatorica`Private`theta], Sin[Combinatorica`Private`theta]]]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`new]]], Set[Combinatorica`Private`next, Join[Rest[Combinatorica`Private`next], Combinatorica`Private`new]], Set[Combinatorica`Private`positioned, Union[Combinatorica`Private`positioned, Combinatorica`Private`new]], AppendTo[Combinatorica`Private`done, Combinatorica`Private`center]]], ChangeVertices[Combinatorica`Private`g, Map[Function[List[Slot[1]]], Combinatorica`Private`v]]]], And[LessEqual[1, Combinatorica`Private`ct], LessEqual[Combinatorica`Private`ct, V[Combinatorica`Private`g]]]]], RuleDela...", "msgs": [], "secs": 0.028} +{"i": 303, "status": "ok", "out": "Null", "msgs": [], "secs": 0.256} +{"i": 304, "status": "ok", "out": "ShowGraph[Tree[3, List[Tree[19, List[Tree[12, None]]], Tree[2, List[Tree[13, List[Tree[15, List[Tree[4, List[Tree[8, List[Tree[20, List[Tree[9, None]]]]]]], Tree[6, List[Tree[10, List[Tree[14, None], Tree[11, None]]]]]]]]], Tree[16, List[Tree[1, List[Tree[18, None]]], Tree[5, List[Tree[17, None], Tree[7, None]]]]]]]]]]", "msgs": [], "secs": 0.0} +{"i": 305, "status": "ok", "out": "ShowGraph[RadialEmbedding[Tree[3, List[Tree[19, List[Tree[12, None]]], Tree[2, List[Tree[13, List[Tree[15, List[Tree[4, List[Tree[8, List[Tree[20, List[Tree[9, None]]]]]]], Tree[6, List[Tree[10, List[Tree[14, None], Tree[11, None]]]]]]]]], Tree[16, List[Tree[1, List[Tree[18, None]]], Tree[5, List[Tree[17, None], Tree[7, None]]]]]]]]], 11], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 306, "status": "ok", "out": "ShowGraph[RadialEmbedding[Tree[16, List[Tree[2, List[Tree[3, List[Tree[14, List[Tree[19, None]]], Tree[11, List[Tree[6, List[Tree[18, None], Tree[20, List[Tree[1, List[Tree[8, List[Tree[7, List[Tree[9, None]]]]], Tree[5, List[Tree[15, List[Tree[13, None]]]]]]], Tree[12, None]]]]], Tree[17, List[Tree[4, None]]], Tree[10, None]]]]]]]]], 11], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.001} +{"i": 307, "status": "ok", "out": "ShowGraph[RadialEmbedding[Tree[4, List[Tree[1, List[Tree[15, List[Tree[17, List[Tree[14, List[Tree[20, None], Tree[3, None]]], Tree[7, List[Tree[19, None]]]]], Tree[5, List[Tree[16, List[Tree[18, None], Tree[13, None], Tree[8, None], Tree[2, List[Tree[10, None]]], Tree[12, List[Tree[11, None], Tree[9, None]]]]], Tree[6, None]]]]]]]]], 11], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.001} +{"i": 308, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 309, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RootedEmbedding\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a rooted embedding of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the root. \\n\\!\\(\\*RowBox[{\\\"RootedEmbedding\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a rooted embedding with a center of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) as the root.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RootedEmbedding, List[RuleDelayed[RootedEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]]], RootedEmbedding[Combinatorica`Private`g, First[GraphCenter[Combinatorica`Private`g]]]], RuleDelayed[RootedEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`rt, Blank[Integer]]], Module[List[Set[Combinatorica`Private`root, Combinatorica`Private`rt], Combinatorica`Private`pos, Combinatorica`Private`i, Combinatorica`Private`x, Combinatorica`Private`dx, Combinatorica`Private`new, Set[Combinatorica`Private`n, V[Combinatorica`Private`g]], Combinatorica`Private`v, Combinatorica`Private`done, Combinatorica`Private`next, Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]]], CompoundExpression[Set[Combinatorica`Private`pos, Table[List[Times[-1, Ceiling[Sqrt[Combinatorica`Private`n]]], Ceiling[Sqrt[Combinatorica`Private`n]]], List[Combinatorica`Private`n]]], Set[Combinatorica`Private`v, Table[List[0, 0], List[Combinatorica`Private`n]]], Set[Combinatorica`Private`next, Set[Combinatorica`Private`done, List[Combinatorica`Private`root]]], While[Unequal[Combinatorica`Private`next, List[]], CompoundExpression[Set[Combinatorica`Private`root, First[Combinatorica`Private`next]], Set[Combinatorica`Private`new, Complement[Part[Combinatorica`Private`e, Combinatorica`Private`root], Combinatorica`Private`done]], Do[CompoundExpression[Set[Combinatorica`Private`dx, Times[Plus[Part[Combinatorica`Private`pos, Combinatorica`Private`root, 2], Times[-1, Part[Combinatorica`Private`pos, Combinatorica`Private`root, 1]]], Power[Length[Combinatorica`Private`new], -1]]], Set[Part[Combinatorica`Private`pos, Part[Combinatorica`Private`new, Combinatorica`Private`i]], List[Plus[Part[Combinatorica`Private`pos, Combinatorica`Private`root, 1], Times[Plus[Combinatorica`Private`i, -1], Combinatorica`Private`dx]], Plus[Part[Combinatorica`Private`pos, Combinatorica`Private`root, 1], Times[Combinatorica`Private`i, Combinatorica`Private`dx]]]], Set[Combinatorica`Private`x, Times[Apply[Plus, Part[Combinatorica`Private`pos, Part[Combinatorica`Private`new, Combinatorica`Private`i]]], Power[2, -1]]], Set[Part[Combinatorica`Private`v, Part[Combinatorica`Private`new, Combinatorica`Private`i]], List[Combinatorica`Private`x, Plus[Part[Combinatorica`Private`v, Combinatorica`Private`root, 2], -1]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`new]]], Set[Combinatorica`Private`next, Join[Rest[Combinatorica`Private`next], Combinatorica`Private`new]], Set[Combinatorica`Private`done, Join[Combinatorica`Private`done, Combinatorica`Private`new]]]], ChangeVertices[Combinatorica`Private`g, Map[Function[List[Slot[1]]], N[Combinatorica`Private`v]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RootedEmbedding\"]], False]", "msgs": [], "secs": 0.03} +{"i": 310, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 311, "status": "ok", "out": "ShowGraph[RootedEmbedding[Tree[6, List[Tree[8, None], Tree[14, None], Tree[13, List[Tree[5, List[Tree[18, None]]]]], Tree[3, List[Tree[4, None], Tree[11, List[Tree[12, List[Tree[7, None]]]]], Tree[9, None], Tree[15, None], Tree[10, None], Tree[16, None]]], Tree[2, List[Tree[19, List[Tree[20, List[Tree[1, List[Tree[17, None]]]]]]]]]]], 1], Rule[VertexNumber, On], Rule[PlotRange, Large[5000]]]", "msgs": [], "secs": 0.0} +{"i": 312, "status": "ok", "out": "ShowGraph[RootedEmbedding[Tree[6, List[Tree[8, None], Tree[14, None], Tree[13, List[Tree[5, List[Tree[18, None]]]]], Tree[3, List[Tree[4, None], Tree[11, List[Tree[12, List[Tree[7, None]]]]], Tree[9, None], Tree[15, None], Tree[10, None], Tree[16, None]]], Tree[2, List[Tree[19, List[Tree[20, List[Tree[1, List[Tree[17, None]]]]]]]]]]], 3], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 313, "status": "ok", "out": "ShowGraph[RootedEmbedding[Tree[6, List[Tree[8, None], Tree[14, None], Tree[13, List[Tree[5, List[Tree[18, None]]]]], Tree[3, List[Tree[4, None], Tree[11, List[Tree[12, List[Tree[7, None]]]]], Tree[9, None], Tree[15, None], Tree[10, None], Tree[16, None]]], Tree[2, List[Tree[19, List[Tree[20, List[Tree[1, List[Tree[17, None]]]]]]]]]]], 19], Rule[VertexNumber, Center], Rule[VertexNumberColor, GrayLevel[1]], Rule[VertexStyle, Disc[Large]], Rule[PlotRange, Large[3000]], Rule[Background, RGBColor[87000, 94000, 1]]]", "msgs": [], "secs": 0.0} +{"i": 314, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TranslateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) adds the vector \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) to the vertex embedding location of each vertex in list \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"TranslateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) translates the embedding of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) by the vector \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TranslateVertices, List[RuleDelayed[TranslateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]], List[PatternTest[Pattern[Combinatorica`Private`x, Blank[]], NumericQ], PatternTest[Pattern[Combinatorica`Private`y, Blank[]], NumericQ]]], Module[List[Set[Combinatorica`Private`p, Map[First, Combinatorica`Private`v]], Combinatorica`Private`np, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`np, TranslateVertices[Combinatorica`Private`p, List[Combinatorica`Private`x, Combinatorica`Private`y]]], Table[List[Part[Combinatorica`Private`np, Combinatorica`Private`i], Apply[Sequence, Rest[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`np]]]]]], RuleDelayed[TranslateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]], List[PatternTest[Pattern[Combinatorica`Private`x, Blank[]], NumericQ], PatternTest[Pattern[Combinatorica`Private`y, Blank[]], NumericQ]]], N[Map[Function[Plus[Slot[1], List[Combinatorica`Private`x, Combinatorica`Private`y]]], Combinatorica`Private`v]]], RuleDelayed[TranslateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], List[PatternTest[Pattern[Combinatorica`Private`x, Blank[]], NumericQ], PatternTest[Pattern[Combinatorica`Private`y, Blank[]], NumericQ]]], ChangeVertices[Combinatorica`Private`g, TranslateVertices[Vertices[Combinatorica`Private`g, All], List[Combinatorica`Private`x, Combinatorica`Private`y]]]], RuleDelayed[TranslateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`t, Blank[]]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]]], ChangeVertices[Combinatorica`Private`g, CompoundExpression[Set[Part[Combinatorica`Private`v, Combinatorica`Private`s], TranslateVertices[Part[Combinatorica`Private`v, Combinatorica`Private`s], Combinatorica`Private`t]], Combinatorica`Private`v]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TranslateVertices\"]], False]", "msgs": [], "secs": 0.028} +{"i": 315, "status": "ok", "out": "t", "msgs": [], "secs": 0.0} +{"i": 316, "status": "ok", "out": "TranslateVertices[t, List[100, 200]]", "msgs": [], "secs": 0.0} +{"i": 317, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DilateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) multiplies each coordinate of each vertex position in list \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) by \\!\\(\\*StyleBox[\\\"d\\\", \\\"TI\\\"]\\), thus dilating the embedding. \\n\\!\\(\\*RowBox[{\\\"DilateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) dilates the embedding of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) by the factor \\!\\(\\*StyleBox[\\\"d\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DilateVertices, List[RuleDelayed[DilateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]], Pattern[Combinatorica`Private`d, Blank[]]], Module[List[Set[Combinatorica`Private`p, Map[First, Combinatorica`Private`v]], Combinatorica`Private`np], CompoundExpression[Set[Combinatorica`Private`np, DilateVertices[Combinatorica`Private`p, Combinatorica`Private`d]], Table[List[Part[Combinatorica`Private`np, Combinatorica`Private`i], Apply[Sequence, Rest[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`np]]]]]], RuleDelayed[DilateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]], Pattern[Combinatorica`Private`d, Blank[]]], Map[Function[Times[Combinatorica`Private`d, Slot[1]]], Combinatorica`Private`v]], RuleDelayed[DilateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`d, Blank[]]], ChangeVertices[Combinatorica`Private`g, DilateVertices[Vertices[Combinatorica`Private`g, All], Combinatorica`Private`d]]], RuleDelayed[DilateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`t, Blank[]]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]]], ChangeVertices[Combinatorica`Private`g, CompoundExpression[Set[Part[Combinatorica`Private`v, Combinatorica`Private`s], DilateVertices[Part[Combinatorica`Private`v, Combinatorica`Private`s], Combinatorica`Private`t]], Combinatorica`Private`v]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DilateVertices\"]], False]", "msgs": [], "secs": 0.029} +{"i": 318, "status": "ok", "out": "t", "msgs": [], "secs": 0.0} +{"i": 319, "status": "ok", "out": "DilateVertices[t, 2]", "msgs": [], "secs": 0.0} +{"i": 320, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RotateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Theta]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) rotates each vertex position in list \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) by \\!\\(\\*StyleBox[\\\"\\[Theta]\\\", \\\"TR\\\"]\\) radians about the origin \\!\\(\\*RowBox[{\\\"(\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"0\\\"}], \\\")\\\"}]\\). \\n\\!\\(\\*RowBox[{\\\"RotateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Theta]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) rotates the embedding of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) by \\!\\(\\*StyleBox[\\\"\\[Theta]\\\", \\\"TR\\\"]\\) radians about the origin \\!\\(\\*RowBox[{\\\"(\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"0\\\"}], \\\")\\\"}]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RotateVertices, List[RuleDelayed[RotateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]], Pattern[Combinatorica`Private`t, Blank[]]], Module[List[Set[Combinatorica`Private`p, Map[First, Combinatorica`Private`v]], Combinatorica`Private`np, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`np, RotateVertices[Combinatorica`Private`p, Combinatorica`Private`t]], Table[List[Part[Combinatorica`Private`np, Combinatorica`Private`i], Apply[Sequence, Rest[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`np]]]]]], RuleDelayed[RotateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]], Pattern[Combinatorica`Private`t, Blank[]]], Module[List[Combinatorica`Private`d, Combinatorica`Private`theta], Map[Function[If[Equal[Slot[1], List[0, 0]], Slot[1], CompoundExpression[Set[Combinatorica`Private`d, Sqrt[Plus[Power[Part[Slot[1], 1], 2], Power[Part[Slot[1], 2], 2]]]], Set[Combinatorica`Private`theta, Plus[Combinatorica`Private`t, Combinatorica`Private`Arctan[Slot[1]]]], If[Not[FreeQ[Combinatorica`Private`theta, Complex]], Set[Combinatorica`Private`theta, Chop[Combinatorica`Private`theta]]], N[List[Times[Combinatorica`Private`d, Cos[Combinatorica`Private`theta]], Times[Combinatorica`Private`d, Sin[Combinatorica`Private`theta]]]]]]], Combinatorica`Private`v]]], RuleDelayed[RotateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`t, Blank[]]], ChangeVertices[Combinatorica`Private`g, RotateVertices[Vertices[Combinatorica`Private`g, All], Combinatorica`Private`t]]], RuleDelayed[RotateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`t, Blank[]]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]]], ChangeVertices[Combinatorica`Private`g, CompoundExpression[Set[Part[Combinatorica`Private`v, Combinatorica`Private`s], RotateVertices[Part[Combinatorica`Private`v, Combinatorica`Private`s], Combinatorica`Private`t]], Combinatorica`Private`v]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RotateVertices\"]], False]", "msgs": [], "secs": 0.028} +{"i": 321, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 322, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 323, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 324, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"NormalizeVertices\\\", \\\"[\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a list of vertices with a similar embedding as \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\), but with the coordinates of all points scaled to be between 0 and 1.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, NormalizeVertices, List[RuleDelayed[NormalizeVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Module[List[Set[Combinatorica`Private`nv, NormalizeVertices[Map[First, Combinatorica`Private`v]]], Combinatorica`Private`i], Table[List[Part[Combinatorica`Private`nv, Combinatorica`Private`i], Apply[Sequence, Rest[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`nv]]]]], RuleDelayed[NormalizeVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]]], Module[List[Set[Combinatorica`Private`v1, TranslateVertices[Combinatorica`Private`v, List[Times[-1, Min[Combinatorica`Private`v]], Times[-1, Min[Combinatorica`Private`v]]]]]], DilateVertices[Combinatorica`Private`v1, Times[1, Power[Max[Combinatorica`Private`v1, Round[Times[Power[10, 5], 0.01`]]], -1]]]]], RuleDelayed[NormalizeVertices[Pattern[Combinatorica`Private`g, Blank[Graph]]], ChangeVertices[Combinatorica`Private`g, NormalizeVertices[Vertices[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`NormalizeVertices\"]], False]", "msgs": [], "secs": 0.027} +{"i": 325, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[5, 6]], List[List[5, 7]], List[List[6, 7]]], List[List[List[62349, 78183]], List[List[-22252, 97493]], List[List[-90097, 43388]], List[List[-90097, -43388]], List[List[-22252, -97493]], List[List[62349, -78183]], List[List[100000, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 326, "status": "ok", "out": "List[List[62349, 78183], List[-22252, 97493], List[-90097, 43388], List[-90097, -43388], List[-22252, -97493], List[62349, -78183], List[100000, 0]]", "msgs": [], "secs": 0.0} +{"i": 327, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[5, 6]], List[List[5, 7]], List[List[6, 7]]], List[List[List[112349, 108183]], List[List[27748, 127493]], List[List[-40097, 73388]], List[List[-40097, -13388]], List[List[27748, -67493]], List[List[112349, -48183]], List[List[150000, 30000]]]]", "msgs": [], "secs": 0.0} +{"i": 328, "status": "ok", "out": "List[List[112349, 108183], List[27748, 127493], List[-40097, 73388], List[-40097, -13388], List[27748, -67493], List[112349, -48183], List[150000, 30000]]", "msgs": [], "secs": 0.0} +{"i": 329, "status": "ok", "out": "List[List[82689, 80773], List[43790, 89652], List[12596, 64775], List[12596, 24876], List[43790, 0], List[82689, 8878], List[100000, 44826]]", "msgs": [], "secs": 0.0} +{"i": 330, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ShakeGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) performs a random perturbation of the vertices of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), with each vertex moving, at most, a distance \\!\\(\\*StyleBox[\\\"d\\\", \\\"TI\\\"]\\) from its original position.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ShakeGraph, List[RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]]], ShakeGraph[Combinatorica`Private`g, Combinatorica`Private`s, Round[Times[Power[10, 5], 0.1`]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]]], ShakeGraph[Combinatorica`Private`g, Round[Times[Power[10, 5], 0.1`]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]], PatternTest[Pattern[Combinatorica`Private`fract, Blank[]], NumericQ]], Module[List[Combinatorica`Private`i, Combinatorica`Private`d, Combinatorica`Private`a, Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]]], CompoundExpression[Set[Part[Combinatorica`Private`v, Combinatorica`Private`s], Map[Function[CompoundExpression[Set[Combinatorica`Private`d, RandomReal[Combinatorica`Private`fract]], Set[Combinatorica`Private`a, RandomReal[Times[2, N[Pi]]]], Prepend[Rest[Slot[1]], Plus[First[Slot[1]], List[N[Times[Combinatorica`Private`d, Cos[Combinatorica`Private`a]]], N[Times[Combinatorica`Private`d, Sin[Combinatorica`Private`a]]]]]]]], Part[Combinatorica`Private`v, Combinatorica`Private`s]]], ChangeVertices[Combinatorica`Private`g, Combinatorica`Private`v]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`fract, Blank[]], NumericQ]], ShakeGraph[Combinatorica`Private`g, Range[V[Combinatorica`Private`g]], Combinatorica`Private`fract]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ShakeGraph\"]], False]", "msgs": [], "secs": 0.03} +{"i": 331, "status": "ok", "out": "Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]]], List[List[List[100000, -400000]], List[List[100000, -300000]], List[List[100000, -200000]], List[List[100000, -100000]], List[List[100000, 0]], List[List[100000, 100000]], List[List[100000, 200000]], List[List[100000, 300000]], List[List[100000, 400000]], List[List[200000, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 332, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 333, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 334, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 335, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 336, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 337, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 338, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 339, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"GraphOptions\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the display options associated with \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"GraphOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the display options associated with vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"GraphOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"u\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) returns the display options associated with edge \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"u\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphOptions, List[RuleDelayed[GraphOptions[Graph[Pattern[Combinatorica`Private`e, Blank[]], Pattern[Combinatorica`Private`v, Blank[]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]]], List[Combinatorica`Private`opts]], RuleDelayed[GraphOptions[Graph[Pattern[Combinatorica`Private`e, Blank[]], Pattern[Combinatorica`Private`v, Blank[]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], PatternTest[Pattern[Combinatorica`Private`sv, Blank[]], NumberQ]], Combinatorica`Private`Merge[Rest[Part[Combinatorica`Private`v, Combinatorica`Private`sv]], List[Combinatorica`Private`opts]]], RuleDelayed[GraphOptions[Graph[Pattern[Combinatorica`Private`e, Blank[]], Pattern[Combinatorica`Private`v, Blank[]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`se, Blank[List]]], Module[List[Set[Combinatorica`Private`sse, Sort[Combinatorica`Private`se]]], Combinatorica`Private`Merge[Rest[Part[Select[Combinatorica`Private`e, Function[Equal[First[Slot[1]], Combinatorica`Private`sse]]], 1]], List[Combinatorica`Private`opts]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphOptions\"]], False]", "msgs": [], "secs": 0.032} +{"i": 340, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.0} +{"i": 341, "status": "ok", "out": "Graph[List[List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[1, 10]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[2, 10]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[3, 10]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[4, 10]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[5, 10]]], List[List[List[100000, -200000]], List[List[100000, -100000]], List[List[100000, 0]], List[List[100000, 100000]], List[List[100000, 200000]], List[List[200000, -200000]], List[List[200000, -100000]], List[List[200000, 0]], List[List[200000, 100000]], List[List[200000, 200000]]], Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 1, 0]]]", "msgs": [], "secs": 0.0} +{"i": 342, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 343, "status": "ok", "out": "List[Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 1, 0]]]", "msgs": [], "secs": 0.0} +{"i": 344, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SpringEmbedding\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) beautifies the embedding of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) by modeling the embedding as a system of springs. \\n\\!\\(\\*RowBox[{\\\"SpringEmbedding\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"step\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"increment\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) can be used to refine the algorithm. \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SpringEmbedding, List[RuleDelayed[SpringEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Optional[Pattern[Combinatorica`Private`step, Blank[]], 10], Optional[Pattern[Combinatorica`Private`inc, Blank[]], Round[Times[Power[10, 5], 0.15`]]]], Condition[Combinatorica`Private`g, EmptyQ[Combinatorica`Private`g]]], RuleDelayed[SpringEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Optional[Pattern[Combinatorica`Private`step, Blank[]], 10], Optional[Pattern[Combinatorica`Private`inc, Blank[]], Round[Times[Power[10, 5], 0.15`]]]], Module[List[Set[Combinatorica`Private`verts, Vertices[Combinatorica`Private`g]], Combinatorica`Private`new, Set[Combinatorica`Private`m, ToAdjacencyMatrix[MakeUndirected[Combinatorica`Private`g]]]], CompoundExpression[Set[Combinatorica`Private`new, Combinatorica`Private`UV[Combinatorica`Private`step, Combinatorica`Private`inc, Combinatorica`Private`m, Combinatorica`Private`verts]], ChangeVertices[Combinatorica`Private`g, Combinatorica`Private`new]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SpringEmbedding\"]], False]", "msgs": [], "secs": 0.028} +{"i": 345, "status": "ok", "out": "Null", "msgs": [], "secs": 0.003} +{"i": 346, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 347, "status": "ok", "out": "", "msgs": [], "secs": 0.023} +{"i": 348, "status": "ok", "out": "24", "msgs": [], "secs": 0.0} +{"i": 349, "status": "ok", "out": "216", "msgs": [], "secs": 0.0} +{"i": 350, "status": "ok", "out": "List[822, Null]", "msgs": [], "secs": 0.009000000000000001} +{"i": 351, "status": "ok", "out": "", "msgs": [], "secs": 0.02} +{"i": 352, "status": "ok", "out": "List[1, Null]", "msgs": [], "secs": 0.0} diff --git a/book/wma/Chapter3.s2.jsonl b/book/wma/Chapter3.s2.jsonl new file mode 100644 index 0000000..3174e03 --- /dev/null +++ b/book/wma/Chapter3.s2.jsonl @@ -0,0 +1,352 @@ +{"i": 1, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 2, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Edges\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the list of edges in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Edges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"All\\\"}], \\\"]\\\"}]\\) gives the edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) along with the graphics options associated with each edge. \\n\\!\\(\\*RowBox[{\\\"Edges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"EdgeWeight\\\"}], \\\"]\\\"}]\\) returns the list of edges in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) along with their edge weights.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Edges, List[RuleDelayed[Edges[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Blank[List], PatternTest[BlankNullSequence[], OptionQ]]], Map[Function[First[Slot[1]]], Combinatorica`Private`e]], RuleDelayed[Edges[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Blank[List], PatternTest[BlankNullSequence[], OptionQ]], All], Combinatorica`Private`e], RuleDelayed[Edges[Pattern[Combinatorica`Private`g, Blank[Graph]], EdgeWeight], Map[Function[ReplaceAll[List[First[Slot[1]], EdgeWeight], Flatten[List[Rest[Slot[1]], GraphOptions[Combinatorica`Private`g], Options[Graph]]]]], Edges[Combinatorica`Private`g, All]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Edges\"]], False]", "msgs": [], "secs": 0.076} +{"i": 3, "status": "ok", "out": "List[List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9]]", "msgs": [], "secs": 0.0} +{"i": 4, "status": "ok", "out": "List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3], Rule[EdgeStyle, Fat]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9], Rule[EdgeStyle, Fat]]]", "msgs": [], "secs": 0.001} +{"i": 5, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 6, "status": "ok", "out": "List[List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9]]", "msgs": [], "secs": 0.001} +{"i": 7, "status": "ok", "out": "List[List[List[1, 10], 1], List[List[2, 10], 1], List[List[3, 10], 1], List[List[4, 10], 1], List[List[5, 10], 1], List[List[6, 10], 1], List[List[7, 10], 1], List[List[8, 10], 1], List[List[9, 10], 1], List[List[1, 2], 1], List[List[2, 3], 1], List[List[3, 4], 1], List[List[4, 5], 1], List[List[5, 6], 1], List[List[6, 7], 1], List[List[7, 8], 1], List[List[8, 9], 1], List[List[1, 9], 1]]", "msgs": [], "secs": 0.0} +{"i": 8, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns random real weights in the range \\!\\(\\*RowBox[{\\\"[\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\"}], \\\"]\\\"}]\\) to edges in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns edge weights to the edges in the edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges in edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SetEdgeWeights, List[RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g]], Combinatorica`Private`myfn, Combinatorica`Private`myrange], CompoundExpression[Set[List[Combinatorica`Private`myfn, Combinatorica`Private`myrange], ReplaceAll[List[WeightingFunction, WeightRange], Flatten[List[Combinatorica`Private`opts, Options[SetEdgeWeights]]]]], Switch[Combinatorica`Private`myfn, Random, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomReal[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], RandomInteger, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomInteger[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], Alternatives[Euclidean, LNorm[Blank[]]], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Combinatorica`Private`Distance[Part[Combinatorica`Private`v, Slot[1]], Combinatorica`Private`myfn]]]], Combinatorica`Private`e]], Blank[], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Apply[Combinatorica`Private`myfn, Transpose[List[Slot[1], Part[Combinatorica`Private`v, Slot[1]]]]]]]], Combinatorica`Private`e]]]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`opts]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], Condition[SetGraphOptions[Combinatorica`Private`g, MapIndexed[Function[List[Slot[1], Rule[EdgeWeight, Part[Combinatorica`Private`weights, First[Slot[2]]]]]], If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Combinatorica`Private`e], Combinatorica`Private`e]]], Equal[Length[Combinatorica`Private`weights], Length[Combinatorica`Private`e]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`weights]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[WeightingFunction, Random], Rule[WeightRange, List[0, 1]]]], Rule[\"Attributes\", List[Pro...", "msgs": [], "secs": 0.059000000000000004} +{"i": 9, "status": "ok", "out": "Graph[List[List[List[1, 10], Rule[EdgeWeight, 18]], List[List[2, 10], Rule[EdgeWeight, 14]], List[List[3, 10], Rule[EdgeWeight, 15]], List[List[4, 10], Rule[EdgeWeight, 14]], List[List[5, 10], Rule[EdgeWeight, 17]], List[List[6, 10], Rule[EdgeWeight, 14]], List[List[7, 10], Rule[EdgeWeight, 10]], List[List[8, 10], Rule[EdgeWeight, 11]], List[List[9, 10], Rule[EdgeWeight, 10]], List[List[1, 2], Rule[EdgeWeight, 14]], List[List[2, 3], Rule[EdgeWeight, 13]], List[List[3, 4], Rule[EdgeWeight, 17]], List[List[4, 5], Rule[EdgeWeight, 13]], List[List[5, 6], Rule[EdgeWeight, 10]], List[List[6, 7], Rule[EdgeWeight, 12]], List[List[7, 8], Rule[EdgeWeight, 17]], List[List[8, 9], Rule[EdgeWeight, 18]], List[List[1, 9], Rule[EdgeWeight, 17]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]]", "msgs": [], "secs": 0.002} +{"i": 10, "status": "ok", "out": "List[List[List[1, 10], 18], List[List[2, 10], 14], List[List[3, 10], 15], List[List[4, 10], 14], List[List[5, 10], 17], List[List[6, 10], 14], List[List[7, 10], 10], List[List[8, 10], 11], List[List[9, 10], 10], List[List[1, 2], 14], List[List[2, 3], 13], List[List[3, 4], 17], List[List[4, 5], 13], List[List[5, 6], 10], List[List[6, 7], 12], List[List[7, 8], 17], List[List[8, 9], 18], List[List[1, 9], 17]]", "msgs": [], "secs": 0.0} +{"i": 11, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`Vertices\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Vertices, List[RuleDelayed[Vertices[Graph[Blank[List], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[BlankNullSequence[], OptionQ]]], Map[Function[First[Slot[1]]], Combinatorica`Private`v]], RuleDelayed[Vertices[Graph[Blank[List], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[BlankNullSequence[], OptionQ]], All], Combinatorica`Private`v]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Vertices\"]], False]", "msgs": [], "secs": 0.096} +{"i": 12, "status": "ok", "out": "List[List[76604, 64279], List[17365, 98481], List[-50000, 86603], List[-93969, 34202], List[-93969, -34202], List[-50000, -86603], List[17365, -98481], List[76604, -64279], List[100000, 0], List[0, 0]]", "msgs": [], "secs": 0.0} +{"i": 13, "status": "ok", "out": "List[List[List[76604, 64279]], List[List[17365, 98481], Rule[VertexStyle, Disc[Large]]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202], Rule[VertexStyle, Disc[Large]]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0], Rule[VertexStyle, Disc[Large]]], List[List[0, 0]]]", "msgs": [], "secs": 0.001} +{"i": 14, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 15, "status": "ok", "out": "List[List[76604, 64279], List[17365, 98481], List[-50000, 86603], List[-93969, 34202], List[-93969, -34202], List[-50000, -86603], List[17365, -98481], List[76604, -64279], List[100000, 0], List[0, 0]]", "msgs": [], "secs": 0.0} +{"i": 16, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 17, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"V\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the order or number of vertices of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, V, List[RuleDelayed[V[Graph[Blank[List], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[BlankNullSequence[], OptionQ]]], Length[Combinatorica`Private`v]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`V\"]], False]", "msgs": [], "secs": 0.082} +{"i": 18, "status": "ok", "out": "10", "msgs": [], "secs": 0.0} +{"i": 19, "status": "ok", "out": "9", "msgs": [], "secs": 0.0} +{"i": 20, "status": "ok", "out": "20", "msgs": [], "secs": 0.033} +{"i": 21, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"M\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the number of edges in the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"M\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"Directed\\\"}], \\\"]\\\"}]\\) is obsolete because \\!\\(\\*RowBox[{\\\"M\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) works for directed as well as undirected graphs.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, M, List[RuleDelayed[M[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Blank[List], PatternTest[BlankNullSequence[], OptionQ]]], Length[Combinatorica`Private`e]], RuleDelayed[M[Pattern[Combinatorica`Private`g, Blank[Graph]], Directed], CompoundExpression[Message[MessageName[M, \"obsolete\"]], M[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`M\"]], False]", "msgs": [], "secs": 0.117} +{"i": 22, "status": "ok", "out": "18", "msgs": [], "secs": 0.0} +{"i": 23, "status": "ok", "out": "19", "msgs": [], "secs": 0.0} +{"i": 24, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ChangeVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) replaces the vertices of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with the vertices in the given list \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are coordinates of points and \\!\\(\\*RowBox[{SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are graphics information associated with vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ChangeVertices, List[RuleDelayed[ChangeVertices[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`dopts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`newV, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Condition[Graph[Combinatorica`Private`e, Combinatorica`Private`newV, Combinatorica`Private`dopts], GreaterEqual[Length[Combinatorica`Private`newV], Length[Combinatorica`Private`v]]]], RuleDelayed[ChangeVertices[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`dopts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`newV, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]]], Condition[Graph[Combinatorica`Private`e, Table[If[LessEqual[Combinatorica`Private`i, Length[Combinatorica`Private`v]], List[Part[Combinatorica`Private`newV, Combinatorica`Private`i], Apply[Sequence, Rest[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], List[Part[Combinatorica`Private`newV, Combinatorica`Private`i]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`newV]]], Combinatorica`Private`dopts], GreaterEqual[Length[Combinatorica`Private`newV], Length[Combinatorica`Private`v]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ChangeVertices\"]], False]", "msgs": [], "secs": 0.061} +{"i": 25, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 26, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 27, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 28, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 29, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 30, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 31, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ChangeEdges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) replaces the edges of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with the edges in \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\) can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are endpoints of edges and \\!\\(\\*RowBox[{SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"gr\\\", \\\"TR\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are graphics information associated with edges.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ChangeEdges, List[RuleDelayed[ChangeEdges[Graph[Blank[List], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`dopts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`newE, List[RepeatedNull[List[List[Blank[Integer], Blank[Integer]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Condition[Graph[Combinatorica`Private`newE, Combinatorica`Private`v, Combinatorica`Private`dopts], And[LessEqual[Max[Map[First, Combinatorica`Private`newE]], Length[Combinatorica`Private`v]], GreaterEqual[Min[Map[First, Combinatorica`Private`newE]], 1]]]], RuleDelayed[ChangeEdges[Graph[Blank[], Pattern[Combinatorica`Private`v, Blank[]], Pattern[Combinatorica`Private`dopts, BlankNullSequence[]]], Pattern[Combinatorica`Private`newE, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]]], Condition[Graph[Map[Function[List[Slot[1]]], Combinatorica`Private`newE], Combinatorica`Private`v, Combinatorica`Private`dopts], And[LessEqual[Max[Combinatorica`Private`newE], Length[Combinatorica`Private`v]], GreaterEqual[Min[Combinatorica`Private`newE], 1]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ChangeEdges\"]], False]", "msgs": [], "secs": 0.10200000000000001} +{"i": 32, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 33, "status": "ok", "out": "", "msgs": [], "secs": 0.014} +{"i": 34, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 35, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 36, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AddEdges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"edgeList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with the new edges in \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) added. \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) to add a single edge \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), to add edges \\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"y\\\", \\\"TI\\\"]\\) can specify graphics information associated with \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) and \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), respectively.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AddEdges, List[RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edgeList, List[RepeatedNull[List[List[Blank[Integer], Blank[Integer]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Module[List[Set[Combinatorica`Private`ne, If[UndirectedQ[Combinatorica`Private`g], Map[Function[Prepend[Rest[Slot[1]], Sort[First[Slot[1]]]]], Combinatorica`Private`edgeList], Combinatorica`Private`edgeList]]], ChangeEdges[Combinatorica`Private`g, Join[Edges[Combinatorica`Private`g, All], Combinatorica`Private`ne]]]], RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edgeList, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]]], AddEdges[Combinatorica`Private`g, Map[Function[List[Slot[1]]], Combinatorica`Private`edgeList]]], RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edge, List[Blank[Integer], Blank[Integer]]]], AddEdges[Combinatorica`Private`g, List[Combinatorica`Private`edge]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`AddEdges\"]], False]", "msgs": [], "secs": 0.055} +{"i": 37, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 38, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 39, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 40, "status": "ok", "out": "", "msgs": [], "secs": 0.046} +{"i": 41, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 42, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DeleteEdges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"edgeList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) minus the list of edges \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\). If \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is undirected, then the edges in \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) are treated as undirected edges; otherwise they are treated as directed edges. If there are multiple edges that qualify, then only one edge is deleted. \\n\\!\\(\\*RowBox[{RowBox[{\\\"DeleteEdges\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"edgeList\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"All\\\", \\\"]\\\"}]}]\\) will delete all edges that qualify. If only one edge is to be deleted, then \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"s\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"t\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\); otherwise it has the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DeleteEdges, List[RuleDelayed[DeleteEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ne, List[Blank[Integer], Blank[Integer]]], All], DeleteEdges[Combinatorica`Private`g, List[Combinatorica`Private`ne], All]], RuleDelayed[DeleteEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ne, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], All], Module[List[Combinatorica`Private`nne], CompoundExpression[Set[Combinatorica`Private`nne, If[UndirectedQ[Combinatorica`Private`g], Join[Combinatorica`Private`ne, Map[Reverse, Combinatorica`Private`ne]], Combinatorica`Private`ne]], ChangeEdges[Combinatorica`Private`g, Select[Edges[Combinatorica`Private`g, All], Function[Not[MemberQ[Combinatorica`Private`nne, First[Slot[1]]]]]]]]]], RuleDelayed[DeleteEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ne, List[Blank[Integer], Blank[Integer]]]], DeleteEdges[Combinatorica`Private`g, List[Combinatorica`Private`ne]]], RuleDelayed[DeleteEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ne, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]]], Module[List[Set[Combinatorica`Private`el, Edges[Combinatorica`Private`g, All]], Combinatorica`Private`nne, Combinatorica`Private`p], CompoundExpression[Set[Combinatorica`Private`nne, If[UndirectedQ[Combinatorica`Private`g], Join[Combinatorica`Private`ne, Map[Reverse, Combinatorica`Private`ne]], Combinatorica`Private`ne]], ChangeEdges[Combinatorica`Private`g, DeleteCases[Table[If[Unequal[Set[Combinatorica`Private`p, Position[Combinatorica`Private`nne, Part[Combinatorica`Private`el, Combinatorica`Private`i, 1]]], List[]], CompoundExpression[Set[Combinatorica`Private`nne, MapAt[Function[Infinity], Combinatorica`Private`nne, Part[Combinatorica`Private`p, 1]]], List[]], Part[Combinatorica`Private`el, Combinatorica`Private`i]], List[Combinatorica`Private`i, M[Combinatorica`Private`g]]], List[]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DeleteEdges\"]], False]", "msgs": [], "secs": 0.067} +{"i": 43, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 44, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 45, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 46, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.054} +{"i": 47, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 48, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 49, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 50, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 51, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ExactRandomGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a random labeled graph of exactly \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\) edges and \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ExactRandomGraph, List[RuleDelayed[ExactRandomGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], Pattern[Combinatorica`Private`e, Blank[Integer]]], Graph[Map[Function[List[NthPair[Slot[1]]]], Take[RandomPermutation[Times[Combinatorica`Private`n, Times[Plus[Combinatorica`Private`n, -1], Power[2, -1]]]], Combinatorica`Private`e]], CircularEmbedding[Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ExactRandomGraph\"]], False]", "msgs": [], "secs": 0.042} +{"i": 52, "status": "ok", "out": "Null", "msgs": [], "secs": 0.012} +{"i": 53, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 54, "status": "ok", "out": "List[291, 307, 355, 399, 495, 498, 538, 599, 928, 964, 1107, 1150, 1192, 1295, 1442, 1494, 1644, 1577, 1776, 1991, 1935, 2048, 2176, 2288, 2487]", "msgs": [], "secs": 0.427} +{"i": 55, "status": "msg", "out": "ListPlot[List[First[291], First[307], First[355], First[399], First[495], First[498], First[538], First[599], First[928], First[964], First[1107], First[1150], First[1192], First[1295], First[1442], First[1494], First[1644], First[1577], First[1776], First[1991], First[1935], First[2048], First[2176], First[2288], First[2487]], Rule[PlotJoined, True]]", "msgs": ["First::normal", "First::normal", "First::normal", "\"Further output of `1` will be suppressed during this calculation.\"", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "ListPlot::optx"], "secs": 0.115} +{"i": 56, "status": "msg", "out": "Plus[Times[1345, x, Plus[Times[-398970, First[291]], Times[-310663, First[307]], Times[-229537, First[355]], Times[-155594, First[399]], Times[-88832, First[495]], Times[-29252, First[498]], Times[23147, First[538]], Times[68364, First[599]], Times[106399, First[928]], Times[137253, First[964]], Times[160925, First[1107]], Times[177415, First[1150]], Times[186724, First[1192]], Times[188850, First[1295]], Times[183796, First[1442]], Times[171559, First[1494]], Times[125541, First[1577]], Times[152141, First[1644]], Times[91760, First[1776]], Times[2652, First[1935]], Times[50797, First[1991]], Times[-52675, First[2048]], Times[-115183, First[2176]], Times[-184873, First[2288]], Times[-261744, First[2487]]]], Times[20000, Plus[Times[180000, First[291]], Times[150000, First[307]], Times[122174, First[355]], Times[96522, First[399]], Times[73043, First[495]], Times[51739, First[498]], Times[32609, First[538]], Times[15652, First[599]], Times[870, First[928]], Times[-11739, First[964]], Times[-22174, First[1107]], Times[-30435, First[1150]], Times[-36522, First[1192]], Times[-40435, First[1295]], Times[-42174, First[1442]], Times[-41739, First[1494]], Times[-34348, First[1577]], Times[-39130, First[1644]], Times[-27391, First[1776]], Times[-6957, First[1935]], Times[-18261, First[1991]], Times[6522, First[2048]], Times[22174, First[2176]], Times[40000, First[2288]], Times[60000, First[2487]]]], Times[68, Power[x, 2], Plus[Times[250860, First[291]], Times[188145, First[307]], Times[130883, First[355]], Times[79075, First[399]], Times[32721, First[495]], Times[-8180, First[498]], Times[-43628, First[538]], Times[-73622, First[599]], Times[-98163, First[928]], Times[-117250, First[964]], Times[-130883, First[1107]], Times[-139064, First[1150]], Times[-141790, First[1192]], Times[-139064, First[1295]], Times[-130883, First[1442]], Times[-117250, First[1494]], Times[-73622, First[1577]], Times[-98163, First[1644]], Times[-43628, First[1776]], Times[32721, First[1935]], Times[-8180, First[1991]], Times[79075, First[2048]], Times[130883, First[2176]], Times[188145, First[2288]], Times[250860, First[2487]]]]]", "msgs": ["First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal", "First::normal"], "secs": 0.001} +{"i": 57, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AddVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) adds \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) disconnected vertices to graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"AddVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"vList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) adds vertices in \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) to \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) contains embedding and graphics information and can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) or \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}]\\), and \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}]\\) are point coordinates and \\!\\(\\*SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\) and \\!\\(\\*SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]\\) are graphics information associated with vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AddVertices, List[RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], GraphUnion[Combinatorica`Private`g, EmptyGraph[Combinatorica`Private`n]]], RuleDelayed[AddVertices[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`p, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Graph[Combinatorica`Private`e, Join[Combinatorica`Private`v, Combinatorica`Private`p], Combinatorica`Private`opts]], RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`p, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]]], AddVertices[Combinatorica`Private`g, Map[Function[List[Slot[1]]], Combinatorica`Private`p]]], RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`p, List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]], AddVertices[Combinatorica`Private`g, List[Combinatorica`Private`p]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[...", "msgs": [], "secs": 0.048} +{"i": 58, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 59, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 60, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 61, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 62, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 63, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 64, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DeleteVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"vList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) deletes vertices in \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) from graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) has the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"j\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*RowBox[{\\\" \\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"j\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]}]\\) are vertex numbers.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DeleteVertices, List[RuleDelayed[DeleteVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`vl, Blank[List]]], InduceSubgraph[Combinatorica`Private`g, Complement[Range[V[Combinatorica`Private`g]], Combinatorica`Private`vl]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DeleteVertices\"]], False]", "msgs": [], "secs": 0.034} +{"i": 65, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 66, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 67, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 68, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\""], "secs": 2.758} +{"i": 69, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 70, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Spectrum\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the eigenvalues of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Spectrum, List[RuleDelayed[Condition[Spectrum[Pattern[Combinatorica`Private`g, Blank[Graph]]], EmptyQ[Combinatorica`Private`g]], Table[0, List[V[Combinatorica`Private`g]]]], RuleDelayed[Spectrum[Pattern[Combinatorica`Private`g, Blank[Graph]]], Eigenvalues[ToAdjacencyMatrix[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Spectrum\"]], False]", "msgs": [], "secs": 0.041} +{"i": 71, "status": "ok", "out": "List[Plus[1, Power[10, Rational[1, 2]]], Plus[1, Times[-1, Power[10, Rational[1, 2]]]], Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 1, 0], Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 1, 0], Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 3, 0], Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 3, 0], -1, -1, Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 2, 0], Root[Function[Plus[1, Times[-3, Slot[1]], Power[Slot[1], 3]]], 2, 0]]", "msgs": [], "secs": 0.007} +{"i": 72, "status": "ok", "out": "List[-2, 2, 0, 0, 0]", "msgs": [], "secs": 0.001} +{"i": 73, "status": "ok", "out": "List[-2, 2, 0, 0, 0]", "msgs": [], "secs": 0.001} +{"i": 74, "status": "ok", "out": "List[Times[-2, Power[3, Rational[1, 2]]], Times[2, Power[3, Rational[1, 2]]], 0, 0, 0, 0, 0]", "msgs": [], "secs": 0.001} +{"i": 75, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ToAdjacencyLists\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an adjacency list representation for graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"ToAdjacencyLists\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"EdgeWeight\\\"}], \\\"]\\\"}]\\) returns an adjacency list representation along with edge weights.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ToAdjacencyLists, List[RuleDelayed[ToAdjacencyLists[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`s, Combinatorica`Private`al, Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], Combinatorica`Private`n, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToAdjacencyLists]]]]], Set[Combinatorica`Private`s, Join[If[UndirectedQ[Combinatorica`Private`g], Combinatorica`Private`Double[Combinatorica`Private`e], Combinatorica`Private`e], Table[List[Combinatorica`Private`i, -1], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]]], Set[Combinatorica`Private`al, Map[Rest, ReplaceAll[Split[Sort[Combinatorica`Private`s], Function[SameQ[Part[Slot[1], 1], Part[Slot[2], 1]]]], RuleDelayed[List[Blank[Integer], Pattern[Combinatorica`Private`n, Blank[Integer]]], Combinatorica`Private`n]]]], If[SameQ[Combinatorica`Private`type, Simple], Map[Union, Table[Select[Part[Combinatorica`Private`al, Combinatorica`Private`i], Function[Unequal[Slot[1], Combinatorica`Private`i]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]]], Combinatorica`Private`al]]]], RuleDelayed[ToAdjacencyLists[Pattern[Combinatorica`Private`g, Blank[Graph]], EdgeWeight, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`s, Combinatorica`Private`al, Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g, EdgeWeight]], Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToAdjacencyLists]]]]], Set[Combinatorica`Private`s, Join[If[UndirectedQ[Combinatorica`Private`g], Combinatorica`Private`Double[Combinatorica`Private`e, EdgeWeight], Combinatorica`Private`e], Table[List[List[Combinatorica`Private`i, -1], 1], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]]], Set[Combinatorica`Private`al, Map[Function[Rest[Map[Rest, Partition[Flatten[Slot[1]], 3, 3]]]], Split[Sort[Combinatorica`Private`s], Function[Equal[Part[Slot[1], 1, 1], Part[Slot[2], 1, 1]]]]]], If[SameQ[Combinatorica`Private`type, Simple], Map[Union, Table[Select[Part[Combinatorica`Private`al, Combinatorica`Private`i], Function[Unequal[Part[Slot[1], 1], Combinatorica`Private`i]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]]], Combinatorica`Private`al]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, All]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ToAdjacencyLists\"]], False]", "msgs": [], "secs": 0.037} +{"i": 76, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 77, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 78, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 79, "status": "ok", "out": "", "msgs": [], "secs": 0.014} +{"i": 80, "status": "ok", "out": "List[List[1, 2, 9, 9, 10], List[1, 3, 3, 10], List[2, 2, 4, 10], List[3, 5, 10], List[4, 6, 10], List[5, 7, 10], List[6, 8, 10], List[7, 9, 10], List[1, 1, 8, 10], List[1, 2, 3, 4, 5, 6, 7, 8, 9]]", "msgs": [], "secs": 0.0} +{"i": 81, "status": "ok", "out": "List[List[List[1, 1], List[2, 1], List[9, 1], List[9, 1], List[10, 1]], List[List[1, 1], List[3, 1], List[3, 1], List[10, 1]], List[List[2, 1], List[2, 1], List[4, 1], List[10, 1]], List[List[3, 1], List[5, 1], List[10, 1]], List[List[4, 1], List[6, 1], List[10, 1]], List[List[5, 1], List[7, 1], List[10, 1]], List[List[6, 1], List[8, 1], List[10, 1]], List[List[7, 1], List[9, 1], List[10, 1]], List[List[1, 1], List[1, 1], List[8, 1], List[10, 1]], List[List[1, 1], List[2, 1], List[3, 1], List[4, 1], List[5, 1], List[6, 1], List[7, 1], List[8, 1], List[9, 1]]]", "msgs": [], "secs": 0.001} +{"i": 82, "status": "ok", "out": "List[List[List[1, 206824], List[2, 207254], List[9, 270891], List[9, 270891], List[10, 273191]], List[List[1, 207254], List[3, 247993], List[3, 247993], List[10, 260292]], List[List[2, 247993], List[2, 247993], List[4, 296576], List[10, 276170]], List[List[3, 296576], List[5, 216776], List[10, 289303]], List[List[4, 216776], List[6, 283587], List[10, 237662]], List[List[5, 283587], List[7, 207867], List[10, 200261]], List[List[6, 207867], List[8, 254440], List[10, 274193]], List[List[7, 254440], List[9, 231945], List[10, 283216]], List[List[1, 270891], List[1, 270891], List[8, 231945], List[10, 294419]], List[List[1, 273191], List[2, 260292], List[3, 276170], List[4, 289303], List[5, 237662], List[6, 200261], List[7, 274193], List[8, 283216], List[9, 294419]]]", "msgs": [], "secs": 0.001} +{"i": 83, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 84, "status": "ok", "out": "", "msgs": [], "secs": 0.002} +{"i": 85, "status": "ok", "out": "List[List[], List[3], List[2, 4], List[3, 5], List[4, 6], List[5, 7], List[6]]", "msgs": [], "secs": 0.0} +{"i": 86, "status": "ok", "out": "List[List[2, 9, 10], List[1, 3, 10], List[2, 4, 10], List[3, 5, 10], List[4, 6, 10], List[5, 7, 10], List[6, 8, 10], List[7, 9, 10], List[1, 8, 10], List[1, 2, 3, 4, 5, 6, 7, 8, 9]]", "msgs": [], "secs": 0.0} +{"i": 87, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"FromAdjacencyLists\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an edge list representation for a graph from the given adjacency lists \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\), using a circular embedding. \\n\\!\\(\\*RowBox[{\\\"FromAdjacencyLists\\\", \\\"[\\\", RowBox[{StyleBox[\\\"l\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) uses \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the embedding for the resulting graph. An option called Type that takes on the values Directed or Undirected can be used to affect the type of graph produced. The default value of Type is Undirected.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FromAdjacencyLists, List[RuleDelayed[FromAdjacencyLists[Pattern[Combinatorica`Private`al, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], ChangeVertices[FromAdjacencyLists[Combinatorica`Private`al, Combinatorica`Private`opts], Combinatorica`Private`v]], RuleDelayed[FromAdjacencyLists[Pattern[Combinatorica`Private`al, List[RepeatedNull[List[RepeatedNull[Blank[Integer]]]]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`g, Combinatorica`Private`nal, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromAdjacencyLists]]]]], Set[Combinatorica`Private`nal, If[SameQ[Combinatorica`Private`type, Undirected], Table[Select[Part[Combinatorica`Private`al, Combinatorica`Private`i], Function[GreaterEqual[Slot[1], Combinatorica`Private`i]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]], Combinatorica`Private`al]], Set[Combinatorica`Private`g, Graph[Flatten[Table[Map[Function[List[List[Combinatorica`Private`i, Slot[1]]]], Part[Combinatorica`Private`nal, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]], 1], CircularEmbedding[Length[Combinatorica`Private`al]]]], If[SameQ[Combinatorica`Private`type, Directed], SetGraphOptions[Combinatorica`Private`g, Rule[EdgeDirection, True]], Combinatorica`Private`g]]]], RuleDelayed[FromAdjacencyLists[Pattern[Combinatorica`Private`al, List[RepeatedNull[List[RepeatedNull[List[Blank[Integer], Alternatives[Blank[Integer], Blank[Real]]]]]]]], EdgeWeight, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`g, Combinatorica`Private`nal, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromAdjacencyLists]]]]], Set[Combinatorica`Private`nal, If[SameQ[Combinatorica`Private`type, Undirected], Table[Select[Part[Combinatorica`Private`al, Combinatorica`Private`i], Function[GreaterEqual[Part[Slot[1], 1], Combinatorica`Private`i]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]], Combinatorica`Private`al]], Set[Combinatorica`Private`g, Graph[Flatten[Table[Map[Function[List[List[Combinatorica`Private`i, Part[Slot[1], 1]], Rule[EdgeWeight, Part[Slot[1], 2]]]], Part[Combinatorica`Private`nal, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Combinatorica`Private`al]]], 1], CircularEmbedding[Length[Combinatorica`Private`al]]]], If[SameQ[Combinatorica`Private`type, Directed], SetGraphOptions[Combinatorica`Private`g, Rule[EdgeDirection, True]], Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`FromAdjacencyLists\"]], False]", "msgs": [], "secs": 0.03} +{"i": 88, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 89, "status": "ok", "out": "List[List[1, 1], List[1, 2], List[1, 9], List[1, 9], List[1, 10], List[2, 3], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 90, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 91, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 92, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ToOrderedPairs\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a list of ordered pairs representing the edges of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ToOrderedPairs, List[RuleDelayed[ToOrderedPairs[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`op], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToOrderedPairs]]]]], Set[Combinatorica`Private`op, If[UndirectedQ[Combinatorica`Private`g], Combinatorica`Private`Double[Edges[Combinatorica`Private`g]], Edges[Combinatorica`Private`g]]], If[SameQ[Combinatorica`Private`type, Simple], Union[Select[Combinatorica`Private`op, Function[Unequal[Part[Slot[1], 1], Part[Slot[1], 2]]]]], Combinatorica`Private`op]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, All]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ToOrderedPairs\"]], False]", "msgs": [], "secs": 0.031} +{"i": 93, "status": "ok", "out": "List[List[10, 1], List[10, 2], List[10, 3], List[10, 4], List[10, 5], List[10, 6], List[10, 7], List[10, 8], List[10, 9], List[2, 1], List[3, 2], List[4, 3], List[5, 4], List[6, 5], List[7, 6], List[8, 7], List[9, 8], List[9, 1], List[9, 1], List[3, 2], List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9], List[1, 1], List[1, 9], List[2, 3]]", "msgs": [], "secs": 0.0} +{"i": 94, "status": "ok", "out": "List[List[1, 2], List[1, 9], List[1, 10], List[2, 1], List[2, 3], List[2, 10], List[3, 2], List[3, 4], List[3, 10], List[4, 3], List[4, 5], List[4, 10], List[5, 4], List[5, 6], List[5, 10], List[6, 5], List[6, 7], List[6, 10], List[7, 6], List[7, 8], List[7, 10], List[8, 7], List[8, 9], List[8, 10], List[9, 1], List[9, 8], List[9, 10], List[10, 1], List[10, 2], List[10, 3], List[10, 4], List[10, 5], List[10, 6], List[10, 7], List[10, 8], List[10, 9]]", "msgs": [], "secs": 0.0} +{"i": 95, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Further output of `1` will be suppressed during this calculation.\"", "\"Uncaught `1` returned to top level.\"", "\"Further output of `1` will be suppressed during this calculation.\""], "secs": 0.001} +{"i": 96, "status": "ok", "out": "List[List[2, 1], List[9, 1], List[9, 1], List[10, 1], List[3, 2], List[3, 2], List[10, 2], List[4, 3], List[10, 3], List[5, 4], List[10, 4], List[6, 5], List[10, 5], List[7, 6], List[10, 6], List[8, 7], List[10, 7], List[9, 8], List[10, 8], List[10, 9], List[1, 1], List[1, 2], List[1, 9], List[1, 9], List[1, 10], List[2, 3], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 97, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"FromOrderedPairs\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an edge list representation from a list of ordered pairs \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\), using a circular embedding. \\n\\!\\(\\*RowBox[{\\\"FromOrderedPairs\\\", \\\"[\\\", RowBox[{StyleBox[\\\"l\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) uses \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the embedding for the resulting graph. The option Type that takes on values Undirected or Directed can be used to affect the kind of graph produced. The default value of Type is Directed. \\!\\(\\*RowBox[{\\\"Type\\\", \\\"->\\\", \\\"Undirected\\\"}]\\) results in the underlying undirected graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FromOrderedPairs, List[RuleDelayed[FromOrderedPairs[Pattern[Combinatorica`Private`el, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], ChangeVertices[FromOrderedPairs[Combinatorica`Private`el, Combinatorica`Private`opts], Combinatorica`Private`v]], RuleDelayed[FromOrderedPairs[Pattern[Combinatorica`Private`el, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromOrderedPairs]]]]], If[SameQ[Combinatorica`Private`type, Directed], Combinatorica`Private`FOPD[Combinatorica`Private`el], Combinatorica`Private`FOP[Combinatorica`Private`el]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Directed]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`FromOrderedPairs\"]], False]", "msgs": [], "secs": 0.03} +{"i": 98, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 99, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 100, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 101, "status": "ok", "out": "List[List[10, 1], List[10, 2], List[10, 3], List[10, 4], List[10, 5], List[10, 6], List[10, 7], List[10, 8], List[10, 9], List[2, 1], List[3, 2], List[4, 3], List[5, 4], List[6, 5], List[7, 6], List[8, 7], List[9, 8], List[9, 1], List[9, 1], List[3, 2], List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9], List[1, 1], List[1, 9], List[2, 3]]", "msgs": [], "secs": 0.0} +{"i": 102, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 103, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 104, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ToUnorderedPairs\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a list of unordered pairs representing the edges of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). Each edge, directed or undirected, results in a pair in which the smaller vertex appears first. \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ToUnorderedPairs, List[RuleDelayed[ToUnorderedPairs[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`el], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToUnorderedPairs]]]]], Set[Combinatorica`Private`el, If[UndirectedQ[Combinatorica`Private`g], Edges[Combinatorica`Private`g], Map[Sort, Edges[Combinatorica`Private`g]]]], If[SameQ[Combinatorica`Private`type, All], Combinatorica`Private`el, Union[Select[Combinatorica`Private`el, Function[Unequal[Part[Slot[1], 1], Part[Slot[1], 2]]]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, All]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ToUnorderedPairs\"]], False]", "msgs": [], "secs": 0.028} +{"i": 105, "status": "ok", "out": "Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]], List[List[1, 1]], List[List[1, 9]], List[List[2, 3]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 106, "status": "ok", "out": "List[List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9], List[1, 1], List[1, 9], List[2, 3]]", "msgs": [], "secs": 0.0} +{"i": 107, "status": "ok", "out": "List[List[1, 2], List[1, 9], List[1, 10], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 108, "status": "ok", "out": "List[List[1, 2], List[1, 9], List[1, 10], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 109, "status": "ok", "out": "List[List[1, 2], List[1, 9], List[1, 10], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 110, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 111, "status": "ok", "out": "List[List[1, 1], List[1, 2], List[1, 9], List[1, 10], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 112, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"FromUnorderedPairs\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an edge list representation from a list of unordered pairs \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\), using a circular embedding.\\n\\!\\(\\*RowBox[{\\\"FromUnorderedPairs\\\", \\\"[\\\", RowBox[{StyleBox[\\\"l\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) uses \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the embedding for the resulting graph. The option Type that takes on values Undirected or Directed can be used to affect the kind of graph produced.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FromUnorderedPairs, List[RuleDelayed[FromUnorderedPairs[Pattern[Combinatorica`Private`el, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], ChangeVertices[FromUnorderedPairs[Combinatorica`Private`el, Combinatorica`Private`opts], Combinatorica`Private`v]], RuleDelayed[FromUnorderedPairs[Pattern[Combinatorica`Private`el, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromUnorderedPairs]]]]], If[SameQ[Combinatorica`Private`type, Undirected], Combinatorica`Private`FUP[Combinatorica`Private`el], Combinatorica`Private`FUPD[Combinatorica`Private`el]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`FromUnorderedPairs\"]], False]", "msgs": [], "secs": 0.028} +{"i": 113, "status": "ok", "out": "List[List[1, 10], List[2, 10], List[3, 10], List[4, 10], List[5, 10], List[6, 10], List[7, 10], List[8, 10], List[9, 10], List[1, 2], List[2, 3], List[3, 4], List[4, 5], List[5, 6], List[6, 7], List[7, 8], List[8, 9], List[1, 9], List[1, 1], List[1, 9], List[2, 3]]", "msgs": [], "secs": 0.0} +{"i": 114, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 115, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 116, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ToAdjacencyMatrix\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an adjacency matrix representation for graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"ToAdjacencyMatrix\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"]}], \\\",\\\", \\\"EdgeWeight\\\"}], \\\"]\\\"}]\\) returns edge weights as entries of the adjacency matrix with Infinity representing missing edges.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ToAdjacencyMatrix, List[RuleDelayed[ToAdjacencyMatrix[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Set[Combinatorica`Private`blanks, Table[0, List[V[Combinatorica`Private`g]]]], Combinatorica`Private`type, Combinatorica`Private`am, Combinatorica`Private`nb, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToAdjacencyMatrix]]]]], Set[Combinatorica`Private`am, Table[CompoundExpression[Set[Combinatorica`Private`nb, Combinatorica`Private`blanks], Scan[Function[Increment[Part[Combinatorica`Private`nb, Slot[1]]]], Part[Combinatorica`Private`e, Combinatorica`Private`i]], Combinatorica`Private`nb], List[Combinatorica`Private`i, Length[Combinatorica`Private`e]]]], If[SameQ[Combinatorica`Private`type, Simple], CompoundExpression[Do[Set[Part[Combinatorica`Private`am, Combinatorica`Private`i, Combinatorica`Private`i], 0], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]], ReplaceAll[Combinatorica`Private`am, Rule[PatternTest[Blank[Integer], Positive], 1]]], Combinatorica`Private`am]]]], RuleDelayed[ToAdjacencyMatrix[Pattern[Combinatorica`Private`g, Blank[Graph]], EdgeWeight, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`adjList, ToAdjacencyLists[Combinatorica`Private`g, EdgeWeight]], Set[Combinatorica`Private`freshRow, Table[Infinity, List[V[Combinatorica`Private`g]]]], Combinatorica`Private`row, Combinatorica`Private`am, Combinatorica`Private`type, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[ToAdjacencyMatrix]]]]], Set[Combinatorica`Private`am, Map[Function[CompoundExpression[Set[Combinatorica`Private`row, Combinatorica`Private`freshRow], If[SameQ[Slot[1], List[]], Combinatorica`Private`row, CompoundExpression[Apply[Function[Set[Part[Combinatorica`Private`row, Slot[1]], Slot[2]]], Transpose[Slot[1]]], Combinatorica`Private`row]]]], Combinatorica`Private`adjList]], If[SameQ[Combinatorica`Private`type, Simple], CompoundExpression[Do[Set[Part[Combinatorica`Private`am, Combinatorica`Private`i, Combinatorica`Private`i], 0], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]], Combinatorica`Private`am], Combinatorica`Private`am]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, All]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ToAdjacencyMatrix\"]], False]", "msgs": [], "secs": 0.028} +{"i": 117, "status": "ok", "out": "MatrixForm[List[List[1, 1, 0, 0, 0, 0, 0, 0, 2, 1], List[1, 0, 2, 0, 0, 0, 0, 0, 0, 1], List[0, 2, 0, 1, 0, 0, 0, 0, 0, 1], List[0, 0, 1, 0, 1, 0, 0, 0, 0, 1], List[0, 0, 0, 1, 0, 1, 0, 0, 0, 1], List[0, 0, 0, 0, 1, 0, 1, 0, 0, 1], List[0, 0, 0, 0, 0, 1, 0, 1, 0, 1], List[0, 0, 0, 0, 0, 0, 1, 0, 1, 1], List[2, 0, 0, 0, 0, 0, 0, 1, 0, 1], List[1, 1, 1, 1, 1, 1, 1, 1, 1, 0]]]", "msgs": [], "secs": 0.0} +{"i": 118, "status": "ok", "out": "MatrixForm[List[List[0, 1, 0, 0, 0, 0, 0, 0, 1, 1], List[1, 0, 1, 0, 0, 0, 0, 0, 0, 1], List[0, 1, 0, 1, 0, 0, 0, 0, 0, 1], List[0, 0, 1, 0, 1, 0, 0, 0, 0, 1], List[0, 0, 0, 1, 0, 1, 0, 0, 0, 1], List[0, 0, 0, 0, 1, 0, 1, 0, 0, 1], List[0, 0, 0, 0, 0, 1, 0, 1, 0, 1], List[0, 0, 0, 0, 0, 0, 1, 0, 1, 1], List[1, 0, 0, 0, 0, 0, 0, 1, 0, 1], List[1, 1, 1, 1, 1, 1, 1, 1, 1, 0]]]", "msgs": [], "secs": 0.0} +{"i": 119, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 120, "status": "ok", "out": "TableForm[List[List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 61803], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 117557, DirectedInfinity[1], DirectedInfinity[1], 200000, DirectedInfinity[1], DirectedInfinity[1], 117557], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 190211, DirectedInfinity[1], DirectedInfinity[1], 161803], List[DirectedInfinity[1], 117557, DirectedInfinity[1], DirectedInfinity[1], 61803, DirectedInfinity[1], 161803, DirectedInfinity[1], 200000, DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 61803, DirectedInfinity[1], DirectedInfinity[1], 117557, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 61803, 117557, DirectedInfinity[1], 190211], List[DirectedInfinity[1], 200000, 190211, 161803, 117557, 61803, DirectedInfinity[1], 61803, DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 117557, 61803, DirectedInfinity[1], 61803, DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 200000, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 61803, DirectedInfinity[1], DirectedInfinity[1]], List[61803, 117557, 161803, DirectedInfinity[1], DirectedInfinity[1], 190211, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]]]]", "msgs": [], "secs": 0.0} +{"i": 121, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 122, "status": "ok", "out": "List[List[DirectedInfinity[1], 1, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[1, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 1, DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], 1, DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1]], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 1], List[DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], DirectedInfinity[1], 1, DirectedInfinity[1]]]", "msgs": [], "secs": 0.0} +{"i": 123, "status": "ok", "out": "MatrixForm[List[List[0, 1, 0, 0, 0, 0], List[1, 0, 0, 0, 0, 0], List[0, 0, 0, 1, 0, 0], List[0, 0, 1, 0, 0, 0], List[0, 0, 0, 0, 0, 1], List[0, 0, 0, 0, 1, 0]]]", "msgs": [], "secs": 0.0} +{"i": 124, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"FromAdjacencyMatrix\\\", \\\"[\\\", StyleBox[\\\"m\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a graph from a given adjacency matrix \\!\\(\\*StyleBox[\\\"m\\\", \\\"TI\\\"]\\), using a circular embedding. \\n\\!\\(\\*RowBox[{\\\"FromAdjacencyMatrix\\\", \\\"[\\\", RowBox[{StyleBox[\\\"m\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) uses \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the embedding for the resulting graph. An option Type that takes on the values Directed or Undirected can be used to affect the type of graph produced. The default value of Type is Undirected. \\n\\!\\(\\*RowBox[{\\\"FromAdjacencyMatrix\\\", \\\"[\\\", RowBox[{StyleBox[\\\"m\\\", \\\"TI\\\"], \\\",\\\", \\\"EdgeWeight\\\"}], \\\"]\\\"}]\\) interprets the entries in \\!\\(\\*StyleBox[\\\"m\\\", \\\"TI\\\"]\\) as edge weights, with infinity representing missing edges, and from this constructs a weighted graph using a circular embedding. \\n\\!\\(\\*RowBox[{\\\"FromAdjacencyMatrix\\\", \\\"[\\\", RowBox[{StyleBox[\\\"m\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"EdgeWeight\\\"}], \\\"]\\\"}]\\) uses \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the embedding for the resulting graph. The option Type can be used along with the EdgeWeight tag.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FromAdjacencyMatrix, List[RuleDelayed[FromAdjacencyMatrix[Pattern[Combinatorica`Private`m, List[RepeatedNull[List[RepeatedNull[Blank[Integer]]]]]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], ChangeVertices[FromAdjacencyMatrix[Combinatorica`Private`m, Combinatorica`Private`opts], Combinatorica`Private`v]], RuleDelayed[FromAdjacencyMatrix[Pattern[Combinatorica`Private`m, List[RepeatedNull[List[RepeatedNull[Blank[Integer]]]]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`p], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromAdjacencyMatrix]]]]], If[SameQ[Combinatorica`Private`type, Undirected], CompoundExpression[Set[Combinatorica`Private`p, Union[Map[Sort, Position[Combinatorica`Private`m, PatternTest[Blank[Integer], Positive]]]]], Combinatorica`Private`AM[Combinatorica`Private`p, Combinatorica`Private`m]], CompoundExpression[Set[Combinatorica`Private`p, Position[Combinatorica`Private`m, PatternTest[Blank[Integer], Positive]]], SetGraphOptions[Combinatorica`Private`AM[Combinatorica`Private`p, Combinatorica`Private`m], Rule[EdgeDirection, True]]]]]]], RuleDelayed[FromAdjacencyMatrix[Pattern[Combinatorica`Private`m, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], EdgeWeight, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], ChangeVertices[FromAdjacencyMatrix[Combinatorica`Private`m, EdgeWeight, Combinatorica`Private`opts], Combinatorica`Private`v]], RuleDelayed[FromAdjacencyMatrix[Pattern[Combinatorica`Private`m, Blank[List]], EdgeWeight, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`p], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FromAdjacencyMatrix]]]]], If[SameQ[Combinatorica`Private`type, Undirected], CompoundExpression[Set[Combinatorica`Private`p, Union[Map[Sort, Position[Combinatorica`Private`m, PatternTest[Blank[], NumericQ], 2]]]], Combinatorica`Private`AM[Combinatorica`Private`p, Combinatorica`Private`m, EdgeWeight]], CompoundExpression[Set[Combinatorica`Private`p, Position[Combinatorica`Private`m, PatternTest[Blank[], NumericQ], 2]], SetGraphOptions[Combinatorica`Private`AM[Combinatorica`Private`p, Combinatorica`Private`m, EdgeWeight], Rule[EdgeDirection, True]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"N...", "msgs": [], "secs": 0.029} +{"i": 125, "status": "ok", "out": "Graph[List[List[List[1, 1]], List[List[1, 2]], List[List[1, 9]], List[List[1, 9]], List[List[1, 10]], List[List[2, 3]], List[List[2, 3]], List[List[2, 10]], List[List[3, 4]], List[List[3, 10]], List[List[4, 5]], List[List[4, 10]], List[List[5, 6]], List[List[5, 10]], List[List[6, 7]], List[List[6, 10]], List[List[7, 8]], List[List[7, 10]], List[List[8, 9]], List[List[8, 10]], List[List[9, 10]]], List[List[List[80902, 58779]], List[List[30902, 95106]], List[List[-30902, 95106]], List[List[-80902, 58779]], List[List[-100000, 0]], List[List[-80902, -58779]], List[List[-30902, -95106]], List[List[30902, -95106]], List[List[80902, -58779]], List[List[100000, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 126, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 127, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"PseudographQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is a pseudograph, meaning it contains self-loops.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, PseudographQ, List[RuleDelayed[PseudographQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], MemberQ[Edges[Combinatorica`Private`g], PatternTest[Blank[], Function[Combinatorica`Private`l, Equal[Part[Combinatorica`Private`l, 1], Part[Combinatorica`Private`l, 2]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`PseudographQ\"]], False]", "msgs": [], "secs": 0.028} +{"i": 128, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 129, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 130, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"UnweightedQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if all edge weights are 1 and False otherwise.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, UnweightedQ, List[RuleDelayed[UnweightedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], SameQ[Count[GetEdgeWeights[Combinatorica`Private`g], 1], M[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`UnweightedQ\"]], False]", "msgs": [], "secs": 0.028} +{"i": 131, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 132, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 133, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SimpleQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is a simple graph, meaning it has no multiple edges and contains no self-loops.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SimpleQ, List[RuleDelayed[SimpleQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], And[Not[PseudographQ[Combinatorica`Private`g]], Not[MultipleEdgesQ[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SimpleQ\"]], False]", "msgs": [], "secs": 0.029} +{"i": 134, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 135, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 136, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 137, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RemoveSelfLoops\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the graph obtained by deleting self-loops in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RemoveSelfLoops, List[RuleDelayed[RemoveSelfLoops[Pattern[Combinatorica`Private`g, Blank[Graph]]], ChangeEdges[Combinatorica`Private`g, Select[Edges[Combinatorica`Private`g, All], Function[Unequal[Part[First[Slot[1]], 1], Part[First[Slot[1]], 2]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RemoveSelfLoops\"]], False]", "msgs": [], "secs": 0.029} +{"i": 138, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 139, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 140, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 141, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RemoveMultipleEdges\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the graph obtained by deleting multiple edges from \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RemoveMultipleEdges, List[RuleDelayed[RemoveMultipleEdges[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`rme[Combinatorica`Private`g, First]], RuleDelayed[RemoveMultipleEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], True], Combinatorica`Private`rme[Combinatorica`Private`g, Combinatorica`Private`mergeedges]], RuleDelayed[RemoveMultipleEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], False], Combinatorica`Private`rme[Combinatorica`Private`g, First]], RuleDelayed[RemoveMultipleEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`f, Blank[]]], Combinatorica`Private`rme[Combinatorica`Private`g, Combinatorica`Private`f]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RemoveMultipleEdges\"]], False]", "msgs": [], "secs": 0.03} +{"i": 142, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 143, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 144, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 145, "status": "ok", "out": "", "msgs": [], "secs": 0.013000000000000001} +{"i": 146, "status": "ok", "out": "22", "msgs": [], "secs": 0.0} +{"i": 147, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 148, "status": "ok", "out": "18", "msgs": [], "secs": 0.0} +{"i": 149, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 150, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EmptyQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) contains no edges.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EmptyQ, List[RuleDelayed[EmptyQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Equal[Length[Edges[Combinatorica`Private`g]], 0]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EmptyQ\"]], False]", "msgs": [], "secs": 0.04} +{"i": 151, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 152, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 153, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CompleteQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is complete. This means that between any pair of vertices there is an undirected edge or two directed edges going in opposite directions.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CompleteQ, List[RuleDelayed[CompleteQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Block[List[Set[Combinatorica`Private`n, V[Combinatorica`Private`g]], Set[Combinatorica`Private`m, M[Combinatorica`Private`g]]], And[SimpleQ[Combinatorica`Private`g], Or[And[UndirectedQ[Combinatorica`Private`g], Equal[Combinatorica`Private`m, Times[Combinatorica`Private`n, Times[Plus[Combinatorica`Private`n, -1], Power[2, -1]]]]], And[Not[UndirectedQ[Combinatorica`Private`g]], Equal[Combinatorica`Private`m, Times[Combinatorica`Private`n, Plus[Combinatorica`Private`n, -1]]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CompleteQ\"]], False]", "msgs": [], "secs": 0.045} +{"i": 154, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 155, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 156, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 157, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 158, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 159, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 160, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 161, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 162, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 163, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 164, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 165, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MultipleEdgesQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) has multiple edges between pairs of vertices. It yields False otherwise.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MultipleEdgesQ, List[RuleDelayed[MultipleEdgesQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]]], Unequal[Length[Combinatorica`Private`e], Length[Union[Combinatorica`Private`e]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MultipleEdgesQ\"]], False]", "msgs": [], "secs": 0.039} +{"i": 166, "status": "ok", "out": "List[List[1, 1], List[1, 2], List[1, 9], List[1, 9], List[1, 10], List[2, 3], List[2, 3], List[2, 10], List[3, 4], List[3, 10], List[4, 5], List[4, 10], List[5, 6], List[5, 10], List[6, 7], List[6, 10], List[7, 8], List[7, 10], List[8, 9], List[8, 10], List[9, 10]]", "msgs": [], "secs": 0.0} +{"i": 167, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 168, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 169, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 170, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 171, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"InduceSubgraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"s\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs the subgraph of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) induced by the list of vertices \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, InduceSubgraph, List[RuleDelayed[InduceSubgraph[Pattern[Combinatorica`Private`g, Blank[Graph]], List[]], Graph[List[], List[]]], RuleDelayed[InduceSubgraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]]], Condition[PermuteSubgraph[Combinatorica`Private`g, Union[Combinatorica`Private`s]], Equal[Complement[Combinatorica`Private`s, Range[V[Combinatorica`Private`g]]], List[]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`InduceSubgraph\"]], False]", "msgs": [], "secs": 0.029} +{"i": 172, "status": "ok", "out": "ShowGraph[Graph[List[List[List[1, 4]], List[List[2, 4]], List[List[3, 4]], List[List[2, 3]], List[List[1, 3]], List[List[1, 1]], List[List[1, 3]]], List[List[List[76604, 64279]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]], Rule[Background, HotPink], Rule[VertexNumber, Text[List[2000, 2000], Rule[TextStyle, List[Rule[FontSize, 12]]]]], Graphics]", "msgs": [], "secs": 0.0} +{"i": 173, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\""], "secs": 0.04} +{"i": 174, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 175, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 176, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 177, "status": "ok", "out": "Null", "msgs": [], "secs": 0.007} +{"i": 178, "status": "ok", "out": "Null", "msgs": [], "secs": 0.003} +{"i": 179, "status": "ok", "out": "List[List[0, Null], List[1836, Null]]", "msgs": [], "secs": 0.018000000000000002} +{"i": 180, "status": "ok", "out": "", "msgs": [], "secs": 0.418} +{"i": 181, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 182, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 183, "status": "ok", "out": "DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`InduceSubgraph[DiscreteMath`OldCombinatorica`GridGraph[10, 10], List[3, 4, 6, 7, 8, 10, 15, 16, 18, 19, 21, 22, 25, 27, 29, 30, 33, 34, 38, 40, 42, 46, 48, 49, 52, 53, 59, 65, 67, 72, 73, 74, 75, 76, 77, 78, 83, 85, 88, 89, 90, 91, 92, 95, 96, 97, 99, 100]]]", "msgs": [], "secs": 0.0} +{"i": 184, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 185, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"PermuteSubgraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"p\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) permutes the vertices of a subgraph of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) induced by \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\) according to \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, PermuteSubgraph, List[RuleDelayed[PermuteSubgraph[Pattern[Combinatorica`Private`g, Blank[Graph]], List[]], Graph[List[], List[]]], RuleDelayed[PermuteSubgraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]]], Condition[Graph[If[UndirectedQ[Combinatorica`Private`g], Map[Function[Prepend[Rest[Slot[1]], Sort[First[Slot[1]]]]], Combinatorica`Private`PermuteEdges[Edges[Combinatorica`Private`g, All], Combinatorica`Private`s, V[Combinatorica`Private`g]]], Combinatorica`Private`PermuteEdges[Edges[Combinatorica`Private`g, All], Combinatorica`Private`s, V[Combinatorica`Private`g]]], Part[Vertices[Combinatorica`Private`g, All], Sort[Combinatorica`Private`s]], Apply[Sequence, GraphOptions[Combinatorica`Private`g]]], And[LessEqual[Length[Combinatorica`Private`s], V[Combinatorica`Private`g]], Equal[Length[Union[Combinatorica`Private`s]], Length[Combinatorica`Private`s]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`PermuteSubgraph\"]], False]", "msgs": [], "secs": 0.033} +{"i": 186, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 187, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 188, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 189, "status": "ok", "out": "48", "msgs": [], "secs": 0.0} +{"i": 190, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 191, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 192, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Contract\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) gives the graph resulting from contracting the pair of vertices \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Contract, List[RuleDelayed[Contract[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`l, Blank[List]]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]], Set[Combinatorica`Private`t, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`cnt, 0], Set[Combinatorica`Private`last, Plus[V[Combinatorica`Private`g], Times[-1, Length[Combinatorica`Private`l]], 1]], Set[Combinatorica`Private`undirected, UndirectedQ[Combinatorica`Private`g]]], CompoundExpression[Do[If[MemberQ[Combinatorica`Private`l, Combinatorica`Private`k], CompoundExpression[Increment[Combinatorica`Private`cnt], Set[Part[Combinatorica`Private`t, Combinatorica`Private`k], Combinatorica`Private`last]], Set[Part[Combinatorica`Private`t, Combinatorica`Private`k], Plus[Combinatorica`Private`k, Times[-1, Combinatorica`Private`cnt]]]], List[Combinatorica`Private`k, V[Combinatorica`Private`g]]], Graph[DeleteCases[ReplaceAll[Edges[Combinatorica`Private`g, All], RuleDelayed[List[List[Pattern[Combinatorica`Private`x, Blank[Integer]], Pattern[Combinatorica`Private`y, Blank[Integer]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], List[If[Combinatorica`Private`undirected, Sort, Identity][List[Part[Combinatorica`Private`t, Combinatorica`Private`x], Part[Combinatorica`Private`t, Combinatorica`Private`y]]], Combinatorica`Private`opts]]], List[List[Combinatorica`Private`last, Combinatorica`Private`last], PatternTest[BlankNullSequence[], OptionQ]]], Append[Part[Combinatorica`Private`v, Complement[Range[Length[Combinatorica`Private`v]], Combinatorica`Private`l]], List[Times[Apply[Plus, Map[First, Part[Combinatorica`Private`v, Combinatorica`Private`l]]], Power[Length[Combinatorica`Private`l], -1]]]], Apply[Sequence, GraphOptions[Combinatorica`Private`g]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Contract\"]], False]", "msgs": [], "secs": 0.035} +{"i": 193, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 194, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 195, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphComplement\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphComplement, List[RuleDelayed[GraphComplement[Pattern[Combinatorica`Private`g, Blank[Graph]]], ChangeVertices[DeleteEdges[If[UndirectedQ[Combinatorica`Private`g], CompleteGraph[V[Combinatorica`Private`g]], CompleteGraph[V[Combinatorica`Private`g], Rule[Type, Directed]]], Edges[Combinatorica`Private`g]], Vertices[Combinatorica`Private`g, All]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphComplement\"]], False]", "msgs": [], "secs": 0.045} +{"i": 196, "status": "ok", "out": "Graph[List[], List[]]", "msgs": [], "secs": 0.0} +{"i": 197, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 198, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 199, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\"", "\"Further output of `1` will be suppressed during this calculation.\""], "secs": 0.015} +{"i": 200, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 201, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 202, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MakeUndirected\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the underlying undirected graph of the given directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MakeUndirected, List[RuleDelayed[MakeUndirected[Pattern[Combinatorica`Private`g, Blank[Graph]]], If[UndirectedQ[Combinatorica`Private`g], Combinatorica`Private`g, RemoveMultipleEdges[SetGraphOptions[ChangeEdges[Combinatorica`Private`g, ReplaceAll[Edges[Combinatorica`Private`g, All], RuleDelayed[List[Pattern[Combinatorica`Private`x, Blank[Integer]], Pattern[Combinatorica`Private`y, Blank[Integer]]], Sort[List[Combinatorica`Private`x, Combinatorica`Private`y]]]]], Rule[EdgeDirection, False]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MakeUndirected\"]], False]", "msgs": [], "secs": 0.028} +{"i": 203, "status": "ok", "out": "Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]], List[List[1, 1]], List[List[1, 9]], List[List[2, 3]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 204, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 205, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 206, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 207, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 208, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 209, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 210, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 211, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"UndirectedQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is undirected.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, UndirectedQ, List[RuleDelayed[UndirectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], And[Not[MemberQ[GraphOptions[Combinatorica`Private`g], Rule[EdgeDirection, On]]], Not[MemberQ[GraphOptions[Combinatorica`Private`g], Rule[EdgeDirection, True]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`UndirectedQ\"]], False]", "msgs": [], "secs": 0.027} +{"i": 212, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 213, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 214, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 215, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MakeSimple\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the undirected graph free of multiple edges and self-loops that is derived from graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MakeSimple, List[RuleDelayed[MakeSimple[Pattern[Combinatorica`Private`g, Blank[Graph]]], MakeUndirected[RemoveMultipleEdges[RemoveSelfLoops[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MakeSimple\"]], False]", "msgs": [], "secs": 0.028} +{"i": 216, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 217, "status": "ok", "out": "18", "msgs": [], "secs": 0.0} +{"i": 218, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 219, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 220, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DepthFirstTraversal\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) performs a depth-first traversal of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) starting from vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\), and gives a list of vertices in the order in which they were encountered. \\n\\!\\(\\*RowBox[{\\\"DepthFirstTraversal\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Edge\\\"}], \\\"]\\\"}]\\) returns the edges of the graph that are traversed by the depth-first traversal in the order in which they are traversed. \\n\\!\\(\\*RowBox[{\\\"DepthFirstTraversal\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Tree\\\"}], \\\"]\\\"}]\\) returns the depth-first tree of the graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DepthFirstTraversal, List[RuleDelayed[DepthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, Blank[Integer]], Optional[Pattern[Combinatorica`Private`flag, Blank[]], Combinatorica`Private`Vertex]], Condition[Block[List[Set[Combinatorica`Private`visit, List[]], Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Set[Combinatorica`Private`edges, List[]], Set[Combinatorica`Private`parent, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`cnt, 1], Set[$RecursionLimit, Infinity]], CompoundExpression[Set[Part[Combinatorica`Private`parent, Combinatorica`Private`start], Combinatorica`Private`start], Combinatorica`Private`DFS[Combinatorica`Private`start], Switch[Combinatorica`Private`flag, Edge, Combinatorica`Private`edges, Tree, ChangeEdges[Combinatorica`Private`g, Combinatorica`Private`edges], Combinatorica`Private`Vertex, Combinatorica`Private`visit]]], And[LessEqual[1, Combinatorica`Private`start], LessEqual[Combinatorica`Private`start, V[Combinatorica`Private`g]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DepthFirstTraversal\"]], False]", "msgs": [], "secs": 0.029} +{"i": 221, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 222, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 223, "status": "ok", "out": "List[2, 1, 9, 8, 7, 6, 5, 4, 3, 10]", "msgs": [], "secs": 0.0} +{"i": 224, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 225, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 226, "status": "ok", "out": "List[2, 3, 4, 5, 6, 7, 8, 9, 1, 10]", "msgs": [], "secs": 0.0} +{"i": 227, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 228, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 229, "status": "ok", "out": "List[2, 10, 1, 9, 8, 7, 6, 5, 4, 3]", "msgs": [], "secs": 0.0} +{"i": 230, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 231, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 232, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 233, "status": "ok", "out": "", "msgs": [], "secs": 0.214} +{"i": 234, "status": "crash", "out": "", "msgs": [], "secs": null} +{"i": 235, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 236, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\""], "secs": 6.535} +{"i": 237, "status": "ok", "out": "DepthFirstTraversal[SetGraphOptions[t, Rule[EdgeDirection, On]], 10, Edge]", "msgs": [], "secs": 0.002} +{"i": 238, "status": "crash", "out": "", "msgs": [], "secs": null} +{"i": 239, "status": "msg", "out": "ListPlot[rt, Rule[PlotJoined, True]]", "msgs": ["ListPlot::optx"], "secs": 0.079} +{"i": 240, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 241, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 242, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.894} +{"i": 243, "status": "msg", "out": "ListPlot[rt, Rule[PlotJoined, True]]", "msgs": ["ListPlot::optx"], "secs": 0.002} +{"i": 244, "status": "ok", "out": "List[List[1, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.015} +{"i": 245, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) performs a breadth-first traversal of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) starting from vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\), and gives the breadth-first numbers of the vertices. \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"]}], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Edge\\\"}], \\\"]\\\"}]\\) returns the edges of the graph that are traversed by breadth-first traversal. \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"]}], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Tree\\\"}], \\\"]\\\"}]\\) returns the breadth-first search tree. \\n\\!\\(\\*RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"Level\\\", \\\"]\\\"}]}]\\) returns the level number of the vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BreadthFirstTraversal, List[RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive]], Condition[First[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`t, Blank[Integer]], Positive]], Condition[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s, Combinatorica`Private`t], And[LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]], LessEqual[Combinatorica`Private`t, V[Combinatorica`Private`g]]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Edge], Condition[Module[List[Set[Combinatorica`Private`b, Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], Combinatorica`Private`v, Combinatorica`Private`p], CompoundExpression[Set[Combinatorica`Private`v, InversePermutation[Cases[Part[Combinatorica`Private`b, 1], PatternTest[Blank[], Positive]]]], Set[Combinatorica`Private`p, Part[Combinatorica`Private`b, 2]], Table[List[Part[Combinatorica`Private`p, Part[Combinatorica`Private`v, Combinatorica`Private`i]], Part[Combinatorica`Private`v, Combinatorica`Private`i]], List[Combinatorica`Private`i, 2, Length[Combinatorica`Private`v]]]]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Tree], Condition[Module[List[Set[Combinatorica`Private`p, Part[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s], 2]]], ChangeEdges[Combinatorica`Private`g, Flatten[Table[If[Unequal[Combinatorica`Private`i, Part[Combinatorica`Private`p, Combinatorica`Private`i]], List[List[List[Part[Combinatorica`Private`p, Combinatorica`Private`i], Combinatorica`Private`i]]], List[]], List[Combinatorica`Private`i, Length[Combinatorica`Private`p]]], 1]]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Level], Condition[Last[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protec...", "msgs": [], "secs": 0.133} +{"i": 246, "status": "ok", "out": "ShowGraph[DeleteEdges[t, List[List[2, 3]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.001} +{"i": 247, "status": "ok", "out": "ShowGraph[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 248, "status": "ok", "out": "ShowGraph[BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 1, Tree], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.001} +{"i": 249, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 1, Edge]", "msgs": [], "secs": 0.0} +{"i": 250, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 1, Level]", "msgs": [], "secs": 0.0} +{"i": 251, "status": "ok", "out": "ShowGraph[BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 10, Tree], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 252, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 10, Edge]", "msgs": [], "secs": 0.0} +{"i": 253, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 10, Level]", "msgs": [], "secs": 0.0} +{"i": 254, "status": "ok", "out": "ShowGraph[BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 5, Tree], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 255, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 5, Edge]", "msgs": [], "secs": 0.0} +{"i": 256, "status": "ok", "out": "BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], 5, Level]", "msgs": [], "secs": 0.0} +{"i": 257, "status": "msg", "out": "ShowGraph[Highlight[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], List[BreadthFirstTraversal[DeleteEdges[DeleteEdges[t, List[List[2, 3]]], List[List[2, 10]]], Sort[2], Sort[Edge]]], Rule[HighlightedEdgeColors, List[RGBColor[0, 0, 1]]]], Rule[VertexNumber, On]]", "msgs": ["Sort::normal", "Sort::normal"], "secs": 0.066} +{"i": 258, "status": "ok", "out": "Null", "msgs": [], "secs": 0.016} +{"i": 259, "status": "ok", "out": "", "msgs": [], "secs": 1.541} +{"i": 260, "status": "ok", "out": "Null", "msgs": [], "secs": 0.10300000000000001} +{"i": 261, "status": "ok", "out": "", "msgs": [], "secs": 0.12} +{"i": 262, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.007} +{"i": 263, "status": "ok", "out": "", "msgs": [], "secs": 0.163} +{"i": 264, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CircularVertices\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a list of \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) points equally spaced on a circle. \\n\\!\\(\\*RowBox[{\\\"CircularVertices\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) embeds the vertices of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) equally spaced on a circle.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CircularVertices, List[RuleDelayed[CircularVertices[0], List[]], RuleDelayed[CircularVertices[Pattern[Combinatorica`Private`n, Blank[Integer]]], Module[List[Combinatorica`Private`i, Set[Combinatorica`Private`x, N[Times[2, Times[Pi, Power[Combinatorica`Private`n, -1]]]]]], Chop[Table[N[List[Cos[Times[Combinatorica`Private`x, Combinatorica`Private`i]], Sin[Times[Combinatorica`Private`x, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Combinatorica`Private`n]]]]], RuleDelayed[CircularVertices[Pattern[Combinatorica`Private`g, Blank[Graph]]], ChangeVertices[Combinatorica`Private`g, CircularVertices[V[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CircularVertices\"]], False]", "msgs": [], "secs": 0.06} +{"i": 265, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 266, "status": "ok", "out": "ShowGraph[CircularVertices[t]]", "msgs": [], "secs": 0.0} +{"i": 267, "status": "ok", "out": "", "msgs": [], "secs": 0.027} +{"i": 268, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RankGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"l\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) partitions the vertices into classes based on the shortest geodesic distance to a member of list \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RankGraph, List[RuleDelayed[RankGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, Blank[List]]], Module[List[Set[Combinatorica`Private`rank, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`edges, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`v, Combinatorica`Private`queue, Combinatorica`Private`new], CompoundExpression[Scan[Function[Set[Part[Combinatorica`Private`rank, Slot[1]], 1]], Combinatorica`Private`start], Set[Combinatorica`Private`queue, Combinatorica`Private`start], While[Unequal[Combinatorica`Private`queue, List[]], CompoundExpression[Set[Combinatorica`Private`v, First[Combinatorica`Private`queue]], Set[Combinatorica`Private`new, Select[Part[Combinatorica`Private`edges, Combinatorica`Private`v], Function[Equal[Part[Combinatorica`Private`rank, Slot[1]], 0]]]], Scan[Function[Set[Part[Combinatorica`Private`rank, Slot[1]], Plus[Part[Combinatorica`Private`rank, Combinatorica`Private`v], 1]]], Combinatorica`Private`new], Set[Combinatorica`Private`queue, Join[Rest[Combinatorica`Private`queue], Combinatorica`Private`new]], Null]], Combinatorica`Private`rank]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RankGraph\"]], False]", "msgs": [], "secs": 0.045} +{"i": 269, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 270, "status": "ok", "out": "List[1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5]", "msgs": [], "secs": 0.0} +{"i": 271, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 272, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 273, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RankedEmbedding\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) takes a set partition \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\) of vertices \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"1\\\", \\\",\\\", \\\"2\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) and returns an embedding of the vertices in the plane such that the vertices in each block occur on a vertical line with block 1 vertices on the leftmost line, block 2 vertices in the next line, and so on. \\n\\!\\(\\*RowBox[{\\\"RankedEmbedding\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"l\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) takes a graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and a set partition \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\) of the vertices of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and returns the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with vertices embedded according to \\!\\(\\*RowBox[{\\\"RankedEmbedding\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\). \\n\\!\\(\\*RowBox[{\\\"RankedEmbedding\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"s\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) takes a graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and a set \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\) of vertices of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and returns a ranked embedding of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) in which vertices in \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\) are in block 1, vertices at distance 1 from any vertex in block 1 are in block 2, and so on.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RankedEmbedding, List[RuleDelayed[RankedEmbedding[Pattern[Combinatorica`Private`stages, Blank[List]]], Module[List[Combinatorica`Private`m, Combinatorica`Private`rank, Combinatorica`Private`stageSizes, Set[Combinatorica`Private`freq, Table[0, List[Length[Combinatorica`Private`stages]]]], Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`rank, Table[Part[Position[Combinatorica`Private`stages, Combinatorica`Private`i], 1, 1], List[Combinatorica`Private`i, Max[Combinatorica`Private`stages]]]], Set[Combinatorica`Private`stageSizes, Distribution[Combinatorica`Private`rank]], Table[CompoundExpression[Set[Combinatorica`Private`m, PreIncrement[Part[Combinatorica`Private`freq, Part[Combinatorica`Private`rank, Combinatorica`Private`i]]]], N[List[Part[Combinatorica`Private`rank, Combinatorica`Private`i], Plus[Plus[Combinatorica`Private`m, -1], Times[Plus[1, Times[-1, Part[Combinatorica`Private`stageSizes, Part[Combinatorica`Private`rank, Combinatorica`Private`i]]]], Power[2, -1]]]]]], List[Combinatorica`Private`i, Max[Combinatorica`Private`stages]]]]]], RuleDelayed[RankedEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`stages, Blank[List]]], Condition[ChangeVertices[Combinatorica`Private`g, RankedEmbedding[Combinatorica`Private`stages]], SetPartitionQ[Combinatorica`Private`stages, Range[V[Combinatorica`Private`g]]]]], RuleDelayed[RankedEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, List[Repeated[PatternTest[Blank[Integer], Positive]]]]], Condition[Module[List[Set[Combinatorica`Private`l, RankGraph[Combinatorica`Private`g, Combinatorica`Private`start]], Combinatorica`Private`i], RankedEmbedding[Combinatorica`Private`g, Table[Flatten[Position[Combinatorica`Private`l, Combinatorica`Private`i]], List[Combinatorica`Private`i, Max[Combinatorica`Private`l]]]]], LessEqual[Max[Combinatorica`Private`start], V[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RankedEmbedding\"]], False]", "msgs": [], "secs": 0.047} +{"i": 274, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 275, "status": "ok", "out": "", "msgs": [], "secs": 0.017} +{"i": 276, "status": "ok", "out": "ShowGraph[RankedEmbedding[t, List[1]]]", "msgs": [], "secs": 0.0} +{"i": 277, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`Eccentricity\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Eccentricity, List[RuleDelayed[Eccentricity[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, Blank[Integer]], Combinatorica`Private`NoEdgeWeights], Max[BreadthFirstTraversal[Combinatorica`Private`g, Combinatorica`Private`start, Level]]], RuleDelayed[Eccentricity[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, Blank[Integer]]], Condition[Eccentricity[Combinatorica`Private`g, Combinatorica`Private`start, Combinatorica`Private`NoEdgeWeights], UnweightedQ[Combinatorica`Private`g]]], RuleDelayed[Eccentricity[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`start, Blank[Integer]]], Map[Max, Last[BellmanFord[Combinatorica`Private`g, Combinatorica`Private`start]]]], RuleDelayed[Eccentricity[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Table[Eccentricity[Combinatorica`Private`g, Combinatorica`Private`i, Combinatorica`Private`NoEdgeWeights], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]], UnweightedQ[Combinatorica`Private`g]]], RuleDelayed[Eccentricity[Pattern[Combinatorica`Private`g, Blank[Graph]]], Map[Max, AllPairsShortestPath[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Eccentricity\"]], False]", "msgs": [], "secs": 0.129} +{"i": 278, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 279, "status": "ok", "out": "List[2, 2, 2, 2, 2, 2, 2, 2, 2, 1]", "msgs": [], "secs": 0.004} +{"i": 280, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 281, "status": "ok", "out": "List[18, 17, 16, 15, 14, 14, 15, 16, 17, 18, 17, 16, 15, 14, 13, 13, 14, 15, 16, 17, 16, 15, 14, 13, 12, 12, 13, 14, 15, 16, 15, 14, 13, 12, 11, 11, 12, 13, 14, 15, 14, 13, 12, 11, 10, 10, 11, 12, 13, 14, 14, 13, 12, 11, 10, 10, 11, 12, 13, 14, 15, 14, 13, 12, 11, 11, 12, 13, 14, 15, 16, 15, 14, 13, 12, 12, 13, 14, 15, 16, 17, 16, 15, 14, 13, 13, 14, 15, 16, 17, 18, 17, 16, 15, 14, 14, 15, 16, 17, 18]", "msgs": [], "secs": 0.511} +{"i": 282, "status": "ok", "out": "List[29218, Null]", "msgs": [], "secs": 0.36} +{"i": 283, "status": "ok", "out": "Null", "msgs": [], "secs": 0.034} +{"i": 284, "status": "ok", "out": "List[13086, Null]", "msgs": [], "secs": 0.162} +{"i": 285, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 286, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 287, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Diameter\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the diameter of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\): the maximum length, among all pairs of vertices in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), of a shortest path between each pair.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Diameter, List[RuleDelayed[Diameter[Pattern[Combinatorica`Private`g, Blank[Graph]]], Max[Eccentricity[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Diameter\"]], False]", "msgs": [], "secs": 0.043000000000000003} +{"i": 288, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 289, "status": "ok", "out": "1", "msgs": [], "secs": 0.039} +{"i": 290, "status": "ok", "out": "Null", "msgs": [], "secs": 0.02} +{"i": 291, "status": "ok", "out": "3", "msgs": [], "secs": 0.029} +{"i": 292, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 293, "status": "ok", "out": "3", "msgs": [], "secs": 0.165} +{"i": 294, "status": "ok", "out": "Null", "msgs": [], "secs": 0.003} +{"i": 295, "status": "ok", "out": "3", "msgs": [], "secs": 2.257} +{"i": 296, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`Radius\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Radius, List[RuleDelayed[Radius[Pattern[Combinatorica`Private`g, Blank[Graph]]], Min[Eccentricity[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Radius\"]], False]", "msgs": [], "secs": 0.08} +{"i": 297, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 298, "status": "ok", "out": "1", "msgs": [], "secs": 0.40700000000000003} +{"i": 299, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphCenter\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphCenter, List[RuleDelayed[GraphCenter[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`eccentricity, Eccentricity[Combinatorica`Private`g]]], Flatten[Position[Combinatorica`Private`eccentricity, Min[Combinatorica`Private`eccentricity]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphCenter\"]], False]", "msgs": [], "secs": 0.085} +{"i": 300, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 301, "status": "ok", "out": "List[100]", "msgs": [], "secs": 0.722} +{"i": 302, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RadialEmbedding\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a radial embedding of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) in which vertices are placed on concentric circles around \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) depending on their distance from \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"RadialEmbedding\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a radial embedding of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), radiating from the center of the graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RadialEmbedding, List[RuleDelayed[RadialEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ct, Blank[Integer]]], Condition[ChangeVertices[Combinatorica`Private`g, Vertices[RadialEmbedding[MakeUndirected[Combinatorica`Private`g], Combinatorica`Private`ct]]], And[Not[UndirectedQ[Combinatorica`Private`g]], LessEqual[1, Combinatorica`Private`ct], LessEqual[Combinatorica`Private`ct, V[Combinatorica`Private`g]]]]], RuleDelayed[RadialEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`ct, Blank[Integer]]], Condition[Module[List[Set[Combinatorica`Private`center, Combinatorica`Private`ct], Combinatorica`Private`ang, Combinatorica`Private`i, Combinatorica`Private`da, Combinatorica`Private`theta, Combinatorica`Private`n, Combinatorica`Private`v, Combinatorica`Private`positioned, Combinatorica`Private`done, Combinatorica`Private`next, Combinatorica`Private`new, Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]]], CompoundExpression[Set[Combinatorica`Private`ang, Table[List[0, Times[2, Pi]], List[Set[Combinatorica`Private`n, V[Combinatorica`Private`g]]]]], Set[Combinatorica`Private`v, Table[List[0, 0], List[Combinatorica`Private`n]]], Set[Combinatorica`Private`positioned, Set[Combinatorica`Private`next, Set[Combinatorica`Private`done, List[Combinatorica`Private`center]]]], While[Unequal[Combinatorica`Private`next, List[]], CompoundExpression[Set[Combinatorica`Private`center, First[Combinatorica`Private`next]], Set[Combinatorica`Private`new, Complement[Part[Combinatorica`Private`e, Combinatorica`Private`center], Combinatorica`Private`positioned]], Do[CompoundExpression[Set[Combinatorica`Private`da, Times[Plus[Part[Combinatorica`Private`ang, Combinatorica`Private`center, 2], Times[-1, Part[Combinatorica`Private`ang, Combinatorica`Private`center, 1]]], Power[Length[Combinatorica`Private`new], -1]]], Set[Part[Combinatorica`Private`ang, Part[Combinatorica`Private`new, Combinatorica`Private`i]], List[Plus[Part[Combinatorica`Private`ang, Combinatorica`Private`center, 1], Times[Plus[Combinatorica`Private`i, -1], Combinatorica`Private`da]], Plus[Part[Combinatorica`Private`ang, Combinatorica`Private`center, 1], Times[Combinatorica`Private`i, Combinatorica`Private`da]]]], Set[Combinatorica`Private`theta, Times[Apply[Plus, Part[Combinatorica`Private`ang, Part[Combinatorica`Private`new, Combinatorica`Private`i]]], Power[2, -1]]], Set[Part[Combinatorica`Private`v, Part[Combinatorica`Private`new, Combinatorica`Private`i]], Plus[Part[Combinatorica`Private`v, Combinatorica`Private`center], N[List[Cos[Combinatorica`Private`theta], Sin[Combinatorica`Private`theta]]]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`new]]], Set[Combinatorica`Private`next, Join[Rest[Combinatorica`Private`next], Combinatorica`Private`new]], Set[Combinatorica`Private`positioned, Union[Combinatorica`Private`positioned, Combinatorica`Private`new]], AppendTo[Combinatorica`Private`done, Combinatorica`Private`center]]], ChangeVertices[Combinatorica`Private`g, Map[Function[List[Slot[1]]], Combinatorica`Private`v]]]], And[LessEqual[1, Combinatorica`Private`ct], LessEqual[Combinatorica`Private`ct, V[Combinatorica`Private`g]]]]], RuleDela...", "msgs": [], "secs": 0.116} +{"i": 303, "status": "ok", "out": "Null", "msgs": [], "secs": 0.669} +{"i": 304, "status": "ok", "out": "ShowGraph[Tree[1, List[Tree[16, List[Tree[2, List[Tree[6, List[Tree[10, List[Tree[19, List[Tree[4, None]]], Tree[7, List[Tree[17, None]]], Tree[9, None]]]]]]]]], Tree[8, None], Tree[12, None], Tree[18, List[Tree[5, List[Tree[11, List[Tree[14, None]]]]], Tree[3, None], Tree[20, List[Tree[15, None]]], Tree[13, None]]]]]]", "msgs": [], "secs": 0.0} +{"i": 305, "status": "ok", "out": "ShowGraph[RadialEmbedding[Tree[1, List[Tree[16, List[Tree[2, List[Tree[6, List[Tree[10, List[Tree[19, List[Tree[4, None]]], Tree[7, List[Tree[17, None]]], Tree[9, None]]]]]]]]], Tree[8, None], Tree[12, None], Tree[18, List[Tree[5, List[Tree[11, List[Tree[14, None]]]]], Tree[3, None], Tree[20, List[Tree[15, None]]], Tree[13, None]]]]], 11], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 306, "status": "ok", "out": "ShowGraph[RadialEmbedding[Tree[11, List[Tree[17, None], Tree[16, List[Tree[4, None], Tree[9, List[Tree[1, List[Tree[6, List[Tree[5, List[Tree[18, List[Tree[3, List[Tree[2, List[Tree[13, List[Tree[14, None]]], Tree[10, None]]], Tree[7, None]]]]]]], Tree[8, None], Tree[20, List[Tree[19, None]]]]]]], Tree[12, None], Tree[15, None]]]]]]], 11], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.002} +{"i": 307, "status": "ok", "out": "ShowGraph[RadialEmbedding[Tree[14, List[Tree[19, List[Tree[10, List[Tree[16, None], Tree[5, None]]]]], Tree[11, List[Tree[2, List[Tree[20, List[Tree[1, None]]], Tree[3, List[Tree[17, List[Tree[8, List[Tree[15, List[Tree[18, List[Tree[13, List[Tree[6, List[Tree[9, None]]]]]]]]], Tree[7, None], Tree[12, None]]]]]]]]]]], Tree[4, None]]], 11], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.001} +{"i": 308, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 309, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RootedEmbedding\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a rooted embedding of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) as the root. \\n\\!\\(\\*RowBox[{\\\"RootedEmbedding\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a rooted embedding with a center of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) as the root.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RootedEmbedding, List[RuleDelayed[RootedEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]]], RootedEmbedding[Combinatorica`Private`g, First[GraphCenter[Combinatorica`Private`g]]]], RuleDelayed[RootedEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`rt, Blank[Integer]]], Module[List[Set[Combinatorica`Private`root, Combinatorica`Private`rt], Combinatorica`Private`pos, Combinatorica`Private`i, Combinatorica`Private`x, Combinatorica`Private`dx, Combinatorica`Private`new, Set[Combinatorica`Private`n, V[Combinatorica`Private`g]], Combinatorica`Private`v, Combinatorica`Private`done, Combinatorica`Private`next, Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]]], CompoundExpression[Set[Combinatorica`Private`pos, Table[List[Times[-1, Ceiling[Sqrt[Combinatorica`Private`n]]], Ceiling[Sqrt[Combinatorica`Private`n]]], List[Combinatorica`Private`n]]], Set[Combinatorica`Private`v, Table[List[0, 0], List[Combinatorica`Private`n]]], Set[Combinatorica`Private`next, Set[Combinatorica`Private`done, List[Combinatorica`Private`root]]], While[Unequal[Combinatorica`Private`next, List[]], CompoundExpression[Set[Combinatorica`Private`root, First[Combinatorica`Private`next]], Set[Combinatorica`Private`new, Complement[Part[Combinatorica`Private`e, Combinatorica`Private`root], Combinatorica`Private`done]], Do[CompoundExpression[Set[Combinatorica`Private`dx, Times[Plus[Part[Combinatorica`Private`pos, Combinatorica`Private`root, 2], Times[-1, Part[Combinatorica`Private`pos, Combinatorica`Private`root, 1]]], Power[Length[Combinatorica`Private`new], -1]]], Set[Part[Combinatorica`Private`pos, Part[Combinatorica`Private`new, Combinatorica`Private`i]], List[Plus[Part[Combinatorica`Private`pos, Combinatorica`Private`root, 1], Times[Plus[Combinatorica`Private`i, -1], Combinatorica`Private`dx]], Plus[Part[Combinatorica`Private`pos, Combinatorica`Private`root, 1], Times[Combinatorica`Private`i, Combinatorica`Private`dx]]]], Set[Combinatorica`Private`x, Times[Apply[Plus, Part[Combinatorica`Private`pos, Part[Combinatorica`Private`new, Combinatorica`Private`i]]], Power[2, -1]]], Set[Part[Combinatorica`Private`v, Part[Combinatorica`Private`new, Combinatorica`Private`i]], List[Combinatorica`Private`x, Plus[Part[Combinatorica`Private`v, Combinatorica`Private`root, 2], -1]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`new]]], Set[Combinatorica`Private`next, Join[Rest[Combinatorica`Private`next], Combinatorica`Private`new]], Set[Combinatorica`Private`done, Join[Combinatorica`Private`done, Combinatorica`Private`new]]]], ChangeVertices[Combinatorica`Private`g, Map[Function[List[Slot[1]]], N[Combinatorica`Private`v]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RootedEmbedding\"]], False]", "msgs": [], "secs": 0.04} +{"i": 310, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 311, "status": "ok", "out": "ShowGraph[RootedEmbedding[Tree[18, List[Tree[1, None], Tree[17, List[Tree[16, List[Tree[20, List[Tree[10, None], Tree[12, List[Tree[9, List[Tree[19, None]]]]], Tree[11, None], Tree[6, None], Tree[5, List[Tree[14, List[Tree[13, List[Tree[8, List[Tree[4, None]]]]]]]]]]], Tree[15, None]]]]], Tree[7, List[Tree[2, List[Tree[3, None]]]]]]], 1], Rule[VertexNumber, On], Rule[PlotRange, Large[5000]]]", "msgs": [], "secs": 0.0} +{"i": 312, "status": "ok", "out": "ShowGraph[RootedEmbedding[Tree[18, List[Tree[1, None], Tree[17, List[Tree[16, List[Tree[20, List[Tree[10, None], Tree[12, List[Tree[9, List[Tree[19, None]]]]], Tree[11, None], Tree[6, None], Tree[5, List[Tree[14, List[Tree[13, List[Tree[8, List[Tree[4, None]]]]]]]]]]], Tree[15, None]]]]], Tree[7, List[Tree[2, List[Tree[3, None]]]]]]], 3], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 313, "status": "ok", "out": "ShowGraph[RootedEmbedding[Tree[18, List[Tree[1, None], Tree[17, List[Tree[16, List[Tree[20, List[Tree[10, None], Tree[12, List[Tree[9, List[Tree[19, None]]]]], Tree[11, None], Tree[6, None], Tree[5, List[Tree[14, List[Tree[13, List[Tree[8, List[Tree[4, None]]]]]]]]]]], Tree[15, None]]]]], Tree[7, List[Tree[2, List[Tree[3, None]]]]]]], 19], Rule[VertexNumber, Center], Rule[VertexNumberColor, GrayLevel[1]], Rule[VertexStyle, Disc[Large]], Rule[PlotRange, Large[3000]], Rule[Background, RGBColor[87000, 94000, 1]]]", "msgs": [], "secs": 0.0} +{"i": 314, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TranslateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) adds the vector \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) to the vertex embedding location of each vertex in list \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"TranslateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) translates the embedding of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) by the vector \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TranslateVertices, List[RuleDelayed[TranslateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]], List[PatternTest[Pattern[Combinatorica`Private`x, Blank[]], NumericQ], PatternTest[Pattern[Combinatorica`Private`y, Blank[]], NumericQ]]], Module[List[Set[Combinatorica`Private`p, Map[First, Combinatorica`Private`v]], Combinatorica`Private`np, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`np, TranslateVertices[Combinatorica`Private`p, List[Combinatorica`Private`x, Combinatorica`Private`y]]], Table[List[Part[Combinatorica`Private`np, Combinatorica`Private`i], Apply[Sequence, Rest[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`np]]]]]], RuleDelayed[TranslateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]], List[PatternTest[Pattern[Combinatorica`Private`x, Blank[]], NumericQ], PatternTest[Pattern[Combinatorica`Private`y, Blank[]], NumericQ]]], N[Map[Function[Plus[Slot[1], List[Combinatorica`Private`x, Combinatorica`Private`y]]], Combinatorica`Private`v]]], RuleDelayed[TranslateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], List[PatternTest[Pattern[Combinatorica`Private`x, Blank[]], NumericQ], PatternTest[Pattern[Combinatorica`Private`y, Blank[]], NumericQ]]], ChangeVertices[Combinatorica`Private`g, TranslateVertices[Vertices[Combinatorica`Private`g, All], List[Combinatorica`Private`x, Combinatorica`Private`y]]]], RuleDelayed[TranslateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`t, Blank[]]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]]], ChangeVertices[Combinatorica`Private`g, CompoundExpression[Set[Part[Combinatorica`Private`v, Combinatorica`Private`s], TranslateVertices[Part[Combinatorica`Private`v, Combinatorica`Private`s], Combinatorica`Private`t]], Combinatorica`Private`v]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TranslateVertices\"]], False]", "msgs": [], "secs": 0.035} +{"i": 315, "status": "ok", "out": "t", "msgs": [], "secs": 0.0} +{"i": 316, "status": "ok", "out": "TranslateVertices[t, List[100, 200]]", "msgs": [], "secs": 0.0} +{"i": 317, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DilateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) multiplies each coordinate of each vertex position in list \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) by \\!\\(\\*StyleBox[\\\"d\\\", \\\"TI\\\"]\\), thus dilating the embedding. \\n\\!\\(\\*RowBox[{\\\"DilateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) dilates the embedding of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) by the factor \\!\\(\\*StyleBox[\\\"d\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DilateVertices, List[RuleDelayed[DilateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]], Pattern[Combinatorica`Private`d, Blank[]]], Module[List[Set[Combinatorica`Private`p, Map[First, Combinatorica`Private`v]], Combinatorica`Private`np], CompoundExpression[Set[Combinatorica`Private`np, DilateVertices[Combinatorica`Private`p, Combinatorica`Private`d]], Table[List[Part[Combinatorica`Private`np, Combinatorica`Private`i], Apply[Sequence, Rest[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`np]]]]]], RuleDelayed[DilateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]], Pattern[Combinatorica`Private`d, Blank[]]], Map[Function[Times[Combinatorica`Private`d, Slot[1]]], Combinatorica`Private`v]], RuleDelayed[DilateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`d, Blank[]]], ChangeVertices[Combinatorica`Private`g, DilateVertices[Vertices[Combinatorica`Private`g, All], Combinatorica`Private`d]]], RuleDelayed[DilateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`t, Blank[]]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]]], ChangeVertices[Combinatorica`Private`g, CompoundExpression[Set[Part[Combinatorica`Private`v, Combinatorica`Private`s], DilateVertices[Part[Combinatorica`Private`v, Combinatorica`Private`s], Combinatorica`Private`t]], Combinatorica`Private`v]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DilateVertices\"]], False]", "msgs": [], "secs": 0.044} +{"i": 318, "status": "ok", "out": "t", "msgs": [], "secs": 0.0} +{"i": 319, "status": "ok", "out": "DilateVertices[t, 2]", "msgs": [], "secs": 0.0} +{"i": 320, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RotateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Theta]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) rotates each vertex position in list \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) by \\!\\(\\*StyleBox[\\\"\\[Theta]\\\", \\\"TR\\\"]\\) radians about the origin \\!\\(\\*RowBox[{\\\"(\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"0\\\"}], \\\")\\\"}]\\). \\n\\!\\(\\*RowBox[{\\\"RotateVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Theta]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) rotates the embedding of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) by \\!\\(\\*StyleBox[\\\"\\[Theta]\\\", \\\"TR\\\"]\\) radians about the origin \\!\\(\\*RowBox[{\\\"(\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"0\\\"}], \\\")\\\"}]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RotateVertices, List[RuleDelayed[RotateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]], Pattern[Combinatorica`Private`t, Blank[]]], Module[List[Set[Combinatorica`Private`p, Map[First, Combinatorica`Private`v]], Combinatorica`Private`np, Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`np, RotateVertices[Combinatorica`Private`p, Combinatorica`Private`t]], Table[List[Part[Combinatorica`Private`np, Combinatorica`Private`i], Apply[Sequence, Rest[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`np]]]]]], RuleDelayed[RotateVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]], Pattern[Combinatorica`Private`t, Blank[]]], Module[List[Combinatorica`Private`d, Combinatorica`Private`theta], Map[Function[If[Equal[Slot[1], List[0, 0]], Slot[1], CompoundExpression[Set[Combinatorica`Private`d, Sqrt[Plus[Power[Part[Slot[1], 1], 2], Power[Part[Slot[1], 2], 2]]]], Set[Combinatorica`Private`theta, Plus[Combinatorica`Private`t, Combinatorica`Private`Arctan[Slot[1]]]], If[Not[FreeQ[Combinatorica`Private`theta, Complex]], Set[Combinatorica`Private`theta, Chop[Combinatorica`Private`theta]]], N[List[Times[Combinatorica`Private`d, Cos[Combinatorica`Private`theta]], Times[Combinatorica`Private`d, Sin[Combinatorica`Private`theta]]]]]]], Combinatorica`Private`v]]], RuleDelayed[RotateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`t, Blank[]]], ChangeVertices[Combinatorica`Private`g, RotateVertices[Vertices[Combinatorica`Private`g, All], Combinatorica`Private`t]]], RuleDelayed[RotateVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`t, Blank[]]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]]], ChangeVertices[Combinatorica`Private`g, CompoundExpression[Set[Part[Combinatorica`Private`v, Combinatorica`Private`s], RotateVertices[Part[Combinatorica`Private`v, Combinatorica`Private`s], Combinatorica`Private`t]], Combinatorica`Private`v]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RotateVertices\"]], False]", "msgs": [], "secs": 0.035} +{"i": 321, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 322, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 323, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 324, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"NormalizeVertices\\\", \\\"[\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a list of vertices with a similar embedding as \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\), but with the coordinates of all points scaled to be between 0 and 1.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, NormalizeVertices, List[RuleDelayed[NormalizeVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Module[List[Set[Combinatorica`Private`nv, NormalizeVertices[Map[First, Combinatorica`Private`v]]], Combinatorica`Private`i], Table[List[Part[Combinatorica`Private`nv, Combinatorica`Private`i], Apply[Sequence, Rest[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`nv]]]]], RuleDelayed[NormalizeVertices[Pattern[Combinatorica`Private`v, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]]], Module[List[Set[Combinatorica`Private`v1, TranslateVertices[Combinatorica`Private`v, List[Times[-1, Min[Combinatorica`Private`v]], Times[-1, Min[Combinatorica`Private`v]]]]]], DilateVertices[Combinatorica`Private`v1, Times[1, Power[Max[Combinatorica`Private`v1, Round[Times[Power[10, 5], 0.01`]]], -1]]]]], RuleDelayed[NormalizeVertices[Pattern[Combinatorica`Private`g, Blank[Graph]]], ChangeVertices[Combinatorica`Private`g, NormalizeVertices[Vertices[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`NormalizeVertices\"]], False]", "msgs": [], "secs": 0.036000000000000004} +{"i": 325, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[5, 6]], List[List[5, 7]], List[List[6, 7]]], List[List[List[62349, 78183]], List[List[-22252, 97493]], List[List[-90097, 43388]], List[List[-90097, -43388]], List[List[-22252, -97493]], List[List[62349, -78183]], List[List[100000, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 326, "status": "ok", "out": "List[List[62349, 78183], List[-22252, 97493], List[-90097, 43388], List[-90097, -43388], List[-22252, -97493], List[62349, -78183], List[100000, 0]]", "msgs": [], "secs": 0.0} +{"i": 327, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[5, 6]], List[List[5, 7]], List[List[6, 7]]], List[List[List[112349, 108183]], List[List[27748, 127493]], List[List[-40097, 73388]], List[List[-40097, -13388]], List[List[27748, -67493]], List[List[112349, -48183]], List[List[150000, 30000]]]]", "msgs": [], "secs": 0.0} +{"i": 328, "status": "ok", "out": "List[List[112349, 108183], List[27748, 127493], List[-40097, 73388], List[-40097, -13388], List[27748, -67493], List[112349, -48183], List[150000, 30000]]", "msgs": [], "secs": 0.0} +{"i": 329, "status": "ok", "out": "List[List[82689, 80773], List[43790, 89652], List[12596, 64775], List[12596, 24876], List[43790, 0], List[82689, 8878], List[100000, 44826]]", "msgs": [], "secs": 0.0} +{"i": 330, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ShakeGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) performs a random perturbation of the vertices of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), with each vertex moving, at most, a distance \\!\\(\\*StyleBox[\\\"d\\\", \\\"TI\\\"]\\) from its original position.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ShakeGraph, List[RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]]], ShakeGraph[Combinatorica`Private`g, Combinatorica`Private`s, Round[Times[Power[10, 5], 0.1`]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]]], ShakeGraph[Combinatorica`Private`g, Round[Times[Power[10, 5], 0.1`]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]], PatternTest[Pattern[Combinatorica`Private`fract, Blank[]], NumericQ]], Module[List[Combinatorica`Private`i, Combinatorica`Private`d, Combinatorica`Private`a, Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]]], CompoundExpression[Set[Part[Combinatorica`Private`v, Combinatorica`Private`s], Map[Function[CompoundExpression[Set[Combinatorica`Private`d, RandomReal[Combinatorica`Private`fract]], Set[Combinatorica`Private`a, RandomReal[Times[2, N[Pi]]]], Prepend[Rest[Slot[1]], Plus[First[Slot[1]], List[N[Times[Combinatorica`Private`d, Cos[Combinatorica`Private`a]]], N[Times[Combinatorica`Private`d, Sin[Combinatorica`Private`a]]]]]]]], Part[Combinatorica`Private`v, Combinatorica`Private`s]]], ChangeVertices[Combinatorica`Private`g, Combinatorica`Private`v]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`fract, Blank[]], NumericQ]], ShakeGraph[Combinatorica`Private`g, Range[V[Combinatorica`Private`g]], Combinatorica`Private`fract]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ShakeGraph\"]], False]", "msgs": [], "secs": 0.053} +{"i": 331, "status": "ok", "out": "Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]]], List[List[List[100000, -400000]], List[List[100000, -300000]], List[List[100000, -200000]], List[List[100000, -100000]], List[List[100000, 0]], List[List[100000, 100000]], List[List[100000, 200000]], List[List[100000, 300000]], List[List[100000, 400000]], List[List[200000, 0]]]]", "msgs": [], "secs": 0.002} +{"i": 332, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 333, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 334, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 335, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 336, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 337, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 338, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 339, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"GraphOptions\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the display options associated with \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"GraphOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the display options associated with vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"GraphOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"u\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) returns the display options associated with edge \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"u\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphOptions, List[RuleDelayed[GraphOptions[Graph[Pattern[Combinatorica`Private`e, Blank[]], Pattern[Combinatorica`Private`v, Blank[]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]]], List[Combinatorica`Private`opts]], RuleDelayed[GraphOptions[Graph[Pattern[Combinatorica`Private`e, Blank[]], Pattern[Combinatorica`Private`v, Blank[]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], PatternTest[Pattern[Combinatorica`Private`sv, Blank[]], NumberQ]], Combinatorica`Private`Merge[Rest[Part[Combinatorica`Private`v, Combinatorica`Private`sv]], List[Combinatorica`Private`opts]]], RuleDelayed[GraphOptions[Graph[Pattern[Combinatorica`Private`e, Blank[]], Pattern[Combinatorica`Private`v, Blank[]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`se, Blank[List]]], Module[List[Set[Combinatorica`Private`sse, Sort[Combinatorica`Private`se]]], Combinatorica`Private`Merge[Rest[Part[Select[Combinatorica`Private`e, Function[Equal[First[Slot[1]], Combinatorica`Private`sse]]], 1]], List[Combinatorica`Private`opts]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphOptions\"]], False]", "msgs": [], "secs": 0.056} +{"i": 340, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.0} +{"i": 341, "status": "ok", "out": "Graph[List[List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[1, 10]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[2, 10]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[3, 10]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[4, 10]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[5, 10]]], List[List[List[100000, -200000]], List[List[100000, -100000]], List[List[100000, 0]], List[List[100000, 100000]], List[List[100000, 200000]], List[List[200000, -200000]], List[List[200000, -100000]], List[List[200000, 0]], List[List[200000, 100000]], List[List[200000, 200000]]], Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 1, 0]]]", "msgs": [], "secs": 0.001} +{"i": 342, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 343, "status": "ok", "out": "List[Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 1, 0]]]", "msgs": [], "secs": 0.0} +{"i": 344, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SpringEmbedding\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) beautifies the embedding of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) by modeling the embedding as a system of springs. \\n\\!\\(\\*RowBox[{\\\"SpringEmbedding\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"step\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"increment\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) can be used to refine the algorithm. \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SpringEmbedding, List[RuleDelayed[SpringEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Optional[Pattern[Combinatorica`Private`step, Blank[]], 10], Optional[Pattern[Combinatorica`Private`inc, Blank[]], Round[Times[Power[10, 5], 0.15`]]]], Condition[Combinatorica`Private`g, EmptyQ[Combinatorica`Private`g]]], RuleDelayed[SpringEmbedding[Pattern[Combinatorica`Private`g, Blank[Graph]], Optional[Pattern[Combinatorica`Private`step, Blank[]], 10], Optional[Pattern[Combinatorica`Private`inc, Blank[]], Round[Times[Power[10, 5], 0.15`]]]], Module[List[Set[Combinatorica`Private`verts, Vertices[Combinatorica`Private`g]], Combinatorica`Private`new, Set[Combinatorica`Private`m, ToAdjacencyMatrix[MakeUndirected[Combinatorica`Private`g]]]], CompoundExpression[Set[Combinatorica`Private`new, Combinatorica`Private`UV[Combinatorica`Private`step, Combinatorica`Private`inc, Combinatorica`Private`m, Combinatorica`Private`verts]], ChangeVertices[Combinatorica`Private`g, Combinatorica`Private`new]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SpringEmbedding\"]], False]", "msgs": [], "secs": 0.064} +{"i": 345, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 346, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 347, "status": "ok", "out": "", "msgs": [], "secs": 0.032} +{"i": 348, "status": "ok", "out": "24", "msgs": [], "secs": 0.0} +{"i": 349, "status": "ok", "out": "216", "msgs": [], "secs": 0.0} +{"i": 350, "status": "ok", "out": "List[1172, Null]", "msgs": [], "secs": 0.013000000000000001} +{"i": 351, "status": "ok", "out": "", "msgs": [], "secs": 0.036000000000000004} +{"i": 352, "status": "ok", "out": "List[1, Null]", "msgs": [], "secs": 0.0} diff --git a/book/wma/Chapter4.s1.jsonl b/book/wma/Chapter4.s1.jsonl new file mode 100644 index 0000000..55c15ff --- /dev/null +++ b/book/wma/Chapter4.s1.jsonl @@ -0,0 +1,295 @@ +{"i": 1, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 2, "status": "ok", "out": "", "msgs": [], "secs": 0.018000000000000002} +{"i": 3, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 4, "status": "ok", "out": "", "msgs": [], "secs": 0.017} +{"i": 5, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphUnion\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphUnion, List[RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Combinatorica`Private`g, Equal[V[Combinatorica`Private`h], 0]]], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Combinatorica`Private`h, Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[If[UndirectedQ[Combinatorica`Private`h], GraphUnion[MakeUndirected[Combinatorica`Private`g], Combinatorica`Private`h], GraphUnion[SetGraphOptions[Combinatorica`Private`g, Rule[EdgeDirection, True]], Combinatorica`Private`h]], And[EmptyQ[Combinatorica`Private`g], Unequal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]]], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[If[UndirectedQ[Combinatorica`Private`g], GraphUnion[Combinatorica`Private`g, MakeUndirected[Combinatorica`Private`h]], GraphUnion[Combinatorica`Private`g, SetGraphOptions[Combinatorica`Private`h, Rule[EdgeDirection, True]]]], And[EmptyQ[Combinatorica`Private`h], Unequal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]]], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`lg, BlankSequence[Graph]]], Condition[Combinatorica`Private`PutTogether[Map[NormalizeVertices, List[Combinatorica`Private`lg]]], Or[Equal[Count[Map[UndirectedQ, List[Combinatorica`Private`lg]], True], 0], Equal[Count[Map[UndirectedQ, List[Combinatorica`Private`lg]], True], Length[List[Combinatorica`Private`lg]]]]]], RuleDelayed[GraphUnion[0, Pattern[Combinatorica`Private`g, Blank[Graph]]], EmptyGraph[0]], RuleDelayed[GraphUnion[1, Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`k, Blank[Integer]], Pattern[Combinatorica`Private`g, Blank[Graph]]], GraphUnion[Apply[Sequence, Table[Combinatorica`Private`g, List[Combinatorica`Private`k]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphUnion\"]], False]", "msgs": [], "secs": 0.039} +{"i": 6, "status": "ok", "out": "", "msgs": [], "secs": 0.033} +{"i": 7, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 8, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 9, "status": "ok", "out": "Null", "msgs": [], "secs": 0.36} +{"i": 10, "status": "ok", "out": "List[List[358, Null], List[642, Null], List[1016, Null], List[1421, Null], List[1737, Null], List[2024, Null], List[2381, Null], List[2976, Null], List[3356, Null], List[3590, Null], List[3472, Null], List[4496, Null], List[5049, Null], List[4942, Null], List[4996, Null], List[5100, Null], List[6399, Null], List[7490, Null], List[7051, Null], List[7407, Null]]", "msgs": [], "secs": 0.9400000000000001} +{"i": 11, "status": "msg", "out": "ListPlot[List[Part[List[358, Null], 1, 1], Part[List[642, Null], 1, 1], Part[List[1016, Null], 1, 1], Part[List[1421, Null], 1, 1], Part[List[1737, Null], 1, 1], Part[List[2024, Null], 1, 1], Part[List[2381, Null], 1, 1], Part[List[2976, Null], 1, 1], Part[List[3356, Null], 1, 1], Part[List[3590, Null], 1, 1], Part[List[3472, Null], 1, 1], Part[List[4496, Null], 1, 1], Part[List[5049, Null], 1, 1], Part[List[4942, Null], 1, 1], Part[List[4996, Null], 1, 1], Part[List[5100, Null], 1, 1], Part[List[6399, Null], 1, 1], Part[List[7490, Null], 1, 1], Part[List[7051, Null], 1, 1], Part[List[7407, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "\"Further output of `1` will be suppressed during this calculation.\"", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.121} +{"i": 12, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 13, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 14, "status": "ok", "out": "List[List[0, Null], List[675, Null]]", "msgs": [], "secs": 0.007} +{"i": 15, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 16, "status": "ok", "out": "List[1172, Null]", "msgs": [], "secs": 0.012} +{"i": 17, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 18, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ExpandGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) expands graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) to \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices by adding disconnected vertices. This is obsolete; use \\!\\(\\*RowBox[{\\\"AddVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) instead.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ExpandGraph, List[RuleDelayed[ExpandGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`n, Blank[]]], Condition[GraphUnion[Combinatorica`Private`g, EmptyGraph[Plus[Combinatorica`Private`n, Times[-1, V[Combinatorica`Private`g]]]]], LessEqual[V[Combinatorica`Private`g], Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ExpandGraph\"]], False]", "msgs": [], "secs": 0.044} +{"i": 19, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AddVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) adds \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) disconnected vertices to graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"AddVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"vList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) adds vertices in \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) to \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) contains embedding and graphics information and can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) or \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}]\\), and \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}]\\) are point coordinates and \\!\\(\\*SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\) and \\!\\(\\*SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]\\) are graphics information associated with vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AddVertices, List[RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], GraphUnion[Combinatorica`Private`g, EmptyGraph[Combinatorica`Private`n]]], RuleDelayed[AddVertices[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`p, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Graph[Combinatorica`Private`e, Join[Combinatorica`Private`v, Combinatorica`Private`p], Combinatorica`Private`opts]], RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`p, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]]], AddVertices[Combinatorica`Private`g, Map[Function[List[Slot[1]]], Combinatorica`Private`p]]], RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`p, List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]], AddVertices[Combinatorica`Private`g, List[Combinatorica`Private`p]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[...", "msgs": [], "secs": 0.063} +{"i": 20, "status": "ok", "out": "", "msgs": [], "secs": 0.014} +{"i": 21, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphIntersection\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphIntersection, List[RuleDelayed[GraphIntersection[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphIntersection[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Module[List[Set[Combinatorica`Private`e, Intersection[Edges[Combinatorica`Private`g], Edges[Combinatorica`Private`h]]]], ChangeEdges[Combinatorica`Private`g, Select[Edges[Combinatorica`Private`g, All], Function[MemberQ[Combinatorica`Private`e, First[Slot[1]]]]]]], And[Equal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]], Equal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]]], RuleDelayed[GraphIntersection[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`l, BlankSequence[Graph]]], GraphIntersection[GraphIntersection[Combinatorica`Private`g, Combinatorica`Private`h], Combinatorica`Private`l]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphIntersection\"]], False]", "msgs": [], "secs": 0.07200000000000001} +{"i": 22, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 23, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 24, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 25, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\""], "secs": 6.908} +{"i": 26, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 27, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\""], "secs": 0.026000000000000002} +{"i": 28, "status": "ok", "out": "", "msgs": [], "secs": 0.029} +{"i": 29, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 30, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 31, "status": "ok", "out": "List[List[2754, Null], List[10256, Null], List[21169, Null], List[47099, Null], List[69641, Null], List[106150, Null], List[136184, Null], List[177246, Null], List[186647, Null], List[222187, Null], List[341413, Null], List[386292, Null], List[442788, Null], List[587052, Null], List[631900, Null], List[700690, Null], List[829081, Null], List[832645, Null], List[848779, Null], List[902271, Null]]", "msgs": [], "secs": 107.97500000000001} +{"i": 32, "status": "msg", "out": "ListPlot[List[Part[List[2754, Null], 1, 1], Part[List[10256, Null], 1, 1], Part[List[21169, Null], 1, 1], Part[List[47099, Null], 1, 1], Part[List[69641, Null], 1, 1], Part[List[106150, Null], 1, 1], Part[List[136184, Null], 1, 1], Part[List[177246, Null], 1, 1], Part[List[186647, Null], 1, 1], Part[List[222187, Null], 1, 1], Part[List[341413, Null], 1, 1], Part[List[386292, Null], 1, 1], Part[List[442788, Null], 1, 1], Part[List[587052, Null], 1, 1], Part[List[631900, Null], 1, 1], Part[List[700690, Null], 1, 1], Part[List[829081, Null], 1, 1], Part[List[832645, Null], 1, 1], Part[List[848779, Null], 1, 1], Part[List[902271, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.012} +{"i": 33, "status": "ok", "out": "Null", "msgs": [], "secs": 0.006} +{"i": 34, "status": "ok", "out": "Null", "msgs": [], "secs": 0.004} +{"i": 35, "status": "ok", "out": "List[List[0, Null], List[6410, Null], List[331, Null]]", "msgs": [], "secs": 0.068} +{"i": 36, "status": "ok", "out": "Null", "msgs": [], "secs": 0.314} +{"i": 37, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 38, "status": "ok", "out": "List[List[0, Null], List[1, Null]]", "msgs": [], "secs": 0.0} +{"i": 39, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphDifference\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphDifference, List[RuleDelayed[GraphDifference[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Module[List[Set[Combinatorica`Private`e, Complement[Edges[Combinatorica`Private`g], Edges[Combinatorica`Private`h]]]], ChangeEdges[Combinatorica`Private`g, Select[Edges[Combinatorica`Private`g, All], Function[MemberQ[Combinatorica`Private`e, First[Slot[1]]]]]]], And[Equal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]], Or[And[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]], And[Not[UndirectedQ[Combinatorica`Private`g]], Not[UndirectedQ[Combinatorica`Private`h]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphDifference\"]], False]", "msgs": [], "secs": 0.066} +{"i": 40, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.0} +{"i": 41, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 42, "status": "ok", "out": "", "msgs": [], "secs": 0.034} +{"i": 43, "status": "ok", "out": "Null", "msgs": [], "secs": 0.004} +{"i": 44, "status": "ok", "out": "Null", "msgs": [], "secs": 0.006} +{"i": 45, "status": "ok", "out": "List[List[0, Null], List[1401, Null]]", "msgs": [], "secs": 0.024} +{"i": 46, "status": "ok", "out": "List[List[0, Null], List[2, Null]]", "msgs": [], "secs": 0.0} +{"i": 47, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphSum\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphSum, List[RuleDelayed[GraphSum[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphSum[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[ChangeEdges[Combinatorica`Private`g, Join[Edges[Combinatorica`Private`g, All], Edges[Combinatorica`Private`h, All]]], And[Equal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]], Equal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]]], RuleDelayed[GraphSum[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`l, BlankSequence[Graph]]], GraphSum[GraphSum[Combinatorica`Private`g, Combinatorica`Private`h], Combinatorica`Private`l]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphSum\"]], False]", "msgs": [], "secs": 0.08600000000000001} +{"i": 48, "status": "ok", "out": "", "msgs": [], "secs": 0.034} +{"i": 49, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 50, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 51, "status": "ok", "out": "", "msgs": [], "secs": 0.044} +{"i": 52, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 53, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 54, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\"", "\"Further output of `1` will be suppressed during this calculation.\""], "secs": 0.05} +{"i": 55, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 56, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 57, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 58, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 59, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 60, "status": "ok", "out": "List[List[59, Null], List[82, Null], List[118, Null], List[167, Null], List[191, Null], List[245, Null], List[285, Null], List[318, Null], List[347, Null], List[399, Null], List[462, Null], List[504, Null], List[546, Null], List[572, Null], List[603, Null], List[635, Null], List[736, Null], List[798, Null], List[896, Null], List[870, Null]]", "msgs": [], "secs": 0.592} +{"i": 61, "status": "msg", "out": "ListPlot[List[Part[List[59, Null], 1, 1], Part[List[82, Null], 1, 1], Part[List[118, Null], 1, 1], Part[List[167, Null], 1, 1], Part[List[191, Null], 1, 1], Part[List[245, Null], 1, 1], Part[List[285, Null], 1, 1], Part[List[318, Null], 1, 1], Part[List[347, Null], 1, 1], Part[List[399, Null], 1, 1], Part[List[462, Null], 1, 1], Part[List[504, Null], 1, 1], Part[List[546, Null], 1, 1], Part[List[572, Null], 1, 1], Part[List[603, Null], 1, 1], Part[List[635, Null], 1, 1], Part[List[736, Null], 1, 1], Part[List[798, Null], 1, 1], Part[List[896, Null], 1, 1], Part[List[870, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.003} +{"i": 62, "status": "ok", "out": "Null", "msgs": [], "secs": 0.004} +{"i": 63, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 64, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 65, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphJoin\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphJoin, List[RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[AddEdges[GraphUnion[Combinatorica`Private`g, Combinatorica`Private`h], CartesianProduct[Range[V[Combinatorica`Private`g]], Plus[Range[V[Combinatorica`Private`h]], V[Combinatorica`Private`g]]]], Equal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]], RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`l, BlankSequence[Graph]]], GraphJoin[GraphJoin[Combinatorica`Private`g, Combinatorica`Private`h], Combinatorica`Private`l]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphJoin\"]], False]", "msgs": [], "secs": 0.056} +{"i": 66, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 67, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 68, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 69, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 70, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 71, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 72, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 73, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 74, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphJoin\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphJoin, List[RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[AddEdges[GraphUnion[Combinatorica`Private`g, Combinatorica`Private`h], CartesianProduct[Range[V[Combinatorica`Private`g]], Plus[Range[V[Combinatorica`Private`h]], V[Combinatorica`Private`g]]]], Equal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]], RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`l, BlankSequence[Graph]]], GraphJoin[GraphJoin[Combinatorica`Private`g, Combinatorica`Private`h], Combinatorica`Private`l]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphJoin\"]], False]", "msgs": [], "secs": 0.036000000000000004} +{"i": 75, "status": "ok", "out": "Null", "msgs": [], "secs": 0.023} +{"i": 76, "status": "ok", "out": "Null", "msgs": [], "secs": 0.062} +{"i": 77, "status": "msg", "out": "ListPlot[List[Part[List[214, Null], 1, 1], Part[List[573, Null], 1, 1], Part[List[920, Null], 1, 1], Part[List[1683, Null], 1, 1], Part[List[2216, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.0} +{"i": 78, "status": "ok", "out": "Null", "msgs": [], "secs": 0.006} +{"i": 79, "status": "ok", "out": "Null", "msgs": [], "secs": 0.015} +{"i": 80, "status": "ok", "out": "List[List[1, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 81, "status": "ok", "out": "List[List[2, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 82, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphProduct\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphProduct, List[RuleDelayed[GraphProduct[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphProduct[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Graph[List[], List[]], Or[Equal[V[Combinatorica`Private`g], 0], Equal[V[Combinatorica`Private`h], 0]]]], RuleDelayed[GraphProduct[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Module[List[Combinatorica`Private`k, Combinatorica`Private`i, Set[Combinatorica`Private`eg, Edges[Combinatorica`Private`g, All]], Set[Combinatorica`Private`eh, Edges[Combinatorica`Private`h, All]], Set[Combinatorica`Private`leng, V[Combinatorica`Private`g]], Set[Combinatorica`Private`lenh, V[Combinatorica`Private`h]]], Graph[Flatten[Join[Table[Map[Function[Prepend[Rest[Slot[1]], Plus[Part[Slot[1], 1], Times[Plus[Combinatorica`Private`i, -1], Combinatorica`Private`leng]]]], Combinatorica`Private`eg], List[Combinatorica`Private`i, Combinatorica`Private`lenh]], Map[Function[Table[Prepend[Rest[Slot[1]], Plus[Times[Combinatorica`Private`leng, Plus[Part[Slot[1], 1], -1]], Combinatorica`Private`k]], List[Combinatorica`Private`k, Combinatorica`Private`leng]]], Combinatorica`Private`eh]], 1], Map[Function[List[Slot[1]]], Combinatorica`Private`ProductVertices[Vertices[Combinatorica`Private`g], Vertices[Combinatorica`Private`h]]], Apply[Sequence, Options[Combinatorica`Private`g]]]], Equal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]], RuleDelayed[GraphProduct[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`l, BlankSequence[Graph]]], GraphProduct[GraphProduct[Combinatorica`Private`g, Combinatorica`Private`h], Combinatorica`Private`l]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphProduct\"]], False]", "msgs": [], "secs": 0.051000000000000004} +{"i": 83, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 84, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 85, "status": "ok", "out": "", "msgs": [], "secs": 0.02} +{"i": 86, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 87, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 88, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 89, "status": "ok", "out": "", "msgs": [], "secs": 0.002} +{"i": 90, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 91, "status": "ok", "out": "", "msgs": [], "secs": 0.02} +{"i": 92, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 93, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 94, "status": "ok", "out": "", "msgs": [], "secs": 0.022} +{"i": 95, "status": "ok", "out": "List[List[588, Null], List[2362, Null], List[4378, Null], List[6937, Null], List[12029, Null], List[22034, Null], List[23170, Null], List[28995, Null], List[39107, Null], List[28556, Null]]", "msgs": [], "secs": 1.998} +{"i": 96, "status": "ok", "out": "Null", "msgs": [], "secs": 0.313} +{"i": 97, "status": "ok", "out": "222500", "msgs": [], "secs": 0.0} +{"i": 98, "status": "ok", "out": "62500", "msgs": [], "secs": 0.0} +{"i": 99, "status": "msg", "out": "ListPlot[List[Part[List[588, Null], 1, 1], Part[List[2362, Null], 1, 1], Part[List[4378, Null], 1, 1], Part[List[6937, Null], 1, 1], Part[List[12029, Null], 1, 1], Part[List[22034, Null], 1, 1], Part[List[23170, Null], 1, 1], Part[List[28995, Null], 1, 1], Part[List[39107, Null], 1, 1], Part[List[28556, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.004} +{"i": 100, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 101, "status": "ok", "out": "Null", "msgs": [], "secs": 0.006} +{"i": 102, "status": "ok", "out": "List[4, Null]", "msgs": [], "secs": 0.0} +{"i": 103, "status": "ok", "out": "V[GraphProduct[Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[10, 11]], List[List[11, 12]], List[List[12, 13]], List[List[13, 14]], List[List[14, 15]], List[List[15, 16]], List[List[16, 17]], List[List[17, 18]], List[List[18, 19]], List[List[19, 20]], List[List[20, 21]], List[List[21, 22]], List[List[22, 23]], List[List[23, 24]], List[List[24, 25]], List[List[25, 26]], List[List[26, 27]], List[List[27, 28]], List[List[28, 29]], List[List[29, 30]], List[List[30, 31]], List[List[31, 32]], List[List[32, 33]], List[List[33, 34]], List[List[34, 35]], List[List[35, 36]], List[List[36, 37]], List[List[37, 38]], List[List[38, 39]], List[List[39, 40]], List[List[40, 41]], List[List[41, 42]], List[List[42, 43]], List[List[43, 44]], List[List[44, 45]], List[List[45, 46]], List[List[46, 47]], List[List[47, 48]], List[List[48, 49]], List[List[49, 50]], List[List[50, 51]], List[List[51, 52]], List[List[52, 53]], List[List[53, 54]], List[List[54, 55]], List[List[55, 56]], List[List[56, 57]], List[List[57, 58]], List[List[58, 59]], List[List[59, 60]], List[List[60, 61]], List[List[61, 62]], List[List[62, 63]], List[List[63, 64]], List[List[64, 65]], List[List[65, 66]], List[List[66, 67]], List[List[67, 68]], List[List[68, 69]], List[List[69, 70]], List[List[70, 71]], List[List[71, 72]], List[List[72, 73]], List[List[73, 74]], List[List[74, 75]], List[List[75, 76]], List[List[76, 77]], List[List[77, 78]], List[List[78, 79]], List[List[79, 80]], List[List[80, 81]], List[List[81, 82]], List[List[82, 83]], List[List[83, 84]], List[List[84, 85]], List[List[85, 86]], List[List[86, 87]], List[List[87, 88]], List[List[88, 89]], List[List[89, 90]], List[List[90, 91]], List[List[91, 92]], List[List[92, 93]], List[List[93, 94]], List[List[94, 95]], List[List[95, 96]], List[List[96, 97]], List[List[97, 98]], List[List[98, 99]], List[List[99, 100]], List[List[1, 100]]], List[List[List[99803, 6279]], List[List[99211, 12533]], List[List[98229, 18738]], List[List[96858, 24869]], List[List[95106, 30902]], List[List[92978, 36812]], List[List[90483, 42578]], List[List[87631, 48175]], List[List[84433, 53583]], List[List[80902, 58779]], List[List[77051, 63742]], List[List[72897, 68455]], List[List[68455, 72897]], List[List[63742, 77051]], List[List[58779, 80902]], List[List[53583, 84433]], List[List[48175, 87631]], List[List[42578, 90483]], List[List[36812, 92978]], List[List[30902, 95106]], List[List[24869, 96858]], List[List[18738, 98229]], List[List[12533, 99211]], List[List[6279, 99803]], List[List[0, 100000]], List[List[-6279, 99803]], List[List[-12533, 99211]], List[List[-18738, 98229]], List[List[-24869, 96858]], List[List[-30902, 95106]], List[List[-36812, 92978]], List[List[-42578, 90483]], List[List[-48175, 87631]], List[List[-53583, 84433]], List[List[-58779, 80902]], List[List[-63742, 77051]], List[List[-68455, 72897]], List[List[-72897, 68455]], List[List[-77051, 63742]], List[List[-80902, 58779]], List[List[-84433, 53583]], List[List[-87631, 48175]], List[List[-90483, 42578]], List[List[-92978, 36812]], List[List[-95106, 30902]], List[List[-96858, 24869]], List[List[-98229, 18738]], List[List[-99211, 12533]], List[List[-99803, 6279]], List[List[-100000, 0]], List[List[-99803, -6279]], List[List[-99211, -12533]], List[List[-98229, -18738]], List[List[-96858, -24869]], List[List[-95106, -30902]], List[List[-92978, -36812]], List[List[-90483, -42578]], List[List[-87631, -48175]], List[List[-84433, -53583]], List[List[-80902, -58779]], List[List[-77051, -63742]], List[List[-72897, -68455]], List[List[-68455, -72897]], List[List[-63742, -77051]], List[List[-58779, -80902]], List[List[-53583, -84433]], List[List[-48175, -87631]], List[List[-42578, -90483]], List[List[-36812, -92978]], List[List[-30902, -95106]], List[List[-24869, -96858]], List[List[-18738, -98229]], List[List[-12533, -99211]], List[List[-6279, -99803]],...", "msgs": [], "secs": 0.0} +{"i": 104, "status": "ok", "out": "M[GraphProduct[Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[10, 11]], List[List[11, 12]], List[List[12, 13]], List[List[13, 14]], List[List[14, 15]], List[List[15, 16]], List[List[16, 17]], List[List[17, 18]], List[List[18, 19]], List[List[19, 20]], List[List[20, 21]], List[List[21, 22]], List[List[22, 23]], List[List[23, 24]], List[List[24, 25]], List[List[25, 26]], List[List[26, 27]], List[List[27, 28]], List[List[28, 29]], List[List[29, 30]], List[List[30, 31]], List[List[31, 32]], List[List[32, 33]], List[List[33, 34]], List[List[34, 35]], List[List[35, 36]], List[List[36, 37]], List[List[37, 38]], List[List[38, 39]], List[List[39, 40]], List[List[40, 41]], List[List[41, 42]], List[List[42, 43]], List[List[43, 44]], List[List[44, 45]], List[List[45, 46]], List[List[46, 47]], List[List[47, 48]], List[List[48, 49]], List[List[49, 50]], List[List[50, 51]], List[List[51, 52]], List[List[52, 53]], List[List[53, 54]], List[List[54, 55]], List[List[55, 56]], List[List[56, 57]], List[List[57, 58]], List[List[58, 59]], List[List[59, 60]], List[List[60, 61]], List[List[61, 62]], List[List[62, 63]], List[List[63, 64]], List[List[64, 65]], List[List[65, 66]], List[List[66, 67]], List[List[67, 68]], List[List[68, 69]], List[List[69, 70]], List[List[70, 71]], List[List[71, 72]], List[List[72, 73]], List[List[73, 74]], List[List[74, 75]], List[List[75, 76]], List[List[76, 77]], List[List[77, 78]], List[List[78, 79]], List[List[79, 80]], List[List[80, 81]], List[List[81, 82]], List[List[82, 83]], List[List[83, 84]], List[List[84, 85]], List[List[85, 86]], List[List[86, 87]], List[List[87, 88]], List[List[88, 89]], List[List[89, 90]], List[List[90, 91]], List[List[91, 92]], List[List[92, 93]], List[List[93, 94]], List[List[94, 95]], List[List[95, 96]], List[List[96, 97]], List[List[97, 98]], List[List[98, 99]], List[List[99, 100]], List[List[1, 100]]], List[List[List[99803, 6279]], List[List[99211, 12533]], List[List[98229, 18738]], List[List[96858, 24869]], List[List[95106, 30902]], List[List[92978, 36812]], List[List[90483, 42578]], List[List[87631, 48175]], List[List[84433, 53583]], List[List[80902, 58779]], List[List[77051, 63742]], List[List[72897, 68455]], List[List[68455, 72897]], List[List[63742, 77051]], List[List[58779, 80902]], List[List[53583, 84433]], List[List[48175, 87631]], List[List[42578, 90483]], List[List[36812, 92978]], List[List[30902, 95106]], List[List[24869, 96858]], List[List[18738, 98229]], List[List[12533, 99211]], List[List[6279, 99803]], List[List[0, 100000]], List[List[-6279, 99803]], List[List[-12533, 99211]], List[List[-18738, 98229]], List[List[-24869, 96858]], List[List[-30902, 95106]], List[List[-36812, 92978]], List[List[-42578, 90483]], List[List[-48175, 87631]], List[List[-53583, 84433]], List[List[-58779, 80902]], List[List[-63742, 77051]], List[List[-68455, 72897]], List[List[-72897, 68455]], List[List[-77051, 63742]], List[List[-80902, 58779]], List[List[-84433, 53583]], List[List[-87631, 48175]], List[List[-90483, 42578]], List[List[-92978, 36812]], List[List[-95106, 30902]], List[List[-96858, 24869]], List[List[-98229, 18738]], List[List[-99211, 12533]], List[List[-99803, 6279]], List[List[-100000, 0]], List[List[-99803, -6279]], List[List[-99211, -12533]], List[List[-98229, -18738]], List[List[-96858, -24869]], List[List[-95106, -30902]], List[List[-92978, -36812]], List[List[-90483, -42578]], List[List[-87631, -48175]], List[List[-84433, -53583]], List[List[-80902, -58779]], List[List[-77051, -63742]], List[List[-72897, -68455]], List[List[-68455, -72897]], List[List[-63742, -77051]], List[List[-58779, -80902]], List[List[-53583, -84433]], List[List[-48175, -87631]], List[List[-42578, -90483]], List[List[-36812, -92978]], List[List[-30902, -95106]], List[List[-24869, -96858]], List[List[-18738, -98229]], List[List[-12533, -99211]], List[List[-6279, -99803]],...", "msgs": [], "secs": 0.0} +{"i": 105, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 106, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 107, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 108, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 109, "status": "ok", "out": "List[List[0, Null], List[2, Null]]", "msgs": [], "secs": 0.0} +{"i": 110, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`IncidenceMatrix\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IncidenceMatrix, List[RuleDelayed[IncidenceMatrix[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], Combinatorica`Private`i, Combinatorica`Private`j], If[UndirectedQ[Combinatorica`Private`g], Table[If[MemberQ[Part[Combinatorica`Private`e, Combinatorica`Private`j], Combinatorica`Private`i], 1, 0], List[Combinatorica`Private`i, V[Combinatorica`Private`g]], List[Combinatorica`Private`j, M[Combinatorica`Private`g]]], Table[If[SameQ[Combinatorica`Private`i, First[Part[Combinatorica`Private`e, Combinatorica`Private`j]]], 1, 0], List[Combinatorica`Private`i, V[Combinatorica`Private`g]], List[Combinatorica`Private`j, M[Combinatorica`Private`g]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IncidenceMatrix\"]], False]", "msgs": [], "secs": 0.056} +{"i": 111, "status": "ok", "out": "MatrixForm[List[List[1, 0, 0, 0, 0, 0, 0, 0, 0], List[0, 1, 0, 0, 0, 0, 0, 0, 0], List[0, 0, 1, 0, 0, 0, 0, 0, 0], List[0, 0, 0, 1, 0, 0, 0, 0, 0], List[0, 0, 0, 0, 1, 0, 0, 0, 0], List[0, 0, 0, 0, 0, 1, 0, 0, 0], List[0, 0, 0, 0, 0, 0, 1, 0, 0], List[0, 0, 0, 0, 0, 0, 0, 1, 0], List[0, 0, 0, 0, 0, 0, 0, 0, 1], List[1, 1, 1, 1, 1, 1, 1, 1, 1]]]", "msgs": [], "secs": 0.0} +{"i": 112, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.054} +{"i": 113, "status": "timeout", "out": "$TimedOut", "msgs": [], "secs": 124.157} +{"i": 114, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`LineGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, LineGraph, List[RuleDelayed[LineGraph[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, Sort[Edges[Combinatorica`Private`g]]], Combinatorica`Private`ef, Combinatorica`Private`eb, Combinatorica`Private`c, Combinatorica`Private`i, Combinatorica`Private`j, Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g]]], CompoundExpression[Set[Combinatorica`Private`ef, Combinatorica`Private`GroupEdgePositions[Combinatorica`Private`e, V[Combinatorica`Private`g]]], Set[Combinatorica`Private`eb, Combinatorica`Private`GroupEdgePositions[Map[Reverse, Combinatorica`Private`e], V[Combinatorica`Private`g]]], Set[Combinatorica`Private`c, Table[Rest[Union[Part[Combinatorica`Private`ef, Combinatorica`Private`i], Part[Combinatorica`Private`eb, Combinatorica`Private`i]]], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]], Graph[Union[Flatten[Map[Function[Table[List[List[Part[Slot[1], Combinatorica`Private`i], Part[Slot[1], Combinatorica`Private`j]]], List[Combinatorica`Private`i, Plus[Length[Slot[1]], -1]], List[Combinatorica`Private`j, Plus[Combinatorica`Private`i, 1], Length[Slot[1]]]]], Combinatorica`Private`c], 2]], Map[Function[List[Times[Plus[Part[Combinatorica`Private`v, Part[Slot[1], 1]], Part[Combinatorica`Private`v, Part[Slot[1], 2]]], Power[2, -1]]]], Combinatorica`Private`e]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`LineGraph\"]], False]", "msgs": [], "secs": 0.255} +{"i": 115, "status": "ok", "out": "", "msgs": [], "secs": 0.019} +{"i": 116, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 117, "status": "ok", "out": "", "msgs": [], "secs": 0.064} +{"i": 118, "status": "ok", "out": "Null", "msgs": [], "secs": 0.012} +{"i": 119, "status": "ok", "out": "List[List[0, Null], List[2181, Null]]", "msgs": [], "secs": 0.032} +{"i": 120, "status": "ok", "out": "List[List[654, Null], List[1455, Null], List[1968, Null], List[2942, Null], List[3594, Null], List[4462, Null], List[6268, Null], List[7506, Null], List[8401, Null], List[8288, Null], List[11149, Null], List[11631, Null], List[10522, Null], List[11845, Null], List[11413, Null]]", "msgs": [], "secs": 2.111} +{"i": 121, "status": "msg", "out": "ListPlot[List[Part[List[654, Null], 1, 1], Part[List[1455, Null], 1, 1], Part[List[1968, Null], 1, 1], Part[List[2942, Null], 1, 1], Part[List[3594, Null], 1, 1], Part[List[4462, Null], 1, 1], Part[List[6268, Null], 1, 1], Part[List[7506, Null], 1, 1], Part[List[8401, Null], 1, 1], Part[List[8288, Null], 1, 1], Part[List[11149, Null], 1, 1], Part[List[11631, Null], 1, 1], Part[List[10522, Null], 1, 1], Part[List[11845, Null], 1, 1], Part[List[11413, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.008} +{"i": 122, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`CirculantGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CirculantGraph, List[RuleDelayed[CirculantGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`l, Blank[Integer]]], CirculantGraph[Combinatorica`Private`n, List[Combinatorica`Private`l]]], RuleDelayed[CirculantGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`l, List[RepeatedNull[Blank[Integer]]]]], Graph[Union[Flatten[Table[Map[Function[List[Plus[Sort[List[Combinatorica`Private`i, Mod[Plus[Combinatorica`Private`i, Slot[1]], Combinatorica`Private`n]]], 1]]], Combinatorica`Private`l], List[Combinatorica`Private`i, 0, Plus[Combinatorica`Private`n, -1]]], 1], Flatten[Table[Map[Function[List[Plus[Sort[List[Combinatorica`Private`i, Mod[Plus[Combinatorica`Private`i, Times[-1, Slot[1]]], Combinatorica`Private`n]]], 1]]], Combinatorica`Private`l], List[Combinatorica`Private`i, 0, Plus[Combinatorica`Private`n, -1]]], 1]], CircularEmbedding[Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CirculantGraph\"]], False]", "msgs": [], "secs": 0.101} +{"i": 123, "status": "ok", "out": "", "msgs": [], "secs": 0.022} +{"i": 124, "status": "ok", "out": "", "msgs": [], "secs": 0.026000000000000002} +{"i": 125, "status": "ok", "out": "", "msgs": [], "secs": 0.023} +{"i": 126, "status": "ok", "out": "List[List[1, 2], List[1, 3], List[1, 4], List[1, 5], List[2, 3], List[2, 4], List[2, 5], List[3, 4], List[3, 5], List[4, 5]]", "msgs": [], "secs": 0.0} +{"i": 127, "status": "ok", "out": "10", "msgs": [], "secs": 0.0} +{"i": 128, "status": "ok", "out": "List[List[1, 2], List[1, 3], List[1, 4], List[2, 3], List[2, 4], List[3, 4]]", "msgs": [], "secs": 0.0} +{"i": 129, "status": "ok", "out": "6", "msgs": [], "secs": 0.0} +{"i": 130, "status": "ok", "out": "List[List[0, Null], List[2104, Null]]", "msgs": [], "secs": 0.033} +{"i": 131, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 132, "status": "ok", "out": "List[List[772, Null], List[408, Null], List[470, Null], List[577, Null], List[727, Null], List[905, Null], List[1013, Null], List[1282, Null], List[1481, Null], List[1518, Null], List[1732, Null], List[1614, Null], List[1760, Null], List[1865, Null], List[1816, Null], List[2027, Null], List[2068, Null], List[2482, Null], List[2425, Null], List[2441, Null]]", "msgs": [], "secs": 0.53} +{"i": 133, "status": "msg", "out": "ListPlot[List[Part[List[772, Null], 1, 1], Part[List[408, Null], 1, 1], Part[List[470, Null], 1, 1], Part[List[577, Null], 1, 1], Part[List[727, Null], 1, 1], Part[List[905, Null], 1, 1], Part[List[1013, Null], 1, 1], Part[List[1282, Null], 1, 1], Part[List[1481, Null], 1, 1], Part[List[1518, Null], 1, 1], Part[List[1732, Null], 1, 1], Part[List[1614, Null], 1, 1], Part[List[1760, Null], 1, 1], Part[List[1865, Null], 1, 1], Part[List[1816, Null], 1, 1], Part[List[2027, Null], 1, 1], Part[List[2068, Null], 1, 1], Part[List[2482, Null], 1, 1], Part[List[2425, Null], 1, 1], Part[List[2441, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.002} +{"i": 134, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`CompleteGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CompleteGraph, List[RuleDelayed[CompleteGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[CompleteGraph]]]]]], If[SameQ[Combinatorica`Private`type, Undirected], Combinatorica`Private`CG[Combinatorica`Private`n], Combinatorica`Private`CDG[Combinatorica`Private`n]]], GreaterEqual[Combinatorica`Private`n, 0]]], RuleDelayed[CompleteGraph[Pattern[Combinatorica`Private`l, BlankSequence[]]], Condition[CompleteKPartiteGraph[Combinatorica`Private`l], And[TrueQ[Apply[And, Map[Positive, List[Combinatorica`Private`l]]]], Greater[Length[List[Combinatorica`Private`l]], 1]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CompleteGraph\"]], False]", "msgs": [], "secs": 0.132} +{"i": 135, "status": "ok", "out": "", "msgs": [], "secs": 0.03} +{"i": 136, "status": "ok", "out": "List[List[428, Null], List[456, Null], List[593, Null], List[554, Null], List[771, Null], List[833, Null], List[887, Null], List[987, Null], List[958, Null], List[1079, Null], List[1263, Null], List[1253, Null], List[1353, Null], List[1702, Null], List[1823, Null], List[1896, Null], List[2096, Null], List[2046, Null], List[2202, Null], List[2509, Null], List[2385, Null], List[2755, Null], List[2837, Null], List[2920, Null], List[3195, Null], List[3348, Null], List[3224, Null], List[3958, Null], List[4361, Null], List[4433, Null]]", "msgs": [], "secs": 0.777} +{"i": 137, "status": "msg", "out": "ListPlot[List[List[5995, Part[List[List[428, Null], List[456, Null], List[593, Null], List[554, Null], List[771, Null], List[833, Null], List[887, Null], List[987, Null], List[958, Null], List[1079, Null], List[1263, Null], List[1253, Null], List[1353, Null], List[1702, Null], List[1823, Null], List[1896, Null], List[2096, Null], List[2046, Null], List[2202, Null], List[2509, Null], List[2385, Null], List[2755, Null], List[2837, Null], List[2920, Null], List[3195, Null], List[3348, Null], List[3224, Null], List[3958, Null], List[4361, Null], List[4433, Null]], 1, 1, 1]], List[7140, Part[List[List[428, Null], List[456, Null], List[593, Null], List[554, Null], List[771, Null], List[833, Null], List[887, Null], List[987, Null], List[958, Null], List[1079, Null], List[1263, Null], List[1253, Null], List[1353, Null], List[1702, Null], List[1823, Null], List[1896, Null], List[2096, Null], List[2046, Null], List[2202, Null], List[2509, Null], List[2385, Null], List[2755, Null], List[2837, Null], List[2920, Null], List[3195, Null], List[3348, Null], List[3224, Null], List[3958, Null], List[4361, Null], List[4433, Null]], 2, 1, 1]], List[8385, Part[List[List[428, Null], List[456, Null], List[593, Null], List[554, Null], List[771, Null], List[833, Null], List[887, Null], List[987, Null], List[958, Null], List[1079, Null], List[1263, Null], List[1253, Null], List[1353, Null], List[1702, Null], List[1823, Null], List[1896, Null], List[2096, Null], List[2046, Null], List[2202, Null], List[2509, Null], List[2385, Null], List[2755, Null], List[2837, Null], List[2920, Null], List[3195, Null], List[3348, Null], List[3224, Null], List[3958, Null], List[4361, Null], List[4433, Null]], 3, 1, 1]], List[9730, Part[List[List[428, Null], List[456, Null], List[593, Null], List[554, Null], List[771, Null], List[833, Null], List[887, Null], List[987, Null], List[958, Null], List[1079, Null], List[1263, Null], List[1253, Null], List[1353, Null], List[1702, Null], List[1823, Null], List[1896, Null], List[2096, Null], List[2046, Null], List[2202, Null], List[2509, Null], List[2385, Null], List[2755, Null], List[2837, Null], List[2920, Null], List[3195, Null], List[3348, Null], List[3224, Null], List[3958, Null], List[4361, Null], List[4433, Null]], 4, 1, 1]], List[11175, Part[List[List[428, Null], List[456, Null], List[593, Null], List[554, Null], List[771, Null], List[833, Null], List[887, Null], List[987, Null], List[958, Null], List[1079, Null], List[1263, Null], List[1253, Null], List[1353, Null], List[1702, Null], List[1823, Null], List[1896, Null], List[2096, Null], List[2046, Null], List[2202, Null], List[2509, Null], List[2385, Null], List[2755, Null], List[2837, Null], List[2920, Null], List[3195, Null], List[3348, Null], List[3224, Null], List[3958, Null], List[4361, Null], List[4433, Null]], 5, 1, 1]], List[12720, Part[List[List[428, Null], List[456, Null], List[593, Null], List[554, Null], List[771, Null], List[833, Null], List[887, Null], List[987, Null], List[958, Null], List[1079, Null], List[1263, Null], List[1253, Null], List[1353, Null], List[1702, Null], List[1823, Null], List[1896, Null], List[2096, Null], List[2046, Null], List[2202, Null], List[2509, Null], List[2385, Null], List[2755, Null], List[2837, Null], List[2920, Null], List[3195, Null], List[3348, Null], List[3224, Null], List[3958, Null], List[4361, Null], List[4433, Null]], 6, 1, 1]], List[14365, Part[List[List[428, Null], List[456, Null], List[593, Null], List[554, Null], List[771, Null], List[833, Null], List[887, Null], List[987, Null], List[958, Null], List[1079, Null], List[1263, Null], List[1253, Null], List[1353, Null], List[1702, Null], List[1823, Null], List[1896, Null], List[2096, Null], List[2046, Null], List[2202, Null], List[2509, Null], List[2385, Null], List[2755, Null], List[2837, Null], List[2920, Null], List[3195, Null], List[3348, Null], List[3224, Null], List[3958, Null], List[4361, Null], List[4433, Null]], 7, 1, 1]], List[16110, Part[List[List[428, Nul...", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.016} +{"i": 138, "status": "ok", "out": "List[List[0, Null], List[1682, Null]]", "msgs": [], "secs": 0.032} +{"i": 139, "status": "ok", "out": "List[List[1, Null], List[6042, Null]]", "msgs": [], "secs": 0.079} +{"i": 140, "status": "ok", "out": "", "msgs": [], "secs": 0.023} +{"i": 141, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 142, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ShakeGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) performs a random perturbation of the vertices of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), with each vertex moving, at most, a distance \\!\\(\\*StyleBox[\\\"d\\\", \\\"TI\\\"]\\) from its original position.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ShakeGraph, List[RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]]], ShakeGraph[Combinatorica`Private`g, Combinatorica`Private`s, Round[Times[Power[10, 5], 0.1`]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]]], ShakeGraph[Combinatorica`Private`g, Round[Times[Power[10, 5], 0.1`]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]], PatternTest[Pattern[Combinatorica`Private`fract, Blank[]], NumericQ]], Module[List[Combinatorica`Private`i, Combinatorica`Private`d, Combinatorica`Private`a, Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]]], CompoundExpression[Set[Part[Combinatorica`Private`v, Combinatorica`Private`s], Map[Function[CompoundExpression[Set[Combinatorica`Private`d, RandomReal[Combinatorica`Private`fract]], Set[Combinatorica`Private`a, RandomReal[Times[2, N[Pi]]]], Prepend[Rest[Slot[1]], Plus[First[Slot[1]], List[N[Times[Combinatorica`Private`d, Cos[Combinatorica`Private`a]]], N[Times[Combinatorica`Private`d, Sin[Combinatorica`Private`a]]]]]]]], Part[Combinatorica`Private`v, Combinatorica`Private`s]]], ChangeVertices[Combinatorica`Private`g, Combinatorica`Private`v]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`fract, Blank[]], NumericQ]], ShakeGraph[Combinatorica`Private`g, Range[V[Combinatorica`Private`g]], Combinatorica`Private`fract]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ShakeGraph\"]], False]", "msgs": [], "secs": 0.061} +{"i": 143, "status": "ok", "out": "", "msgs": [], "secs": 0.017} +{"i": 144, "status": "ok", "out": "List[13948, Null]", "msgs": [], "secs": 0.167} +{"i": 145, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 146, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EmptyGraph\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) generates an empty graph on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices. An option Type that can take on values Directed or Undirected is provided. The default setting is \\!\\(\\*RowBox[{\\\"Type\\\", \\\"->\\\", \\\"Undirected\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EmptyGraph, List[RuleDelayed[EmptyGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[EmptyGraph]]]]]], If[SameQ[Combinatorica`Private`type, Undirected], Combinatorica`Private`EG[Combinatorica`Private`n], Combinatorica`Private`EDG[Combinatorica`Private`n]]], GreaterEqual[Combinatorica`Private`n, 0]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EmptyGraph\"]], False]", "msgs": [], "secs": 0.059000000000000004} +{"i": 147, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 148, "status": "ok", "out": "DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`EmptyGraph[10]]", "msgs": [], "secs": 0.0} +{"i": 149, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Turan\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"p\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs the Tur\\[AAcute]n graph, the extremal graph on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices that does not contain \\!\\(\\*RowBox[{\\\"CompleteGraph\\\", \\\"[\\\", StyleBox[\\\"p\\\", \\\"TI\\\"], \\\"]\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Turan, List[RuleDelayed[Turan[Pattern[Combinatorica`Private`n, Blank[Integer]], 2], Condition[GraphUnion[Combinatorica`Private`n, CompleteGraph[1]], Greater[Combinatorica`Private`n, 0]]], RuleDelayed[Turan[Pattern[Combinatorica`Private`n, Blank[Integer]], Pattern[Combinatorica`Private`p, Blank[Integer]]], Condition[Module[List[Set[Combinatorica`Private`k, Floor[Times[Combinatorica`Private`n, Power[Plus[Combinatorica`Private`p, -1], -1]]]], Combinatorica`Private`r], CompoundExpression[Set[Combinatorica`Private`r, Plus[Combinatorica`Private`n, Times[-1, Combinatorica`Private`k, Plus[Combinatorica`Private`p, -1]]]], Apply[CompleteGraph, Join[Table[Combinatorica`Private`k, List[Plus[Combinatorica`Private`p, -1, Times[-1, Combinatorica`Private`r]]]], Table[Plus[Combinatorica`Private`k, 1], List[Combinatorica`Private`r]]]]]], And[GreaterEqual[Combinatorica`Private`n, Combinatorica`Private`p], Greater[Combinatorica`Private`p, 2]]]], RuleDelayed[Turan[Pattern[Combinatorica`Private`n, Blank[Integer]], Pattern[Combinatorica`Private`p, Blank[Integer]]], Condition[CompleteGraph[Combinatorica`Private`n], And[Less[Combinatorica`Private`n, Combinatorica`Private`p], Greater[Combinatorica`Private`p, 2]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Turan\"]], False]", "msgs": [], "secs": 0.053} +{"i": 150, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 151, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 152, "status": "ok", "out": "List[List[29485, Null], List[42799, Null], List[58108, Null], List[78565, Null], List[96165, Null], List[112533, Null]]", "msgs": [], "secs": 7.571} +{"i": 153, "status": "ok", "out": "BoxData[RowBox[List[\"ListPlot\", \"[\", \" \", RowBox[List[\"Table\", \"[\", RowBox[List[RowBox[List[\"{\", RowBox[List[RowBox[List[\"M\", \"[\", \" \", RowBox[List[\"gt\", \"[\", RowBox[List[\"[\", \"i\", \"]\"]], \"]\"]], \" \", \"]\"]], \",\", \" \", RowBox[List[\"rt\", \"[\", RowBox[List[\"[\", \" \", \"i\", \"-\", \"4\", \",\", \" \", \"1\", \",\", \" \", \"1\", \" \", \"]\"]], \"]\"]], \" \"]], \"}\"]], \",\", \" \", RowBox[List[\"{\", RowBox[List[\"i\", \",\", \" \", \"5\", \",\", \" \", \"10\"]], \"}\"]]]], \"]\"]], \",\", \" \", RowBox[List[\"PlotJoined\", \"->\", \"True\"]], \",\", \" \", RowBox[List[\"ImageSize\", \"->\", \"400\"]], \"]\"]]]", "msgs": [], "secs": 0.0} +{"i": 154, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 155, "status": "ok", "out": "Null", "msgs": [], "secs": 0.007} +{"i": 156, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Cycle\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs the cycle on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices, the 2-regular connected graph. An option Type that takes on values Directed or Undirected is allowed. The default setting is \\!\\(\\*RowBox[{\\\"Type\\\", \\\"->\\\", \\\"Undirected\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Cycle, List[RuleDelayed[Cycle[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[Cycle]]]]], Set[Combinatorica`Private`e, Table[List[List[Combinatorica`Private`i, Plus[Combinatorica`Private`i, 1]]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -1]]]], Set[Combinatorica`Private`c, CircularEmbedding[Combinatorica`Private`n]]], If[SameQ[Combinatorica`Private`type, Undirected], Graph[Append[Combinatorica`Private`e, List[List[1, Combinatorica`Private`n]]], Combinatorica`Private`c], Graph[Append[Combinatorica`Private`e, List[List[Combinatorica`Private`n, 1]]], Combinatorica`Private`c, Rule[EdgeDirection, True]]]], GreaterEqual[Combinatorica`Private`n, 2]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Cycle\"]], False]", "msgs": [], "secs": 0.063} +{"i": 157, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 158, "status": "ok", "out": "List[List[0, Null], List[148, Null]]", "msgs": [], "secs": 0.002} +{"i": 159, "status": "ok", "out": "List[3365, Null]", "msgs": [], "secs": 0.041} +{"i": 160, "status": "ok", "out": "List[List[62, Null], List[75, Null], List[112, Null], List[142, Null], List[201, Null], List[247, Null], List[260, Null], List[285, Null], List[329, Null], List[363, Null], List[430, Null], List[436, Null], List[481, Null], List[510, Null], List[618, Null], List[598, Null], List[697, Null], List[678, Null], List[736, Null], List[766, Null]]", "msgs": [], "secs": 0.083} +{"i": 161, "status": "msg", "out": "ListPlot[List[Part[List[62, Null], 1, 1], Part[List[75, Null], 1, 1], Part[List[112, Null], 1, 1], Part[List[142, Null], 1, 1], Part[List[201, Null], 1, 1], Part[List[247, Null], 1, 1], Part[List[260, Null], 1, 1], Part[List[285, Null], 1, 1], Part[List[329, Null], 1, 1], Part[List[363, Null], 1, 1], Part[List[430, Null], 1, 1], Part[List[436, Null], 1, 1], Part[List[481, Null], 1, 1], Part[List[510, Null], 1, 1], Part[List[618, Null], 1, 1], Part[List[598, Null], 1, 1], Part[List[697, Null], 1, 1], Part[List[678, Null], 1, 1], Part[List[736, Null], 1, 1], Part[List[766, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.002} +{"i": 162, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Star\\\", \\\"[\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) displays as \\!\\(\\*RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"\\[Star]\\\", StyleBox[\\\"y\\\", \\\"TI\\\"], \\\"\\[Star]\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\). Star[n] constructs a star on n vertices, which is a tree with one vertex of degree n-1.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Star.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Star, List[RuleDelayed[Star[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Graph[Table[List[List[Combinatorica`Private`i, Combinatorica`Private`n]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -1]]], Append[CircularEmbedding[Plus[Combinatorica`Private`n, -1]], List[List[0, 0]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"System`Star\"]], False]", "msgs": [], "secs": 0.036000000000000004} +{"i": 163, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 164, "status": "ok", "out": "List[List[0, Null], List[90, Null]]", "msgs": [], "secs": 0.001} +{"i": 165, "status": "ok", "out": "List[List[0, Null], List[165, Null]]", "msgs": [], "secs": 0.002} +{"i": 166, "status": "ok", "out": "Null", "msgs": [], "secs": 0.838} +{"i": 167, "status": "msg", "out": "ListPlot[List[Part[List[25, Null], 1, 1], Part[List[48, Null], 1, 1], Part[List[42, Null], 1, 1], Part[List[47, Null], 1, 1], Part[List[58, Null], 1, 1], Part[List[61, Null], 1, 1], Part[List[72, Null], 1, 1], Part[List[84, Null], 1, 1], Part[List[110, Null], 1, 1], Part[List[118, Null], 1, 1], Part[List[135, Null], 1, 1], Part[List[121, Null], 1, 1], Part[List[145, Null], 1, 1], Part[List[148, Null], 1, 1], Part[List[138, Null], 1, 1], Part[List[206, Null], 1, 1], Part[List[184, Null], 1, 1], Part[List[183, Null], 1, 1], Part[List[189, Null], 1, 1], Part[List[180, Null], 1, 1], Part[List[194, Null], 1, 1], Part[List[197, Null], 1, 1], Part[List[280, Null], 1, 1], Part[List[284, Null], 1, 1], Part[List[271, Null], 1, 1], Part[List[263, Null], 1, 1], Part[List[282, Null], 1, 1], Part[List[289, Null], 1, 1], Part[List[308, Null], 1, 1], Part[List[310, Null], 1, 1], Part[List[328, Null], 1, 1], Part[List[417, Null], 1, 1], Part[List[418, Null], 1, 1], Part[List[466, Null], 1, 1], Part[List[441, Null], 1, 1], Part[List[398, Null], 1, 1], Part[List[532, Null], 1, 1], Part[List[533, Null], 1, 1], Part[List[536, Null], 1, 1], Part[List[541, Null], 1, 1], Part[List[520, Null], 1, 1], Part[List[578, Null], 1, 1], Part[List[572, Null], 1, 1], Part[List[644, Null], 1, 1], Part[List[647, Null], 1, 1], Part[List[631, Null], 1, 1], Part[List[660, Null], 1, 1], Part[List[585, Null], 1, 1], Part[List[661, Null], 1, 1], Part[List[732, Null], 1, 1], Part[List[702, Null], 1, 1], Part[List[773, Null], 1, 1], Part[List[844, Null], 1, 1], Part[List[734, Null], 1, 1], Part[List[708, Null], 1, 1], Part[List[711, Null], 1, 1], Part[List[688, Null], 1, 1], Part[List[650, Null], 1, 1], Part[List[780, Null], 1, 1], Part[List[749, Null], 1, 1], Part[List[721, Null], 1, 1], Part[List[801, Null], 1, 1], Part[List[766, Null], 1, 1], Part[List[784, Null], 1, 1], Part[List[720, Null], 1, 1], Part[List[748, Null], 1, 1], Part[List[654, Null], 1, 1], Part[List[769, Null], 1, 1], Part[List[684, Null], 1, 1], Part[List[806, Null], 1, 1], Part[List[914, Null], 1, 1], Part[List[851, Null], 1, 1], Part[List[817, Null], 1, 1], Part[List[856, Null], 1, 1], Part[List[855, Null], 1, 1], Part[List[778, Null], 1, 1], Part[List[801, Null], 1, 1], Part[List[875, Null], 1, 1], Part[List[965, Null], 1, 1], Part[List[849, Null], 1, 1], Part[List[762, Null], 1, 1], Part[List[819, Null], 1, 1], Part[List[813, Null], 1, 1], Part[List[816, Null], 1, 1], Part[List[904, Null], 1, 1], Part[List[816, Null], 1, 1], Part[List[944, Null], 1, 1], Part[List[874, Null], 1, 1], Part[List[878, Null], 1, 1], Part[List[954, Null], 1, 1], Part[List[1058, Null], 1, 1], Part[List[1256, Null], 1, 1], Part[List[1045, Null], 1, 1], Part[List[1015, Null], 1, 1], Part[List[998, Null], 1, 1], Part[List[956, Null], 1, 1], Part[List[1008, Null], 1, 1], Part[List[1275, Null], 1, 1], Part[List[1089, Null], 1, 1], Part[List[1260, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.01} +{"i": 168, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Wheel\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a wheel on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices, which is the join of \\!\\(\\*RowBox[{\\\"CompleteGraph\\\", \\\"[\\\", StyleBox[\\\"1\\\", \\\"TR\\\"], \\\"]\\\"}]\\) and \\!\\(\\*RowBox[{\\\"Cycle\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"-\\\", StyleBox[\\\"1\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Wheel, List[RuleDelayed[Wheel[Pattern[Combinatorica`Private`n, Blank[Integer]]], Condition[Graph[Join[Table[List[List[Combinatorica`Private`i, Combinatorica`Private`n]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -1]]], Table[List[List[Combinatorica`Private`i, Plus[Combinatorica`Private`i, 1]]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -2]]], List[List[List[1, Plus[Combinatorica`Private`n, -1]]]]], Append[CircularEmbedding[Plus[Combinatorica`Private`n, -1]], List[List[0, 0]]]], GreaterEqual[Combinatorica`Private`n, 3]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Wheel\"]], False]", "msgs": [], "secs": 0.11800000000000001} +{"i": 169, "status": "ok", "out": "", "msgs": [], "secs": 0.032} +{"i": 170, "status": "ok", "out": "List[List[0, Null], List[191, Null]]", "msgs": [], "secs": 0.003} +{"i": 171, "status": "ok", "out": "List[List[0, Null], List[402, Null]]", "msgs": [], "secs": 0.008} +{"i": 172, "status": "ok", "out": "Null", "msgs": [], "secs": 6.761} +{"i": 173, "status": "msg", "out": "ListPlot[List[Part[List[44, Null], 1, 1], Part[List[82, Null], 1, 1], Part[List[140, Null], 1, 1], Part[List[102, Null], 1, 1], Part[List[85, Null], 1, 1], Part[List[94, Null], 1, 1], Part[List[100, Null], 1, 1], Part[List[158, Null], 1, 1], Part[List[189, Null], 1, 1], Part[List[206, Null], 1, 1], Part[List[221, Null], 1, 1], Part[List[247, Null], 1, 1], Part[List[291, Null], 1, 1], Part[List[219, Null], 1, 1], Part[List[413, Null], 1, 1], Part[List[325, Null], 1, 1], Part[List[284, Null], 1, 1], Part[List[451, Null], 1, 1], Part[List[457, Null], 1, 1], Part[List[454, Null], 1, 1], Part[List[472, Null], 1, 1], Part[List[510, Null], 1, 1], Part[List[434, Null], 1, 1], Part[List[382, Null], 1, 1], Part[List[508, Null], 1, 1], Part[List[472, Null], 1, 1], Part[List[471, Null], 1, 1], Part[List[464, Null], 1, 1], Part[List[448, Null], 1, 1], Part[List[462, Null], 1, 1], Part[List[457, Null], 1, 1], Part[List[496, Null], 1, 1], Part[List[639, Null], 1, 1], Part[List[607, Null], 1, 1], Part[List[635, Null], 1, 1], Part[List[652, Null], 1, 1], Part[List[683, Null], 1, 1], Part[List[724, Null], 1, 1], Part[List[828, Null], 1, 1], Part[List[909, Null], 1, 1], Part[List[767, Null], 1, 1], Part[List[897, Null], 1, 1], Part[List[928, Null], 1, 1], Part[List[865, Null], 1, 1], Part[List[933, Null], 1, 1], Part[List[962, Null], 1, 1], Part[List[1048, Null], 1, 1], Part[List[1003, Null], 1, 1], Part[List[1107, Null], 1, 1], Part[List[1152, Null], 1, 1], Part[List[1058, Null], 1, 1], Part[List[1125, Null], 1, 1], Part[List[1120, Null], 1, 1], Part[List[1087, Null], 1, 1], Part[List[1072, Null], 1, 1], Part[List[1282, Null], 1, 1], Part[List[1222, Null], 1, 1], Part[List[1201, Null], 1, 1], Part[List[1247, Null], 1, 1], Part[List[1106, Null], 1, 1], Part[List[1097, Null], 1, 1], Part[List[1204, Null], 1, 1], Part[List[1163, Null], 1, 1], Part[List[1190, Null], 1, 1], Part[List[1217, Null], 1, 1], Part[List[1171, Null], 1, 1], Part[List[1234, Null], 1, 1], Part[List[1342, Null], 1, 1], Part[List[1287, Null], 1, 1], Part[List[1411, Null], 1, 1], Part[List[1496, Null], 1, 1], Part[List[1530, Null], 1, 1], Part[List[1417, Null], 1, 1], Part[List[1516, Null], 1, 1], Part[List[1402, Null], 1, 1], Part[List[1455, Null], 1, 1], Part[List[1520, Null], 1, 1], Part[List[1553, Null], 1, 1], Part[List[1642, Null], 1, 1], Part[List[1604, Null], 1, 1], Part[List[1825, Null], 1, 1], Part[List[1740, Null], 1, 1], Part[List[1870, Null], 1, 1], Part[List[1847, Null], 1, 1], Part[List[1501, Null], 1, 1], Part[List[1782, Null], 1, 1], Part[List[1873, Null], 1, 1], Part[List[1601, Null], 1, 1], Part[List[1622, Null], 1, 1], Part[List[1773, Null], 1, 1], Part[List[1711, Null], 1, 1], Part[List[1743, Null], 1, 1], Part[List[1836, Null], 1, 1], Part[List[1754, Null], 1, 1], Part[List[1930, Null], 1, 1], Part[List[1804, Null], 1, 1], Part[List[1934, Null], 1, 1], Part[List[2006, Null], 1, 1], Part[List[2033, Null], 1, 1], Part[List[2184, Null], 1, 1], Part[List[2098, Null], 1, 1], Part[List[1972, Null], 1, 1], Part[List[2176, Null], 1, 1], Part[List[2052, Null], 1, 1], Part[List[2122, Null], 1, 1], Part[List[2158, Null], 1, 1], Part[List[2110, Null], 1, 1], Part[List[2179, Null], 1, 1], Part[List[2178, Null], 1, 1], Part[List[2030, Null], 1, 1], Part[List[2089, Null], 1, 1], Part[List[2153, Null], 1, 1], Part[List[2007, Null], 1, 1], Part[List[2193, Null], 1, 1], Part[List[2221, Null], 1, 1], Part[List[2124, Null], 1, 1], Part[List[2184, Null], 1, 1], Part[List[2004, Null], 1, 1], Part[List[2025, Null], 1, 1], Part[List[1992, Null], 1, 1], Part[List[1944, Null], 1, 1], Part[List[1918, Null], 1, 1], Part[List[2255, Null], 1, 1], Part[List[2184, Null], 1, 1], Part[List[2134, Null], 1, 1], Part[List[2463, Null], 1, 1], Part[List[2866, Null], 1, 1], Part[List[2584, Null], 1, 1], Part[List[2590, Null], 1, 1], Part[List[2528, Null], 1, 1], Part[List[2205, Null], 1, 1], Part[List[1918, Null], 1, 1], Part[List[2425, Null], 1, 1], Part[List[2347, Null], 1, 1], Part[List[2483, ...", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.01} +{"i": 174, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Path is an option for Get and related functions which gives a list of directories to search in attempting to find an external file. Path[n] constructs a tree consisting only of a path on n vertices. Path[n] permits an option Type that takes on the values Directed and Undirected. The default setting is Type -> Undirected.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Path.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Path, List[RuleDelayed[Path[1, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[Path]]]]]], CompleteGraph[1, Rule[Type, Combinatorica`Private`type]]]], RuleDelayed[Path[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[Path]]]]], Combinatorica`Private`i], If[SameQ[Combinatorica`Private`type, Undirected], Graph[Table[List[List[Combinatorica`Private`i, Plus[Combinatorica`Private`i, 1]]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -1]]], Map[Function[List[List[Slot[1], 0]]], Range[Combinatorica`Private`n]]], Graph[Table[List[List[Combinatorica`Private`i, Plus[Combinatorica`Private`i, 1]]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -1]]], Map[Function[List[List[Slot[1], 0]]], Range[Combinatorica`Private`n]], Rule[EdgeDirection, True]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"System`Path\"]], False]", "msgs": [], "secs": 0.053} +{"i": 175, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 176, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 177, "status": "ok", "out": "Null", "msgs": [], "secs": 11.033} +{"i": 178, "status": "msg", "out": "ListPlot[List[Part[List[21, Null], 1, 1], Part[List[12, Null], 1, 1], Part[List[32, Null], 1, 1], Part[List[22, Null], 1, 1], Part[List[24, Null], 1, 1], Part[List[27, Null], 1, 1], Part[List[44, Null], 1, 1], Part[List[38, Null], 1, 1], Part[List[40, Null], 1, 1], Part[List[41, Null], 1, 1], Part[List[46, Null], 1, 1], Part[List[50, Null], 1, 1], Part[List[56, Null], 1, 1], Part[List[58, Null], 1, 1], Part[List[69, Null], 1, 1], Part[List[71, Null], 1, 1], Part[List[88, Null], 1, 1], Part[List[92, Null], 1, 1], Part[List[83, Null], 1, 1], Part[List[88, Null], 1, 1], Part[List[91, Null], 1, 1], Part[List[95, Null], 1, 1], Part[List[97, Null], 1, 1], Part[List[104, Null], 1, 1], Part[List[112, Null], 1, 1], Part[List[113, Null], 1, 1], Part[List[121, Null], 1, 1], Part[List[127, Null], 1, 1], Part[List[138, Null], 1, 1], Part[List[138, Null], 1, 1], Part[List[137, Null], 1, 1], Part[List[145, Null], 1, 1], Part[List[147, Null], 1, 1], Part[List[154, Null], 1, 1], Part[List[161, Null], 1, 1], Part[List[163, Null], 1, 1], Part[List[171, Null], 1, 1], Part[List[228, Null], 1, 1], Part[List[186, Null], 1, 1], Part[List[176, Null], 1, 1], Part[List[180, Null], 1, 1], Part[List[183, Null], 1, 1], Part[List[192, Null], 1, 1], Part[List[186, Null], 1, 1], Part[List[193, Null], 1, 1], Part[List[204, Null], 1, 1], Part[List[200, Null], 1, 1], Part[List[204, Null], 1, 1], Part[List[208, Null], 1, 1], Part[List[213, Null], 1, 1], Part[List[222, Null], 1, 1], Part[List[223, Null], 1, 1], Part[List[236, Null], 1, 1], Part[List[226, Null], 1, 1], Part[List[235, Null], 1, 1], Part[List[235, Null], 1, 1], Part[List[243, Null], 1, 1], Part[List[249, Null], 1, 1], Part[List[249, Null], 1, 1], Part[List[256, Null], 1, 1], Part[List[267, Null], 1, 1], Part[List[263, Null], 1, 1], Part[List[267, Null], 1, 1], Part[List[270, Null], 1, 1], Part[List[281, Null], 1, 1], Part[List[293, Null], 1, 1], Part[List[291, Null], 1, 1], Part[List[299, Null], 1, 1], Part[List[296, Null], 1, 1], Part[List[304, Null], 1, 1], Part[List[307, Null], 1, 1], Part[List[328, Null], 1, 1], Part[List[325, Null], 1, 1], Part[List[320, Null], 1, 1], Part[List[321, Null], 1, 1], Part[List[322, Null], 1, 1], Part[List[330, Null], 1, 1], Part[List[338, Null], 1, 1], Part[List[337, Null], 1, 1], Part[List[350, Null], 1, 1], Part[List[349, Null], 1, 1], Part[List[365, Null], 1, 1], Part[List[372, Null], 1, 1], Part[List[387, Null], 1, 1], Part[List[381, Null], 1, 1], Part[List[386, Null], 1, 1], Part[List[387, Null], 1, 1], Part[List[402, Null], 1, 1], Part[List[404, Null], 1, 1], Part[List[420, Null], 1, 1], Part[List[411, Null], 1, 1], Part[List[403, Null], 1, 1], Part[List[414, Null], 1, 1], Part[List[417, Null], 1, 1], Part[List[418, Null], 1, 1], Part[List[424, Null], 1, 1], Part[List[430, Null], 1, 1], Part[List[548, Null], 1, 1], Part[List[464, Null], 1, 1], Part[List[464, Null], 1, 1], Part[List[456, Null], 1, 1], Part[List[457, Null], 1, 1], Part[List[454, Null], 1, 1], Part[List[476, Null], 1, 1], Part[List[467, Null], 1, 1], Part[List[471, Null], 1, 1], Part[List[481, Null], 1, 1], Part[List[482, Null], 1, 1], Part[List[487, Null], 1, 1], Part[List[488, Null], 1, 1], Part[List[497, Null], 1, 1], Part[List[529, Null], 1, 1], Part[List[534, Null], 1, 1], Part[List[571, Null], 1, 1], Part[List[586, Null], 1, 1], Part[List[632, Null], 1, 1], Part[List[620, Null], 1, 1], Part[List[571, Null], 1, 1], Part[List[591, Null], 1, 1], Part[List[526, Null], 1, 1], Part[List[542, Null], 1, 1], Part[List[570, Null], 1, 1], Part[List[548, Null], 1, 1], Part[List[555, Null], 1, 1], Part[List[550, Null], 1, 1], Part[List[554, Null], 1, 1], Part[List[557, Null], 1, 1], Part[List[582, Null], 1, 1], Part[List[596, Null], 1, 1], Part[List[579, Null], 1, 1], Part[List[599, Null], 1, 1], Part[List[585, Null], 1, 1], Part[List[590, Null], 1, 1], Part[List[601, Null], 1, 1], Part[List[606, Null], 1, 1], Part[List[610, Null], 1, 1], Part[List[624, Null], 1, 1], Part[List[650, Null], 1, 1], Part[Li...", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.037} +{"i": 179, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GridGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GridGraph, List[RuleDelayed[GridGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`m, Blank[Integer]], Positive]], GraphProduct[ChangeVertices[Path[Combinatorica`Private`n], Map[Function[List[List[Times[Max[Combinatorica`Private`n, Combinatorica`Private`m], Slot[1]], 0]]], Range[Combinatorica`Private`n]]], Path[Combinatorica`Private`m]]], RuleDelayed[GridGraph[PatternTest[Pattern[Combinatorica`Private`p, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`q, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`r, Blank[Integer]], Positive]], GraphProduct[GridGraph[Combinatorica`Private`p, Combinatorica`Private`q], DilateVertices[RotateVertices[Path[Combinatorica`Private`r], 1], Times[1, Power[Times[10, Combinatorica`Private`r], -1]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GridGraph\"]], False]", "msgs": [], "secs": 0.189} +{"i": 180, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 181, "status": "ok", "out": "", "msgs": [], "secs": 0.465} +{"i": 182, "status": "ok", "out": "List[5, Null]", "msgs": [], "secs": 0.001} +{"i": 183, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 184, "status": "ok", "out": "List[List[338, Null], List[513, Null], List[771, Null], List[1109, Null], List[1543, Null], List[1557, Null], List[1682, Null], List[2092, Null], List[2247, Null], List[2404, Null], List[2765, Null], List[3465, Null], List[3339, Null], List[3425, Null], List[3452, Null]]", "msgs": [], "secs": 0.985} +{"i": 185, "status": "msg", "out": "ListPlot[List[Part[List[338, Null], 1, 1], Part[List[513, Null], 1, 1], Part[List[771, Null], 1, 1], Part[List[1109, Null], 1, 1], Part[List[1543, Null], 1, 1], Part[List[1557, Null], 1, 1], Part[List[1682, Null], 1, 1], Part[List[2092, Null], 1, 1], Part[List[2247, Null], 1, 1], Part[List[2404, Null], 1, 1], Part[List[2765, Null], 1, 1], Part[List[3465, Null], 1, 1], Part[List[3339, Null], 1, 1], Part[List[3425, Null], 1, 1], Part[List[3452, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.006} +{"i": 186, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Hypercube\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\)-dimensional hypercube.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Hypercube, List[RuleDelayed[Hypercube[Pattern[Combinatorica`Private`n, Blank[Integer]]], Combinatorica`Private`Hypercube1[Combinatorica`Private`n]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Hypercube\"]], False]", "msgs": [], "secs": 0.22} +{"i": 187, "status": "ok", "out": "", "msgs": [], "secs": 0.095} +{"i": 188, "status": "ok", "out": "", "msgs": [], "secs": 0.054} +{"i": 189, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 190, "status": "ok", "out": "List[2069, Null]", "msgs": [], "secs": 0.031} +{"i": 191, "status": "ok", "out": "List[List[10, Null], List[8, Null], List[0, Null], List[65, Null], List[0, Null], List[0, Null], List[232, Null], List[486, Null], List[1095, Null], List[0, Null], List[4757, Null], List[8122, Null], List[16347, Null], List[33991, Null], List[62029, Null]]", "msgs": [], "secs": 3.148} +{"i": 192, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[3, 4]], List[List[5, 6]], List[List[7, 8]], List[List[1, 3]], List[List[2, 4]], List[List[3, 5]], List[List[4, 6]], List[List[5, 7]], List[List[6, 8]], List[List[1, 7]], List[List[2, 8]], List[List[9, 10]], List[List[11, 12]], List[List[13, 14]], List[List[15, 16]], List[List[9, 11]], List[List[10, 12]], List[List[11, 13]], List[List[12, 14]], List[List[13, 15]], List[List[14, 16]], List[List[9, 15]], List[List[10, 16]], List[List[17, 18]], List[List[19, 20]], List[List[21, 22]], List[List[23, 24]], List[List[17, 19]], List[List[18, 20]], List[List[19, 21]], List[List[20, 22]], List[List[21, 23]], List[List[22, 24]], List[List[17, 23]], List[List[18, 24]], List[List[25, 26]], List[List[27, 28]], List[List[29, 30]], List[List[31, 32]], List[List[25, 27]], List[List[26, 28]], List[List[27, 29]], List[List[28, 30]], List[List[29, 31]], List[List[30, 32]], List[List[25, 31]], List[List[26, 32]], List[List[33, 34]], List[List[35, 36]], List[List[37, 38]], List[List[39, 40]], List[List[33, 35]], List[List[34, 36]], List[List[35, 37]], List[List[36, 38]], List[List[37, 39]], List[List[38, 40]], List[List[33, 39]], List[List[34, 40]], List[List[41, 42]], List[List[43, 44]], List[List[45, 46]], List[List[47, 48]], List[List[41, 43]], List[List[42, 44]], List[List[43, 45]], List[List[44, 46]], List[List[45, 47]], List[List[46, 48]], List[List[41, 47]], List[List[42, 48]], List[List[49, 50]], List[List[51, 52]], List[List[53, 54]], List[List[55, 56]], List[List[49, 51]], List[List[50, 52]], List[List[51, 53]], List[List[52, 54]], List[List[53, 55]], List[List[54, 56]], List[List[49, 55]], List[List[50, 56]], List[List[57, 58]], List[List[59, 60]], List[List[61, 62]], List[List[63, 64]], List[List[57, 59]], List[List[58, 60]], List[List[59, 61]], List[List[60, 62]], List[List[61, 63]], List[List[62, 64]], List[List[57, 63]], List[List[58, 64]], List[List[65, 66]], List[List[67, 68]], List[List[69, 70]], List[List[71, 72]], List[List[65, 67]], List[List[66, 68]], List[List[67, 69]], List[List[68, 70]], List[List[69, 71]], List[List[70, 72]], List[List[65, 71]], List[List[66, 72]], List[List[73, 74]], List[List[75, 76]], List[List[77, 78]], List[List[79, 80]], List[List[73, 75]], List[List[74, 76]], List[List[75, 77]], List[List[76, 78]], List[List[77, 79]], List[List[78, 80]], List[List[73, 79]], List[List[74, 80]], List[List[81, 82]], List[List[83, 84]], List[List[85, 86]], List[List[87, 88]], List[List[81, 83]], List[List[82, 84]], List[List[83, 85]], List[List[84, 86]], List[List[85, 87]], List[List[86, 88]], List[List[81, 87]], List[List[82, 88]], List[List[89, 90]], List[List[91, 92]], List[List[93, 94]], List[List[95, 96]], List[List[89, 91]], List[List[90, 92]], List[List[91, 93]], List[List[92, 94]], List[List[93, 95]], List[List[94, 96]], List[List[89, 95]], List[List[90, 96]], List[List[97, 98]], List[List[99, 100]], List[List[101, 102]], List[List[103, 104]], List[List[97, 99]], List[List[98, 100]], List[List[99, 101]], List[List[100, 102]], List[List[101, 103]], List[List[102, 104]], List[List[97, 103]], List[List[98, 104]], List[List[105, 106]], List[List[107, 108]], List[List[109, 110]], List[List[111, 112]], List[List[105, 107]], List[List[106, 108]], List[List[107, 109]], List[List[108, 110]], List[List[109, 111]], List[List[110, 112]], List[List[105, 111]], List[List[106, 112]], List[List[113, 114]], List[List[115, 116]], List[List[117, 118]], List[List[119, 120]], List[List[113, 115]], List[List[114, 116]], List[List[115, 117]], List[List[116, 118]], List[List[117, 119]], List[List[118, 120]], List[List[113, 119]], List[List[114, 120]], List[List[121, 122]], List[List[123, 124]], List[List[125, 126]], List[List[127, 128]], List[List[121, 123]], List[List[122, 124]], List[List[123, 125]], List[List[124, 126]], List[List[125, 127]], List[List[126, 128]], List[List[121, 127]], List[List[122, 128]], List[List[1, 9]], List[List[2, 10]], List[List[3, 11]], List[List[4, 12]], List[List[5, 1...", "msgs": [], "secs": 0.0} +{"i": 193, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"LabeledTreeToCode\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) reduces the tree \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) to its Pr\\[UDoubleDot]fer code.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, LabeledTreeToCode, List[RuleDelayed[LabeledTreeToCode[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`i, Combinatorica`Private`code], Table[CompoundExpression[Set[List[Combinatorica`Private`i], First[Position[Map[Length, Combinatorica`Private`e], 1]]], Set[Combinatorica`Private`code, Part[Combinatorica`Private`e, Combinatorica`Private`i, 1]], Set[Part[Combinatorica`Private`e, Combinatorica`Private`code], Complement[Part[Combinatorica`Private`e, Combinatorica`Private`code], List[Combinatorica`Private`i]]], Set[Part[Combinatorica`Private`e, Combinatorica`Private`i], List[]], Combinatorica`Private`code], List[Plus[V[Combinatorica`Private`g], -2]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`LabeledTreeToCode\"]], False]", "msgs": [], "secs": 0.061} +{"i": 194, "status": "ok", "out": "LabeledTreeToCode[Tree[2, List[Tree[4, List[Tree[9, None], Tree[14, None], Tree[5, None], Tree[17, List[Tree[7, List[Tree[12, List[Tree[15, List[Tree[8, List[Tree[1, List[Tree[10, None], Tree[20, None]]]]]]]]]]], Tree[3, List[Tree[16, None], Tree[18, List[Tree[6, List[Tree[11, None]]], Tree[19, List[Tree[13, None]]]]]]]]]]]]]]", "msgs": [], "secs": 0.012} +{"i": 195, "status": "ok", "out": "List[10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10]", "msgs": [], "secs": 0.004} +{"i": 196, "status": "ok", "out": "List[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99]", "msgs": [], "secs": 0.004} +{"i": 197, "status": "ok", "out": "Null", "msgs": [], "secs": 0.638} +{"i": 198, "status": "ok", "out": "List[List[29, Null], List[0, Null], List[0, Null], List[7, Null], List[7, Null], List[7, Null]]", "msgs": [], "secs": 0.001} +{"i": 199, "status": "msg", "out": "ListPlot[List[Part[List[29, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[7, Null], 1, 1], Part[List[7, Null], 1, 1], Part[List[7, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.013000000000000001} +{"i": 200, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 201, "status": "ok", "out": "List[List[1, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 202, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CodeToLabeledTree\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs the unique labeled tree on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices from the Pr\\[UDoubleDot]fer code \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\), which consists of a list of \\!\\(\\*RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"-\\\", \\\"2\\\"}]\\) integers between 1 and \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CodeToLabeledTree, List[RuleDelayed[CodeToLabeledTree[Pattern[Combinatorica`Private`l, Blank[List]]], Condition[Module[List[Set[Combinatorica`Private`m, Range[Plus[Length[Combinatorica`Private`l], 2]]], Combinatorica`Private`x, Combinatorica`Private`i], FromUnorderedPairs[Append[Table[CompoundExpression[Set[Combinatorica`Private`x, Min[Complement[Combinatorica`Private`m, Drop[Combinatorica`Private`l, Plus[Combinatorica`Private`i, -1]]]]], Set[Combinatorica`Private`m, Complement[Combinatorica`Private`m, List[Combinatorica`Private`x]]], Sort[List[Combinatorica`Private`x, Part[Combinatorica`Private`l, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`l]]], Sort[Combinatorica`Private`m]]]], Equal[Complement[Combinatorica`Private`l, Range[Plus[Length[Combinatorica`Private`l], 2]]], List[]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CodeToLabeledTree\"]], False]", "msgs": [], "secs": 0.08} +{"i": 203, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 204, "status": "ok", "out": "", "msgs": [], "secs": 0.014} +{"i": 205, "status": "ok", "out": "Null", "msgs": [], "secs": 0.003} +{"i": 206, "status": "ok", "out": "List[List[148, Null], List[307, Null], List[456, Null], List[634, Null], List[984, Null], List[1280, Null], List[1580, Null], List[1908, Null], List[2470, Null], List[3087, Null]]", "msgs": [], "secs": 0.17200000000000001} +{"i": 207, "status": "msg", "out": "ListPlot[List[Part[List[148, Null], 1, 1], Part[List[307, Null], 1, 1], Part[List[456, Null], 1, 1], Part[List[634, Null], 1, 1], Part[List[984, Null], 1, 1], Part[List[1280, Null], 1, 1], Part[List[1580, Null], 1, 1], Part[List[1908, Null], 1, 1], Part[List[2470, Null], 1, 1], Part[List[3087, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 208, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 209, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RandomTree\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a pseudorandom tree with \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) nodes.\\n\\!\\(\\*RowBox[{\\\"RandomTree\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives a list of \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) pseudorandom trees.\\n\\!\\(\\*RowBox[{\\\"RandomTree\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"k\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"k\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) gives a \\!\\(\\*SubscriptBox[StyleBox[\\\"k\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\)\\[Times]\\!\\(\\*RowBox[{StyleBox[\\\" \\\", \\\"TI\\\"], SubscriptBox[StyleBox[\\\"k\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}]\\)\\[Times]\\!\\(\\*StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]\\) array of trees.\\n\\!\\(\\*RowBox[{\\\"RandomTree\\\", \\\"[\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"e\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"e\\\", \\\"TI\\\"], StyleBox[\\\"n\\\", \\\"TI\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) gives trees with nodes containing the expressions \\!\\(\\*SubscriptBox[StyleBox[\\\"e\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]]\\).\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/RandomTree.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", Information`InformationValueForm[DefaultValues, RandomTree, List[Rule[Options[RandomTree], Trees`$TreeOptions]]]], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected, ReadProtected]], Rule[\"FullName\", \"System`RandomTree\"]], False]", "msgs": [], "secs": 0.126} +{"i": 210, "status": "ok", "out": "ShowGraph[RadialEmbedding[Tree[16, List[Tree[9, List[Tree[18, None], Tree[5, List[Tree[8, List[Tree[19, None], Tree[4, None], Tree[14, List[Tree[10, None]]]]]]]]], Tree[11, List[Tree[7, None], Tree[17, None], Tree[13, List[Tree[3, None], Tree[6, List[Tree[12, None]]]]], Tree[15, None], Tree[2, None]]], Tree[20, List[Tree[1, None]]]]], 1], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.003} +{"i": 211, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 212, "status": "ok", "out": "List[List[420, Null], List[813, Null], List[1431, Null], List[1705, Null], List[1690, Null], List[1887, Null], List[2209, Null], List[2766, Null]]", "msgs": [], "secs": 0.186} +{"i": 213, "status": "msg", "out": "ListPlot[List[Part[List[420, Null], 1, 1], Part[List[813, Null], 1, 1], Part[List[1431, Null], 1, 1], Part[List[1705, Null], 1, 1], Part[List[1690, Null], 1, 1], Part[List[1887, Null], 1, 1], Part[List[2209, Null], 1, 1], Part[List[2766, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 214, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`RandomGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RandomGraph, List[RuleDelayed[RandomGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`p, Blank[]], NumericQ], List[Pattern[Combinatorica`Private`x, Blank[Integer]], Pattern[Combinatorica`Private`y, Blank[Integer]]]], SetEdgeWeights[RandomGraph[Combinatorica`Private`n, Combinatorica`Private`p], Rule[WeightingFunction, RandomInteger], Rule[WeightRange, List[Combinatorica`Private`x, Combinatorica`Private`y]]]], RuleDelayed[RandomGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`p, Blank[]], NumericQ], Directed], RandomGraph[Combinatorica`Private`n, Combinatorica`Private`p, Rule[Type, Directed]]], RuleDelayed[RandomGraph[0, PatternTest[Pattern[Combinatorica`Private`p, Blank[]], NumericQ], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Graph[List[], List[]]], RuleDelayed[RandomGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`p, Blank[]], NumericQ], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[RandomGraph]]]]], If[SameQ[Combinatorica`Private`type, Directed], Combinatorica`Private`RDG[Combinatorica`Private`n, Combinatorica`Private`p], Combinatorica`Private`RG[Combinatorica`Private`n, Combinatorica`Private`p]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RandomGraph\"]], False]", "msgs": [], "secs": 0.07} +{"i": 215, "status": "ok", "out": "", "msgs": [], "secs": 0.169} +{"i": 216, "status": "ok", "out": "", "msgs": [], "secs": 0.077} +{"i": 217, "status": "ok", "out": "", "msgs": [], "secs": 0.078} +{"i": 218, "status": "ok", "out": "List[List[166, Null], List[126, Null], List[168, Null], List[181, Null], List[221, Null], List[360, Null], List[393, Null], List[485, Null], List[573, Null]]", "msgs": [], "secs": 0.053} +{"i": 219, "status": "msg", "out": "ListPlot[List[Part[List[166, Null], 1, 1], Part[List[126, Null], 1, 1], Part[List[168, Null], 1, 1], Part[List[181, Null], 1, 1], Part[List[221, Null], 1, 1], Part[List[360, Null], 1, 1], Part[List[393, Null], 1, 1], Part[List[485, Null], 1, 1], Part[List[573, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 220, "status": "ok", "out": "List[List[59, Null], List[69, Null], List[102, Null], List[96, Null], List[62, Null], List[88, Null], List[94, Null], List[117, Null], List[185, Null], List[248, Null], List[176, Null], List[282, Null], List[274, Null], List[295, Null], List[347, Null], List[285, Null], List[281, Null], List[378, Null], List[465, Null], List[438, Null]]", "msgs": [], "secs": 0.135} +{"i": 221, "status": "msg", "out": "ListPlot[List[Part[List[59, Null], 1, 1], Part[List[69, Null], 1, 1], Part[List[102, Null], 1, 1], Part[List[96, Null], 1, 1], Part[List[62, Null], 1, 1], Part[List[88, Null], 1, 1], Part[List[94, Null], 1, 1], Part[List[117, Null], 1, 1], Part[List[185, Null], 1, 1], Part[List[248, Null], 1, 1], Part[List[176, Null], 1, 1], Part[List[282, Null], 1, 1], Part[List[274, Null], 1, 1], Part[List[295, Null], 1, 1], Part[List[347, Null], 1, 1], Part[List[285, Null], 1, 1], Part[List[281, Null], 1, 1], Part[List[378, Null], 1, 1], Part[List[465, Null], 1, 1], Part[List[438, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.003} +{"i": 222, "status": "ok", "out": "List[List[0, Null], List[346, Null]]", "msgs": [], "secs": 0.009000000000000001} +{"i": 223, "status": "ok", "out": "List[List[0, Null], List[2100, Null]]", "msgs": [], "secs": 0.027} +{"i": 224, "status": "ok", "out": "List[List[0, Null], List[3477, Null]]", "msgs": [], "secs": 0.048} +{"i": 225, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ExactRandomGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a random labeled graph of exactly \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\) edges and \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ExactRandomGraph, List[RuleDelayed[ExactRandomGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], Pattern[Combinatorica`Private`e, Blank[Integer]]], Graph[Map[Function[List[NthPair[Slot[1]]]], Take[RandomPermutation[Times[Combinatorica`Private`n, Times[Plus[Combinatorica`Private`n, -1], Power[2, -1]]]], Combinatorica`Private`e]], CircularEmbedding[Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ExactRandomGraph\"]], False]", "msgs": [], "secs": 0.059000000000000004} +{"i": 226, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 227, "status": "ok", "out": "", "msgs": [], "secs": 0.019} +{"i": 228, "status": "ok", "out": "", "msgs": [], "secs": 0.162} +{"i": 229, "status": "ok", "out": "", "msgs": [], "secs": 0.182} +{"i": 230, "status": "ok", "out": "List[List[50, Null], List[80, Null], List[69, Null], List[77, Null], List[84, Null], List[107, Null], List[137, Null], List[126, Null], List[157, Null], List[122, Null]]", "msgs": [], "secs": 0.013000000000000001} +{"i": 231, "status": "msg", "out": "ListPlot[List[Part[List[50, Null], 1, 1], Part[List[80, Null], 1, 1], Part[List[69, Null], 1, 1], Part[List[77, Null], 1, 1], Part[List[84, Null], 1, 1], Part[List[107, Null], 1, 1], Part[List[137, Null], 1, 1], Part[List[126, Null], 1, 1], Part[List[157, Null], 1, 1], Part[List[122, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 232, "status": "ok", "out": "List[List[60, Null], List[94, Null], List[141, Null], List[178, Null], List[201, Null]]", "msgs": [], "secs": 0.011} +{"i": 233, "status": "msg", "out": "ListPlot[List[Part[List[60, Null], 1, 1], Part[List[94, Null], 1, 1], Part[List[141, Null], 1, 1], Part[List[178, Null], 1, 1], Part[List[201, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.002} +{"i": 234, "status": "ok", "out": "List[List[0, Null], List[73, Null]]", "msgs": [], "secs": 0.001} +{"i": 235, "status": "ok", "out": "List[List[0, Null], List[543, Null]]", "msgs": [], "secs": 0.01} +{"i": 236, "status": "ok", "out": "List[492, Null]", "msgs": [], "secs": 0.007} +{"i": 237, "status": "ok", "out": "List[57, Null]", "msgs": [], "secs": 0.001} +{"i": 238, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RandomVertices\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns a random embedding to graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RandomVertices, List[RuleDelayed[RandomVertices[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Table[List[List[RandomReal[], RandomReal[]]], List[Combinatorica`Private`n]]], RuleDelayed[RandomVertices[Pattern[Combinatorica`Private`g, Blank[Graph]]], ChangeVertices[Combinatorica`Private`g, RandomVertices[V[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RandomVertices\"]], False]", "msgs": [], "secs": 0.165} +{"i": 239, "status": "ok", "out": "", "msgs": [], "secs": 0.013000000000000001} +{"i": 240, "status": "ok", "out": "Null", "msgs": [], "secs": 0.073} +{"i": 241, "status": "ok", "out": "List[217, Null]", "msgs": [], "secs": 0.004} +{"i": 242, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DegreeSequence\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the sorted degree sequence of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DegreeSequence, List[RuleDelayed[DegreeSequence[Pattern[Combinatorica`Private`g, Blank[Graph]]], Reverse[Sort[Degrees[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DegreeSequence\"]], False]", "msgs": [], "secs": 0.076} +{"i": 243, "status": "ok", "out": "List[9, 9, 9, 9, 9, 9, 9, 9, 9, 9]", "msgs": [], "secs": 0.002} +{"i": 244, "status": "ok", "out": "List[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1]", "msgs": [], "secs": 0.002} +{"i": 245, "status": "ok", "out": "Null", "msgs": [], "secs": 0.03} +{"i": 246, "status": "ok", "out": "List[2442, Null]", "msgs": [], "secs": 0.035} +{"i": 247, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 248, "status": "ok", "out": "Null", "msgs": [], "secs": 0.676} +{"i": 249, "status": "ok", "out": "Null", "msgs": [], "secs": 0.96} +{"i": 250, "status": "msg", "out": "ListPlot[List[Part[List[227, Null], 1, 1], Part[List[633, Null], 1, 1], Part[List[721, Null], 1, 1], Part[List[1196, Null], 1, 1], Part[List[1110, Null], 1, 1], Part[List[1644, Null], 1, 1], Part[List[2080, Null], 1, 1], Part[List[2215, Null], 1, 1], Part[List[2846, Null], 1, 1], Part[List[2817, Null], 1, 1], Part[List[3009, Null], 1, 1], Part[List[3372, Null], 1, 1], Part[List[3077, Null], 1, 1], Part[List[3193, Null], 1, 1], Part[List[3985, Null], 1, 1], Part[List[4535, Null], 1, 1], Part[List[5093, Null], 1, 1], Part[List[5148, Null], 1, 1], Part[List[5645, Null], 1, 1], Part[List[6301, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.007} +{"i": 251, "status": "ok", "out": "Null", "msgs": [], "secs": 0.034} +{"i": 252, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 253, "status": "msg", "out": "ListPlot[List[Part[List[1, Null], 1, 1], Part[List[1, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.007} +{"i": 254, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"GraphicQ\\\", \\\"[\\\", StyleBox[\\\"s\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the list of integers \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\) is a graphic sequence, and thus represents a degree sequence of some graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphicQ, List[RuleDelayed[GraphicQ[Pattern[Combinatorica`Private`s, Blank[List]]], Condition[False, Or[Less[Min[Combinatorica`Private`s], 0], GreaterEqual[Max[Combinatorica`Private`s], Length[Combinatorica`Private`s]]]]], RuleDelayed[GraphicQ[Pattern[Combinatorica`Private`s, Blank[List]]], Condition[Equal[First[Combinatorica`Private`s], 0], Equal[Length[Combinatorica`Private`s], 1]]], RuleDelayed[GraphicQ[Pattern[Combinatorica`Private`s, Blank[List]]], Module[List[Combinatorica`Private`m, Set[Combinatorica`Private`sorted, Reverse[Sort[Combinatorica`Private`s]]]], CompoundExpression[Set[Combinatorica`Private`m, First[Combinatorica`Private`sorted]], GraphicQ[Join[Plus[Take[Combinatorica`Private`sorted, List[2, Plus[Combinatorica`Private`m, 1]]], -1], Drop[Combinatorica`Private`sorted, Plus[Combinatorica`Private`m, 1]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphicQ\"]], False]", "msgs": [], "secs": 0.308} +{"i": 255, "status": "ok", "out": "True", "msgs": [], "secs": 0.026000000000000002} +{"i": 256, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 257, "status": "ok", "out": "Null", "msgs": [], "secs": 0.053} +{"i": 258, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 259, "status": "ok", "out": "List[List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 260, "status": "ok", "out": "Null", "msgs": [], "secs": 0.5740000000000001} +{"i": 261, "status": "ok", "out": "List[List[15, Null], List[2, Null], List[0, Null], List[1, Null], List[1, Null], List[0, Null], List[0, Null], List[0, Null], List[1, Null], List[0, Null], List[0, Null], List[0, Null], List[2, Null], List[1, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[4, Null]]", "msgs": [], "secs": 0.001} +{"i": 262, "status": "msg", "out": "ListPlot[List[Part[List[15, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[1, Null], 1, 1], Part[List[1, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[1, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[1, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[4, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.016} +{"i": 263, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RealizeDegreeSequence\\\", \\\"[\\\", StyleBox[\\\"s\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a semirandom graph with degree sequence \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RealizeDegreeSequence, List[RuleDelayed[RealizeDegreeSequence[Pattern[Combinatorica`Private`d, Blank[List]]], Condition[Module[List[Combinatorica`Private`i, Combinatorica`Private`j, Combinatorica`Private`k, Combinatorica`Private`v, Combinatorica`Private`set, Combinatorica`Private`seq, Set[Combinatorica`Private`n, Length[Combinatorica`Private`d]], Combinatorica`Private`e], CompoundExpression[Set[Combinatorica`Private`seq, Reverse[Sort[Table[List[Part[Combinatorica`Private`d, Combinatorica`Private`i], Combinatorica`Private`i], List[Combinatorica`Private`i, Combinatorica`Private`n]]]]], Graph[Flatten[Table[CompoundExpression[Set[List[List[Combinatorica`Private`k, Combinatorica`Private`v], Combinatorica`Private`seq], List[First[Combinatorica`Private`seq], Rest[Combinatorica`Private`seq]]], While[Not[GraphicQ[MapAt[Function[Plus[Slot[1], -1]], Map[First, Combinatorica`Private`seq], Set[Combinatorica`Private`set, RandomKSubset[Table[List[Combinatorica`Private`i], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, Times[-1, Combinatorica`Private`j]]]], Combinatorica`Private`k]]]]]], Set[Combinatorica`Private`e, Map[Function[List[Sort[Prepend[Part[Combinatorica`Private`seq, Slot[1], 2], Combinatorica`Private`v]]]], Combinatorica`Private`set]], Set[Combinatorica`Private`seq, Reverse[Sort[MapAt[Function[List[Plus[Part[Slot[1], 1], -1], Part[Slot[1], 2]]], Combinatorica`Private`seq, Combinatorica`Private`set]]]], Combinatorica`Private`e], List[Combinatorica`Private`j, Plus[Length[Combinatorica`Private`d], -1]]], 1], CircularEmbedding[Combinatorica`Private`n]]]], GraphicQ[Combinatorica`Private`d]]], RuleDelayed[RealizeDegreeSequence[Pattern[Combinatorica`Private`d, Blank[List]], Pattern[Combinatorica`Private`seed, Blank[Integer]]], CompoundExpression[SeedRandom[Combinatorica`Private`seed], RealizeDegreeSequence[Combinatorica`Private`d]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RealizeDegreeSequence\"]], False]", "msgs": [], "secs": 0.155} +{"i": 264, "status": "ok", "out": "ShowGraph[Tree[1, List[Tree[3, List[Tree[12, List[Tree[4, List[Tree[9, None]]], Tree[14, List[Tree[11, List[Tree[8, None]]]]], Tree[5, List[Tree[6, List[Tree[7, None]]], Tree[2, None]]], Tree[13, List[Tree[10, None], Tree[15, None]]]]]]]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.002} +{"i": 265, "status": "ok", "out": "DegreeSequence[Tree[1, List[Tree[3, List[Tree[12, List[Tree[4, List[Tree[9, None]]], Tree[14, List[Tree[11, List[Tree[8, None]]]]], Tree[5, List[Tree[6, List[Tree[7, None]]], Tree[2, None]]], Tree[13, List[Tree[10, None], Tree[15, None]]]]]]]]]]", "msgs": [], "secs": 0.0} +{"i": 266, "status": "ok", "out": "ShowGraph[RealizeDegreeSequence[DegreeSequence[Tree[1, List[Tree[3, List[Tree[12, List[Tree[4, List[Tree[9, None]]], Tree[14, List[Tree[11, List[Tree[8, None]]]]], Tree[5, List[Tree[6, List[Tree[7, None]]], Tree[2, None]]], Tree[13, List[Tree[10, None], Tree[15, None]]]]]]]]]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.025} +{"i": 267, "status": "ok", "out": "DegreeSequence[RealizeDegreeSequence[DegreeSequence[Tree[1, List[Tree[3, List[Tree[12, List[Tree[4, List[Tree[9, None]]], Tree[14, List[Tree[11, List[Tree[8, None]]]]], Tree[5, List[Tree[6, List[Tree[7, None]]], Tree[2, None]]], Tree[13, List[Tree[10, None], Tree[15, None]]]]]]]]]]]]", "msgs": [], "secs": 0.0} +{"i": 268, "status": "ok", "out": "IsomorphicQ[Tree[1, List[Tree[3, List[Tree[12, List[Tree[4, List[Tree[9, None]]], Tree[14, List[Tree[11, List[Tree[8, None]]]]], Tree[5, List[Tree[6, List[Tree[7, None]]], Tree[2, None]]], Tree[13, List[Tree[10, None], Tree[15, None]]]]]]]]], RealizeDegreeSequence[DegreeSequence[Tree[1, List[Tree[3, List[Tree[12, List[Tree[4, List[Tree[9, None]]], Tree[14, List[Tree[11, List[Tree[8, None]]]]], Tree[5, List[Tree[6, List[Tree[7, None]]], Tree[2, None]]], Tree[13, List[Tree[10, None], Tree[15, None]]]]]]]]]]]]", "msgs": [], "secs": 0.002} +{"i": 269, "status": "ok", "out": "Null", "msgs": [], "secs": 0.049} +{"i": 270, "status": "ok", "out": "List[List[3118, Null], List[10124, Null], List[20996, Null], List[42188, Null], List[67124, Null]]", "msgs": [], "secs": 3.2600000000000002} +{"i": 271, "status": "msg", "out": "ListPlot[List[Part[List[3118, Null], 1, 1], Part[List[10124, Null], 1, 1], Part[List[20996, Null], 1, 1], Part[List[42188, Null], 1, 1], Part[List[67124, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.015} +{"i": 272, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 273, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RegularQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is a regular graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RegularQ, List[RuleDelayed[RegularQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Apply[Equal, Degrees[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RegularQ\"]], False]", "msgs": [], "secs": 0.096} +{"i": 274, "status": "ok", "out": "True", "msgs": [], "secs": 0.003} +{"i": 275, "status": "ok", "out": "True", "msgs": [], "secs": 0.003} +{"i": 276, "status": "ok", "out": "RegularQ[Tree[5, List[Tree[4, List[Tree[2, List[Tree[1, None]]], Tree[3, None], Tree[6, List[Tree[10, None], Tree[8, List[Tree[7, List[Tree[9, None]]]]]]]]]]]]", "msgs": [], "secs": 0.01} +{"i": 277, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 278, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RegularGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"k\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a semirandom \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\)-regular graph on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices, if such a graph exists.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RegularGraph, List[RuleDelayed[RegularGraph[Pattern[Combinatorica`Private`k, Blank[Integer]], Pattern[Combinatorica`Private`n, Blank[Integer]]], RealizeDegreeSequence[Table[Combinatorica`Private`k, List[Combinatorica`Private`n]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RegularGraph\"]], False]", "msgs": [], "secs": 0.08600000000000001} +{"i": 279, "status": "ok", "out": "", "msgs": [], "secs": 0.037} +{"i": 280, "status": "ok", "out": "", "msgs": [], "secs": 0.034} +{"i": 281, "status": "ok", "out": "", "msgs": [], "secs": 0.036000000000000004} +{"i": 282, "status": "ok", "out": "List[List[0, Null], List[9956, Null]]", "msgs": [], "secs": 0.147} +{"i": 283, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MakeGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"f\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs the graph with vertices corresponding to \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) and edges between all pairs of vertices \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"y\\\", \\\"TI\\\"]\\) in \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) for which the binary relation defined by the Boolean function \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) is True.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MakeGraph, List[RuleDelayed[MakeGraph[Pattern[Combinatorica`Private`v, Blank[List]], Pattern[Combinatorica`Private`f, Blank[]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`label, Combinatorica`Private`g, Combinatorica`Private`l], CompoundExpression[Set[List[Combinatorica`Private`type, Combinatorica`Private`label], ReplaceAll[List[Type, VertexLabel], Flatten[List[Combinatorica`Private`opts, Options[MakeGraph]]]]], Set[Combinatorica`Private`g, If[SameQ[Combinatorica`Private`type, Directed], FromAdjacencyMatrix[Combinatorica`Private`MakeGraph1[Combinatorica`Private`v, Combinatorica`Private`f], Rule[Type, Directed]], FromAdjacencyMatrix[Combinatorica`Private`MakeGraph1[Combinatorica`Private`v, Combinatorica`Private`f], Rule[Type, Undirected]]]], If[Or[SameQ[Combinatorica`Private`label, On], SameQ[Combinatorica`Private`label, True], SameQ[Combinatorica`Private`label, Automatic]], CompoundExpression[Set[Combinatorica`Private`l, Combinatorica`Private`v], Null]], If[ListQ[Combinatorica`Private`l], SetVertexLabels[Combinatorica`Private`g, Combinatorica`Private`l], Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Directed], Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MakeGraph\"]], False]", "msgs": [], "secs": 0.1} +{"i": 284, "status": "ok", "out": "Null", "msgs": [], "secs": 0.042} +{"i": 285, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 286, "status": "ok", "out": "Null", "msgs": [], "secs": 0.006} +{"i": 287, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 288, "status": "ok", "out": "", "msgs": [], "secs": 0.015} +{"i": 289, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"IntervalGraph\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs the interval graph defined by the list of intervals \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IntervalGraph, List[RuleDelayed[IntervalGraph[Pattern[Combinatorica`Private`l, Blank[List]]], MakeSimple[MakeGraph[Combinatorica`Private`l, Function[Or[And[LessEqual[First[Slot[1]], First[Slot[2]]], GreaterEqual[Last[Slot[1]], First[Slot[2]]]], And[LessEqual[First[Slot[2]], First[Slot[1]]], GreaterEqual[Last[Slot[2]], First[Slot[1]]]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IntervalGraph\"]], False]", "msgs": [], "secs": 0.042} +{"i": 290, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 291, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 292, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 293, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 294, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"FunctionalGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) takes a set \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) and a function \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) from \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) to \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) and constructs a directed graph with vertex set \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) and edges \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\"[\\\", StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"]\\\"}]}], \\\"}\\\"}]\\) for each \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) in \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"FunctionalGraph\\\", \\\"[\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a graph with vertex set \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) and edge set \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", RowBox[{SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]], \\\"[\\\", StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"]\\\"}]}], \\\"}\\\"}]\\) for each \\!\\(\\*SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]]\\). An option called Type that takes on the values Directed and Undirected is allowed. \\!\\(\\*RowBox[{\\\"Type\\\", \\\"->\\\", \\\"Directed\\\"}]\\) is the default, while \\!\\(\\*RowBox[{\\\"Type\\\", \\\"->\\\", \\\"Undirected\\\"}]\\) returns the corresponding underlying undirected graph. \\n\\!\\(\\*RowBox[{\\\"FunctionalGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) takes a nonnegative integer \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) and a function \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) from \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"-\\\", \\\"1\\\"}]}], \\\"}\\\"}]\\) onto itself and produces the directed graph with vertex set \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"-\\\", \\\"1\\\"}]}], \\\"}\\\"}]\\) and edge set \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\"[\\\", StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"]\\\"}]}], \\\"}\\\"}]\\) for each vertex \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FunctionalGraph, List[RuleDelayed[FunctionalGraph[Pattern[Combinatorica`Private`f, Blank[]], Pattern[Combinatorica`Private`n, Blank[Integer]]], FromOrderedPairs[Table[Plus[List[Combinatorica`Private`i, Mod[Apply[Combinatorica`Private`f, List[Combinatorica`Private`i]], Combinatorica`Private`n]], 1], List[Combinatorica`Private`i, 0, Plus[Combinatorica`Private`n, -1]]]]], RuleDelayed[FunctionalGraph[Pattern[Combinatorica`Private`f, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`t, Combinatorica`Private`i, Combinatorica`Private`j], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FunctionalGraph]]]]], Set[Combinatorica`Private`t, Flatten[Table[Table[List[Combinatorica`Private`i, Part[Position[Combinatorica`Private`v, Apply[Part[Combinatorica`Private`f, Combinatorica`Private`j], List[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], 1, 1]], List[Combinatorica`Private`j, Length[Combinatorica`Private`f]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`v]]], 1]], If[SameQ[Combinatorica`Private`type, Directed], FromOrderedPairs[Combinatorica`Private`t, Rule[Type, Directed]], FromOrderedPairs[Combinatorica`Private`t, Rule[Type, Undirected]]]]]], RuleDelayed[FunctionalGraph[Pattern[Combinatorica...", "msgs": [], "secs": 0.042} +{"i": 295, "status": "ok", "out": "", "msgs": [], "secs": 0.007} diff --git a/book/wma/Chapter4.s2.jsonl b/book/wma/Chapter4.s2.jsonl new file mode 100644 index 0000000..57f1adf --- /dev/null +++ b/book/wma/Chapter4.s2.jsonl @@ -0,0 +1,295 @@ +{"i": 1, "status": "ok", "out": "Null", "msgs": [], "secs": 0.009000000000000001} +{"i": 2, "status": "ok", "out": "", "msgs": [], "secs": 0.23500000000000001} +{"i": 3, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 4, "status": "ok", "out": "", "msgs": [], "secs": 0.065} +{"i": 5, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphUnion\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphUnion, List[RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Combinatorica`Private`g, Equal[V[Combinatorica`Private`h], 0]]], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Combinatorica`Private`h, Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[If[UndirectedQ[Combinatorica`Private`h], GraphUnion[MakeUndirected[Combinatorica`Private`g], Combinatorica`Private`h], GraphUnion[SetGraphOptions[Combinatorica`Private`g, Rule[EdgeDirection, True]], Combinatorica`Private`h]], And[EmptyQ[Combinatorica`Private`g], Unequal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]]], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[If[UndirectedQ[Combinatorica`Private`g], GraphUnion[Combinatorica`Private`g, MakeUndirected[Combinatorica`Private`h]], GraphUnion[Combinatorica`Private`g, SetGraphOptions[Combinatorica`Private`h, Rule[EdgeDirection, True]]]], And[EmptyQ[Combinatorica`Private`h], Unequal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]]], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`lg, BlankSequence[Graph]]], Condition[Combinatorica`Private`PutTogether[Map[NormalizeVertices, List[Combinatorica`Private`lg]]], Or[Equal[Count[Map[UndirectedQ, List[Combinatorica`Private`lg]], True], 0], Equal[Count[Map[UndirectedQ, List[Combinatorica`Private`lg]], True], Length[List[Combinatorica`Private`lg]]]]]], RuleDelayed[GraphUnion[0, Pattern[Combinatorica`Private`g, Blank[Graph]]], EmptyGraph[0]], RuleDelayed[GraphUnion[1, Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphUnion[Pattern[Combinatorica`Private`k, Blank[Integer]], Pattern[Combinatorica`Private`g, Blank[Graph]]], GraphUnion[Apply[Sequence, Table[Combinatorica`Private`g, List[Combinatorica`Private`k]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphUnion\"]], False]", "msgs": [], "secs": 0.229} +{"i": 6, "status": "ok", "out": "", "msgs": [], "secs": 0.128} +{"i": 7, "status": "ok", "out": "", "msgs": [], "secs": 0.017} +{"i": 8, "status": "ok", "out": "", "msgs": [], "secs": 0.013000000000000001} +{"i": 9, "status": "ok", "out": "Null", "msgs": [], "secs": 2.041} +{"i": 10, "status": "ok", "out": "List[List[704, Null], List[1000, Null], List[1573, Null], List[2026, Null], List[2073, Null], List[2730, Null], List[3583, Null], List[3756, Null], List[4267, Null], List[4917, Null], List[5551, Null], List[5698, Null], List[6084, Null], List[6842, Null], List[7196, Null], List[7104, Null], List[7342, Null], List[7700, Null], List[7817, Null], List[8650, Null]]", "msgs": [], "secs": 2.596} +{"i": 11, "status": "msg", "out": "ListPlot[List[Part[List[704, Null], 1, 1], Part[List[1000, Null], 1, 1], Part[List[1573, Null], 1, 1], Part[List[2026, Null], 1, 1], Part[List[2073, Null], 1, 1], Part[List[2730, Null], 1, 1], Part[List[3583, Null], 1, 1], Part[List[3756, Null], 1, 1], Part[List[4267, Null], 1, 1], Part[List[4917, Null], 1, 1], Part[List[5551, Null], 1, 1], Part[List[5698, Null], 1, 1], Part[List[6084, Null], 1, 1], Part[List[6842, Null], 1, 1], Part[List[7196, Null], 1, 1], Part[List[7104, Null], 1, 1], Part[List[7342, Null], 1, 1], Part[List[7700, Null], 1, 1], Part[List[7817, Null], 1, 1], Part[List[8650, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "\"Further output of `1` will be suppressed during this calculation.\"", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.337} +{"i": 12, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 13, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 14, "status": "ok", "out": "List[List[0, Null], List[1182, Null]]", "msgs": [], "secs": 0.021} +{"i": 15, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 16, "status": "ok", "out": "List[1974, Null]", "msgs": [], "secs": 0.036000000000000004} +{"i": 17, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 18, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ExpandGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) expands graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) to \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices by adding disconnected vertices. This is obsolete; use \\!\\(\\*RowBox[{\\\"AddVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) instead.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ExpandGraph, List[RuleDelayed[ExpandGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`n, Blank[]]], Condition[GraphUnion[Combinatorica`Private`g, EmptyGraph[Plus[Combinatorica`Private`n, Times[-1, V[Combinatorica`Private`g]]]]], LessEqual[V[Combinatorica`Private`g], Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ExpandGraph\"]], False]", "msgs": [], "secs": 0.149} +{"i": 19, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AddVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) adds \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) disconnected vertices to graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"AddVertices\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"vList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) adds vertices in \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) to \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"vList\\\", \\\"TI\\\"]\\) contains embedding and graphics information and can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) or \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\"}\\\"}]\\), and \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"y\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"}\\\"}]\\) are point coordinates and \\!\\(\\*SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\) and \\!\\(\\*SubscriptBox[StyleBox[\\\"g\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]\\) are graphics information associated with vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AddVertices, List[RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], GraphUnion[Combinatorica`Private`g, EmptyGraph[Combinatorica`Private`n]]], RuleDelayed[AddVertices[Graph[Pattern[Combinatorica`Private`e, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Pattern[Combinatorica`Private`p, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Graph[Combinatorica`Private`e, Join[Combinatorica`Private`v, Combinatorica`Private`p], Combinatorica`Private`opts]], RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`p, List[RepeatedNull[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]]]], AddVertices[Combinatorica`Private`g, Map[Function[List[Slot[1]]], Combinatorica`Private`p]]], RuleDelayed[AddVertices[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`p, List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]]]], AddVertices[Combinatorica`Private`g, List[Combinatorica`Private`p]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[...", "msgs": [], "secs": 0.129} +{"i": 20, "status": "ok", "out": "", "msgs": [], "secs": 0.023} +{"i": 21, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphIntersection\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphIntersection, List[RuleDelayed[GraphIntersection[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphIntersection[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Module[List[Set[Combinatorica`Private`e, Intersection[Edges[Combinatorica`Private`g], Edges[Combinatorica`Private`h]]]], ChangeEdges[Combinatorica`Private`g, Select[Edges[Combinatorica`Private`g, All], Function[MemberQ[Combinatorica`Private`e, First[Slot[1]]]]]]], And[Equal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]], Equal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]]], RuleDelayed[GraphIntersection[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`l, BlankSequence[Graph]]], GraphIntersection[GraphIntersection[Combinatorica`Private`g, Combinatorica`Private`h], Combinatorica`Private`l]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphIntersection\"]], False]", "msgs": [], "secs": 0.17400000000000002} +{"i": 22, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 23, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 24, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 25, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\""], "secs": 13.757} +{"i": 26, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 27, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\""], "secs": 0.267} +{"i": 28, "status": "ok", "out": "", "msgs": [], "secs": 0.78} +{"i": 29, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 30, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 31, "status": "timeout", "out": "$TimedOut", "msgs": [], "secs": 120.039} +{"i": 32, "status": "msg", "out": "ListPlot[List[Part[List[704, Null], 1, 1], Part[List[1000, Null], 1, 1], Part[List[1573, Null], 1, 1], Part[List[2026, Null], 1, 1], Part[List[2073, Null], 1, 1], Part[List[2730, Null], 1, 1], Part[List[3583, Null], 1, 1], Part[List[3756, Null], 1, 1], Part[List[4267, Null], 1, 1], Part[List[4917, Null], 1, 1], Part[List[5551, Null], 1, 1], Part[List[5698, Null], 1, 1], Part[List[6084, Null], 1, 1], Part[List[6842, Null], 1, 1], Part[List[7196, Null], 1, 1], Part[List[7104, Null], 1, 1], Part[List[7342, Null], 1, 1], Part[List[7700, Null], 1, 1], Part[List[7817, Null], 1, 1], Part[List[8650, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.541} +{"i": 33, "status": "ok", "out": "Null", "msgs": [], "secs": 0.131} +{"i": 34, "status": "ok", "out": "Null", "msgs": [], "secs": 0.073} +{"i": 35, "status": "ok", "out": "List[List[0, Null], List[13688, Null], List[596, Null]]", "msgs": [], "secs": 0.577} +{"i": 36, "status": "ok", "out": "Null", "msgs": [], "secs": 2.275} +{"i": 37, "status": "ok", "out": "Null", "msgs": [], "secs": 0.027} +{"i": 38, "status": "ok", "out": "List[List[0, Null], List[3, Null]]", "msgs": [], "secs": 0.0} +{"i": 39, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphDifference\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphDifference, List[RuleDelayed[GraphDifference[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Module[List[Set[Combinatorica`Private`e, Complement[Edges[Combinatorica`Private`g], Edges[Combinatorica`Private`h]]]], ChangeEdges[Combinatorica`Private`g, Select[Edges[Combinatorica`Private`g, All], Function[MemberQ[Combinatorica`Private`e, First[Slot[1]]]]]]], And[Equal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]], Or[And[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]], And[Not[UndirectedQ[Combinatorica`Private`g]], Not[UndirectedQ[Combinatorica`Private`h]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphDifference\"]], False]", "msgs": [], "secs": 0.358} +{"i": 40, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.001} +{"i": 41, "status": "ok", "out": "", "msgs": [], "secs": 0.03} +{"i": 42, "status": "ok", "out": "", "msgs": [], "secs": 0.056} +{"i": 43, "status": "ok", "out": "Null", "msgs": [], "secs": 0.01} +{"i": 44, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 45, "status": "ok", "out": "List[List[1, Null], List[1576, Null]]", "msgs": [], "secs": 0.027} +{"i": 46, "status": "ok", "out": "List[List[0, Null], List[2, Null]]", "msgs": [], "secs": 0.0} +{"i": 47, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphSum\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphSum, List[RuleDelayed[GraphSum[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphSum[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[ChangeEdges[Combinatorica`Private`g, Join[Edges[Combinatorica`Private`g, All], Edges[Combinatorica`Private`h, All]]], And[Equal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]], Equal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]]], RuleDelayed[GraphSum[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`l, BlankSequence[Graph]]], GraphSum[GraphSum[Combinatorica`Private`g, Combinatorica`Private`h], Combinatorica`Private`l]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphSum\"]], False]", "msgs": [], "secs": 0.10400000000000001} +{"i": 48, "status": "ok", "out": "", "msgs": [], "secs": 0.099} +{"i": 49, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 50, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 51, "status": "ok", "out": "", "msgs": [], "secs": 0.202} +{"i": 52, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 53, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 54, "status": "msg", "out": "", "msgs": ["\"GraphicsArray is obsolete. Switching to GraphicsGrid.\"", "\"Further output of `1` will be suppressed during this calculation.\""], "secs": 1.1380000000000001} +{"i": 55, "status": "ok", "out": "", "msgs": [], "secs": 0.06} +{"i": 56, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 57, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 58, "status": "ok", "out": "", "msgs": [], "secs": 0.014} +{"i": 59, "status": "ok", "out": "", "msgs": [], "secs": 0.023} +{"i": 60, "status": "ok", "out": "List[List[181, Null], List[120, Null], List[161, Null], List[240, Null], List[371, Null], List[384, Null], List[472, Null], List[570, Null], List[644, Null], List[582, Null], List[904, Null], List[945, Null], List[989, Null], List[931, Null], List[1020, Null], List[1208, Null], List[1218, Null], List[1276, Null], List[1343, Null], List[1445, Null]]", "msgs": [], "secs": 2.08} +{"i": 61, "status": "msg", "out": "ListPlot[List[Part[List[181, Null], 1, 1], Part[List[120, Null], 1, 1], Part[List[161, Null], 1, 1], Part[List[240, Null], 1, 1], Part[List[371, Null], 1, 1], Part[List[384, Null], 1, 1], Part[List[472, Null], 1, 1], Part[List[570, Null], 1, 1], Part[List[644, Null], 1, 1], Part[List[582, Null], 1, 1], Part[List[904, Null], 1, 1], Part[List[945, Null], 1, 1], Part[List[989, Null], 1, 1], Part[List[931, Null], 1, 1], Part[List[1020, Null], 1, 1], Part[List[1208, Null], 1, 1], Part[List[1218, Null], 1, 1], Part[List[1276, Null], 1, 1], Part[List[1343, Null], 1, 1], Part[List[1445, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.011} +{"i": 62, "status": "ok", "out": "Null", "msgs": [], "secs": 0.035} +{"i": 63, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 64, "status": "ok", "out": "List[List[1, Null], List[1, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 65, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphJoin\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphJoin, List[RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[AddEdges[GraphUnion[Combinatorica`Private`g, Combinatorica`Private`h], CartesianProduct[Range[V[Combinatorica`Private`g]], Plus[Range[V[Combinatorica`Private`h]], V[Combinatorica`Private`g]]]], Equal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]], RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`l, BlankSequence[Graph]]], GraphJoin[GraphJoin[Combinatorica`Private`g, Combinatorica`Private`h], Combinatorica`Private`l]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphJoin\"]], False]", "msgs": [], "secs": 0.551} +{"i": 66, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 67, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 68, "status": "ok", "out": "", "msgs": [], "secs": 0.017} +{"i": 69, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 70, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 71, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 72, "status": "ok", "out": "", "msgs": [], "secs": 0.013000000000000001} +{"i": 73, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 74, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphJoin\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphJoin, List[RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[AddEdges[GraphUnion[Combinatorica`Private`g, Combinatorica`Private`h], CartesianProduct[Range[V[Combinatorica`Private`g]], Plus[Range[V[Combinatorica`Private`h]], V[Combinatorica`Private`g]]]], Equal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]], RuleDelayed[GraphJoin[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`l, BlankSequence[Graph]]], GraphJoin[GraphJoin[Combinatorica`Private`g, Combinatorica`Private`h], Combinatorica`Private`l]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphJoin\"]], False]", "msgs": [], "secs": 0.084} +{"i": 75, "status": "ok", "out": "Null", "msgs": [], "secs": 0.027} +{"i": 76, "status": "ok", "out": "Null", "msgs": [], "secs": 0.249} +{"i": 77, "status": "msg", "out": "ListPlot[List[Part[List[294, Null], 1, 1], Part[List[871, Null], 1, 1], Part[List[1864, Null], 1, 1], Part[List[2782, Null], 1, 1], Part[List[3920, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 78, "status": "ok", "out": "Null", "msgs": [], "secs": 0.033} +{"i": 79, "status": "ok", "out": "Null", "msgs": [], "secs": 0.046} +{"i": 80, "status": "ok", "out": "List[List[1, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 81, "status": "ok", "out": "List[List[5, Null], List[1, Null]]", "msgs": [], "secs": 0.0} +{"i": 82, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GraphProduct\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphProduct, List[RuleDelayed[GraphProduct[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g], RuleDelayed[GraphProduct[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Graph[List[], List[]], Or[Equal[V[Combinatorica`Private`g], 0], Equal[V[Combinatorica`Private`h], 0]]]], RuleDelayed[GraphProduct[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[Module[List[Combinatorica`Private`k, Combinatorica`Private`i, Set[Combinatorica`Private`eg, Edges[Combinatorica`Private`g, All]], Set[Combinatorica`Private`eh, Edges[Combinatorica`Private`h, All]], Set[Combinatorica`Private`leng, V[Combinatorica`Private`g]], Set[Combinatorica`Private`lenh, V[Combinatorica`Private`h]]], Graph[Flatten[Join[Table[Map[Function[Prepend[Rest[Slot[1]], Plus[Part[Slot[1], 1], Times[Plus[Combinatorica`Private`i, -1], Combinatorica`Private`leng]]]], Combinatorica`Private`eg], List[Combinatorica`Private`i, Combinatorica`Private`lenh]], Map[Function[Table[Prepend[Rest[Slot[1]], Plus[Times[Combinatorica`Private`leng, Plus[Part[Slot[1], 1], -1]], Combinatorica`Private`k]], List[Combinatorica`Private`k, Combinatorica`Private`leng]]], Combinatorica`Private`eh]], 1], Map[Function[List[Slot[1]]], Combinatorica`Private`ProductVertices[Vertices[Combinatorica`Private`g], Vertices[Combinatorica`Private`h]]], Apply[Sequence, Options[Combinatorica`Private`g]]]], Equal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]], RuleDelayed[GraphProduct[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`l, BlankSequence[Graph]]], GraphProduct[GraphProduct[Combinatorica`Private`g, Combinatorica`Private`h], Combinatorica`Private`l]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphProduct\"]], False]", "msgs": [], "secs": 0.091} +{"i": 83, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 84, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 85, "status": "ok", "out": "", "msgs": [], "secs": 0.045} +{"i": 86, "status": "ok", "out": "", "msgs": [], "secs": 0.017} +{"i": 87, "status": "ok", "out": "", "msgs": [], "secs": 0.016} +{"i": 88, "status": "ok", "out": "", "msgs": [], "secs": 0.035} +{"i": 89, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 90, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 91, "status": "ok", "out": "", "msgs": [], "secs": 0.08600000000000001} +{"i": 92, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 93, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 94, "status": "ok", "out": "", "msgs": [], "secs": 0.06} +{"i": 95, "status": "ok", "out": "List[List[963, Null], List[3966, Null], List[8117, Null], List[13380, Null], List[21366, Null], List[26950, Null], List[37530, Null], List[48517, Null], List[63756, Null], List[41615, Null]]", "msgs": [], "secs": 7.543} +{"i": 96, "status": "ok", "out": "Null", "msgs": [], "secs": 1.3920000000000001} +{"i": 97, "status": "ok", "out": "222500", "msgs": [], "secs": 0.007} +{"i": 98, "status": "ok", "out": "62500", "msgs": [], "secs": 0.0} +{"i": 99, "status": "msg", "out": "ListPlot[List[Part[List[963, Null], 1, 1], Part[List[3966, Null], 1, 1], Part[List[8117, Null], 1, 1], Part[List[13380, Null], 1, 1], Part[List[21366, Null], 1, 1], Part[List[26950, Null], 1, 1], Part[List[37530, Null], 1, 1], Part[List[48517, Null], 1, 1], Part[List[63756, Null], 1, 1], Part[List[41615, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.019} +{"i": 100, "status": "ok", "out": "Null", "msgs": [], "secs": 0.011} +{"i": 101, "status": "ok", "out": "Null", "msgs": [], "secs": 0.043000000000000003} +{"i": 102, "status": "ok", "out": "List[8, Null]", "msgs": [], "secs": 0.0} +{"i": 103, "status": "ok", "out": "V[GraphProduct[Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[10, 11]], List[List[11, 12]], List[List[12, 13]], List[List[13, 14]], List[List[14, 15]], List[List[15, 16]], List[List[16, 17]], List[List[17, 18]], List[List[18, 19]], List[List[19, 20]], List[List[20, 21]], List[List[21, 22]], List[List[22, 23]], List[List[23, 24]], List[List[24, 25]], List[List[25, 26]], List[List[26, 27]], List[List[27, 28]], List[List[28, 29]], List[List[29, 30]], List[List[30, 31]], List[List[31, 32]], List[List[32, 33]], List[List[33, 34]], List[List[34, 35]], List[List[35, 36]], List[List[36, 37]], List[List[37, 38]], List[List[38, 39]], List[List[39, 40]], List[List[40, 41]], List[List[41, 42]], List[List[42, 43]], List[List[43, 44]], List[List[44, 45]], List[List[45, 46]], List[List[46, 47]], List[List[47, 48]], List[List[48, 49]], List[List[49, 50]], List[List[50, 51]], List[List[51, 52]], List[List[52, 53]], List[List[53, 54]], List[List[54, 55]], List[List[55, 56]], List[List[56, 57]], List[List[57, 58]], List[List[58, 59]], List[List[59, 60]], List[List[60, 61]], List[List[61, 62]], List[List[62, 63]], List[List[63, 64]], List[List[64, 65]], List[List[65, 66]], List[List[66, 67]], List[List[67, 68]], List[List[68, 69]], List[List[69, 70]], List[List[70, 71]], List[List[71, 72]], List[List[72, 73]], List[List[73, 74]], List[List[74, 75]], List[List[75, 76]], List[List[76, 77]], List[List[77, 78]], List[List[78, 79]], List[List[79, 80]], List[List[80, 81]], List[List[81, 82]], List[List[82, 83]], List[List[83, 84]], List[List[84, 85]], List[List[85, 86]], List[List[86, 87]], List[List[87, 88]], List[List[88, 89]], List[List[89, 90]], List[List[90, 91]], List[List[91, 92]], List[List[92, 93]], List[List[93, 94]], List[List[94, 95]], List[List[95, 96]], List[List[96, 97]], List[List[97, 98]], List[List[98, 99]], List[List[99, 100]], List[List[1, 100]]], List[List[List[99803, 6279]], List[List[99211, 12533]], List[List[98229, 18738]], List[List[96858, 24869]], List[List[95106, 30902]], List[List[92978, 36812]], List[List[90483, 42578]], List[List[87631, 48175]], List[List[84433, 53583]], List[List[80902, 58779]], List[List[77051, 63742]], List[List[72897, 68455]], List[List[68455, 72897]], List[List[63742, 77051]], List[List[58779, 80902]], List[List[53583, 84433]], List[List[48175, 87631]], List[List[42578, 90483]], List[List[36812, 92978]], List[List[30902, 95106]], List[List[24869, 96858]], List[List[18738, 98229]], List[List[12533, 99211]], List[List[6279, 99803]], List[List[0, 100000]], List[List[-6279, 99803]], List[List[-12533, 99211]], List[List[-18738, 98229]], List[List[-24869, 96858]], List[List[-30902, 95106]], List[List[-36812, 92978]], List[List[-42578, 90483]], List[List[-48175, 87631]], List[List[-53583, 84433]], List[List[-58779, 80902]], List[List[-63742, 77051]], List[List[-68455, 72897]], List[List[-72897, 68455]], List[List[-77051, 63742]], List[List[-80902, 58779]], List[List[-84433, 53583]], List[List[-87631, 48175]], List[List[-90483, 42578]], List[List[-92978, 36812]], List[List[-95106, 30902]], List[List[-96858, 24869]], List[List[-98229, 18738]], List[List[-99211, 12533]], List[List[-99803, 6279]], List[List[-100000, 0]], List[List[-99803, -6279]], List[List[-99211, -12533]], List[List[-98229, -18738]], List[List[-96858, -24869]], List[List[-95106, -30902]], List[List[-92978, -36812]], List[List[-90483, -42578]], List[List[-87631, -48175]], List[List[-84433, -53583]], List[List[-80902, -58779]], List[List[-77051, -63742]], List[List[-72897, -68455]], List[List[-68455, -72897]], List[List[-63742, -77051]], List[List[-58779, -80902]], List[List[-53583, -84433]], List[List[-48175, -87631]], List[List[-42578, -90483]], List[List[-36812, -92978]], List[List[-30902, -95106]], List[List[-24869, -96858]], List[List[-18738, -98229]], List[List[-12533, -99211]], List[List[-6279, -99803]],...", "msgs": [], "secs": 0.0} +{"i": 104, "status": "ok", "out": "M[GraphProduct[Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[10, 11]], List[List[11, 12]], List[List[12, 13]], List[List[13, 14]], List[List[14, 15]], List[List[15, 16]], List[List[16, 17]], List[List[17, 18]], List[List[18, 19]], List[List[19, 20]], List[List[20, 21]], List[List[21, 22]], List[List[22, 23]], List[List[23, 24]], List[List[24, 25]], List[List[25, 26]], List[List[26, 27]], List[List[27, 28]], List[List[28, 29]], List[List[29, 30]], List[List[30, 31]], List[List[31, 32]], List[List[32, 33]], List[List[33, 34]], List[List[34, 35]], List[List[35, 36]], List[List[36, 37]], List[List[37, 38]], List[List[38, 39]], List[List[39, 40]], List[List[40, 41]], List[List[41, 42]], List[List[42, 43]], List[List[43, 44]], List[List[44, 45]], List[List[45, 46]], List[List[46, 47]], List[List[47, 48]], List[List[48, 49]], List[List[49, 50]], List[List[50, 51]], List[List[51, 52]], List[List[52, 53]], List[List[53, 54]], List[List[54, 55]], List[List[55, 56]], List[List[56, 57]], List[List[57, 58]], List[List[58, 59]], List[List[59, 60]], List[List[60, 61]], List[List[61, 62]], List[List[62, 63]], List[List[63, 64]], List[List[64, 65]], List[List[65, 66]], List[List[66, 67]], List[List[67, 68]], List[List[68, 69]], List[List[69, 70]], List[List[70, 71]], List[List[71, 72]], List[List[72, 73]], List[List[73, 74]], List[List[74, 75]], List[List[75, 76]], List[List[76, 77]], List[List[77, 78]], List[List[78, 79]], List[List[79, 80]], List[List[80, 81]], List[List[81, 82]], List[List[82, 83]], List[List[83, 84]], List[List[84, 85]], List[List[85, 86]], List[List[86, 87]], List[List[87, 88]], List[List[88, 89]], List[List[89, 90]], List[List[90, 91]], List[List[91, 92]], List[List[92, 93]], List[List[93, 94]], List[List[94, 95]], List[List[95, 96]], List[List[96, 97]], List[List[97, 98]], List[List[98, 99]], List[List[99, 100]], List[List[1, 100]]], List[List[List[99803, 6279]], List[List[99211, 12533]], List[List[98229, 18738]], List[List[96858, 24869]], List[List[95106, 30902]], List[List[92978, 36812]], List[List[90483, 42578]], List[List[87631, 48175]], List[List[84433, 53583]], List[List[80902, 58779]], List[List[77051, 63742]], List[List[72897, 68455]], List[List[68455, 72897]], List[List[63742, 77051]], List[List[58779, 80902]], List[List[53583, 84433]], List[List[48175, 87631]], List[List[42578, 90483]], List[List[36812, 92978]], List[List[30902, 95106]], List[List[24869, 96858]], List[List[18738, 98229]], List[List[12533, 99211]], List[List[6279, 99803]], List[List[0, 100000]], List[List[-6279, 99803]], List[List[-12533, 99211]], List[List[-18738, 98229]], List[List[-24869, 96858]], List[List[-30902, 95106]], List[List[-36812, 92978]], List[List[-42578, 90483]], List[List[-48175, 87631]], List[List[-53583, 84433]], List[List[-58779, 80902]], List[List[-63742, 77051]], List[List[-68455, 72897]], List[List[-72897, 68455]], List[List[-77051, 63742]], List[List[-80902, 58779]], List[List[-84433, 53583]], List[List[-87631, 48175]], List[List[-90483, 42578]], List[List[-92978, 36812]], List[List[-95106, 30902]], List[List[-96858, 24869]], List[List[-98229, 18738]], List[List[-99211, 12533]], List[List[-99803, 6279]], List[List[-100000, 0]], List[List[-99803, -6279]], List[List[-99211, -12533]], List[List[-98229, -18738]], List[List[-96858, -24869]], List[List[-95106, -30902]], List[List[-92978, -36812]], List[List[-90483, -42578]], List[List[-87631, -48175]], List[List[-84433, -53583]], List[List[-80902, -58779]], List[List[-77051, -63742]], List[List[-72897, -68455]], List[List[-68455, -72897]], List[List[-63742, -77051]], List[List[-58779, -80902]], List[List[-53583, -84433]], List[List[-48175, -87631]], List[List[-42578, -90483]], List[List[-36812, -92978]], List[List[-30902, -95106]], List[List[-24869, -96858]], List[List[-18738, -98229]], List[List[-12533, -99211]], List[List[-6279, -99803]],...", "msgs": [], "secs": 0.0} +{"i": 105, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 106, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 107, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 108, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 109, "status": "ok", "out": "List[List[0, Null], List[2, Null]]", "msgs": [], "secs": 0.0} +{"i": 110, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`IncidenceMatrix\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IncidenceMatrix, List[RuleDelayed[IncidenceMatrix[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], Combinatorica`Private`i, Combinatorica`Private`j], If[UndirectedQ[Combinatorica`Private`g], Table[If[MemberQ[Part[Combinatorica`Private`e, Combinatorica`Private`j], Combinatorica`Private`i], 1, 0], List[Combinatorica`Private`i, V[Combinatorica`Private`g]], List[Combinatorica`Private`j, M[Combinatorica`Private`g]]], Table[If[SameQ[Combinatorica`Private`i, First[Part[Combinatorica`Private`e, Combinatorica`Private`j]]], 1, 0], List[Combinatorica`Private`i, V[Combinatorica`Private`g]], List[Combinatorica`Private`j, M[Combinatorica`Private`g]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IncidenceMatrix\"]], False]", "msgs": [], "secs": 0.468} +{"i": 111, "status": "ok", "out": "MatrixForm[List[List[1, 0, 0, 0, 0, 0, 0, 0, 0], List[0, 1, 0, 0, 0, 0, 0, 0, 0], List[0, 0, 1, 0, 0, 0, 0, 0, 0], List[0, 0, 0, 1, 0, 0, 0, 0, 0], List[0, 0, 0, 0, 1, 0, 0, 0, 0], List[0, 0, 0, 0, 0, 1, 0, 0, 0], List[0, 0, 0, 0, 0, 0, 1, 0, 0], List[0, 0, 0, 0, 0, 0, 0, 1, 0], List[0, 0, 0, 0, 0, 0, 0, 0, 1], List[1, 1, 1, 1, 1, 1, 1, 1, 1]]]", "msgs": [], "secs": 0.002} +{"i": 112, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.158} +{"i": 113, "status": "timeout", "out": "$TimedOut", "msgs": [], "secs": 122.44800000000001} +{"i": 114, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`LineGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, LineGraph, List[RuleDelayed[LineGraph[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, Sort[Edges[Combinatorica`Private`g]]], Combinatorica`Private`ef, Combinatorica`Private`eb, Combinatorica`Private`c, Combinatorica`Private`i, Combinatorica`Private`j, Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g]]], CompoundExpression[Set[Combinatorica`Private`ef, Combinatorica`Private`GroupEdgePositions[Combinatorica`Private`e, V[Combinatorica`Private`g]]], Set[Combinatorica`Private`eb, Combinatorica`Private`GroupEdgePositions[Map[Reverse, Combinatorica`Private`e], V[Combinatorica`Private`g]]], Set[Combinatorica`Private`c, Table[Rest[Union[Part[Combinatorica`Private`ef, Combinatorica`Private`i], Part[Combinatorica`Private`eb, Combinatorica`Private`i]]], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]], Graph[Union[Flatten[Map[Function[Table[List[List[Part[Slot[1], Combinatorica`Private`i], Part[Slot[1], Combinatorica`Private`j]]], List[Combinatorica`Private`i, Plus[Length[Slot[1]], -1]], List[Combinatorica`Private`j, Plus[Combinatorica`Private`i, 1], Length[Slot[1]]]]], Combinatorica`Private`c], 2]], Map[Function[List[Times[Plus[Part[Combinatorica`Private`v, Part[Slot[1], 1]], Part[Combinatorica`Private`v, Part[Slot[1], 2]]], Power[2, -1]]]], Combinatorica`Private`e]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`LineGraph\"]], False]", "msgs": [], "secs": 0.34} +{"i": 115, "status": "ok", "out": "", "msgs": [], "secs": 0.03} +{"i": 116, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 117, "status": "ok", "out": "", "msgs": [], "secs": 0.083} +{"i": 118, "status": "ok", "out": "Null", "msgs": [], "secs": 0.017} +{"i": 119, "status": "ok", "out": "List[List[0, Null], List[2285, Null]]", "msgs": [], "secs": 0.061} +{"i": 120, "status": "ok", "out": "List[List[564, Null], List[1587, Null], List[2014, Null], List[2459, Null], List[3238, Null], List[3828, Null], List[4763, Null], List[5251, Null], List[6071, Null], List[6610, Null], List[8491, Null], List[10590, Null], List[10622, Null], List[12176, Null], List[13877, Null]]", "msgs": [], "secs": 1.493} +{"i": 121, "status": "msg", "out": "ListPlot[List[Part[List[564, Null], 1, 1], Part[List[1587, Null], 1, 1], Part[List[2014, Null], 1, 1], Part[List[2459, Null], 1, 1], Part[List[3238, Null], 1, 1], Part[List[3828, Null], 1, 1], Part[List[4763, Null], 1, 1], Part[List[5251, Null], 1, 1], Part[List[6071, Null], 1, 1], Part[List[6610, Null], 1, 1], Part[List[8491, Null], 1, 1], Part[List[10590, Null], 1, 1], Part[List[10622, Null], 1, 1], Part[List[12176, Null], 1, 1], Part[List[13877, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.004} +{"i": 122, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`CirculantGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CirculantGraph, List[RuleDelayed[CirculantGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`l, Blank[Integer]]], CirculantGraph[Combinatorica`Private`n, List[Combinatorica`Private`l]]], RuleDelayed[CirculantGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`l, List[RepeatedNull[Blank[Integer]]]]], Graph[Union[Flatten[Table[Map[Function[List[Plus[Sort[List[Combinatorica`Private`i, Mod[Plus[Combinatorica`Private`i, Slot[1]], Combinatorica`Private`n]]], 1]]], Combinatorica`Private`l], List[Combinatorica`Private`i, 0, Plus[Combinatorica`Private`n, -1]]], 1], Flatten[Table[Map[Function[List[Plus[Sort[List[Combinatorica`Private`i, Mod[Plus[Combinatorica`Private`i, Times[-1, Slot[1]]], Combinatorica`Private`n]]], 1]]], Combinatorica`Private`l], List[Combinatorica`Private`i, 0, Plus[Combinatorica`Private`n, -1]]], 1]], CircularEmbedding[Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CirculantGraph\"]], False]", "msgs": [], "secs": 0.139} +{"i": 123, "status": "ok", "out": "", "msgs": [], "secs": 0.033} +{"i": 124, "status": "ok", "out": "", "msgs": [], "secs": 0.024} +{"i": 125, "status": "ok", "out": "", "msgs": [], "secs": 0.022} +{"i": 126, "status": "ok", "out": "List[List[1, 2], List[1, 3], List[1, 4], List[1, 5], List[2, 3], List[2, 4], List[2, 5], List[3, 4], List[3, 5], List[4, 5]]", "msgs": [], "secs": 0.001} +{"i": 127, "status": "ok", "out": "10", "msgs": [], "secs": 0.0} +{"i": 128, "status": "ok", "out": "List[List[1, 2], List[1, 3], List[1, 4], List[2, 3], List[2, 4], List[3, 4]]", "msgs": [], "secs": 0.0} +{"i": 129, "status": "ok", "out": "6", "msgs": [], "secs": 0.0} +{"i": 130, "status": "ok", "out": "List[List[0, Null], List[1973, Null]]", "msgs": [], "secs": 0.055} +{"i": 131, "status": "ok", "out": "Null", "msgs": [], "secs": 0.008} +{"i": 132, "status": "ok", "out": "List[List[742, Null], List[346, Null], List[322, Null], List[538, Null], List[747, Null], List[967, Null], List[941, Null], List[1083, Null], List[1355, Null], List[1451, Null], List[1681, Null], List[1760, Null], List[1938, Null], List[1823, Null], List[2246, Null], List[2450, Null], List[2433, Null], List[2391, Null], List[2667, Null], List[2826, Null]]", "msgs": [], "secs": 0.39} +{"i": 133, "status": "msg", "out": "ListPlot[List[Part[List[742, Null], 1, 1], Part[List[346, Null], 1, 1], Part[List[322, Null], 1, 1], Part[List[538, Null], 1, 1], Part[List[747, Null], 1, 1], Part[List[967, Null], 1, 1], Part[List[941, Null], 1, 1], Part[List[1083, Null], 1, 1], Part[List[1355, Null], 1, 1], Part[List[1451, Null], 1, 1], Part[List[1681, Null], 1, 1], Part[List[1760, Null], 1, 1], Part[List[1938, Null], 1, 1], Part[List[1823, Null], 1, 1], Part[List[2246, Null], 1, 1], Part[List[2450, Null], 1, 1], Part[List[2433, Null], 1, 1], Part[List[2391, Null], 1, 1], Part[List[2667, Null], 1, 1], Part[List[2826, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 134, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`CompleteGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CompleteGraph, List[RuleDelayed[CompleteGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[CompleteGraph]]]]]], If[SameQ[Combinatorica`Private`type, Undirected], Combinatorica`Private`CG[Combinatorica`Private`n], Combinatorica`Private`CDG[Combinatorica`Private`n]]], GreaterEqual[Combinatorica`Private`n, 0]]], RuleDelayed[CompleteGraph[Pattern[Combinatorica`Private`l, BlankSequence[]]], Condition[CompleteKPartiteGraph[Combinatorica`Private`l], And[TrueQ[Apply[And, Map[Positive, List[Combinatorica`Private`l]]]], Greater[Length[List[Combinatorica`Private`l]], 1]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CompleteGraph\"]], False]", "msgs": [], "secs": 0.10300000000000001} +{"i": 135, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 136, "status": "ok", "out": "List[List[415, Null], List[392, Null], List[394, Null], List[452, Null], List[514, Null], List[567, Null], List[605, Null], List[687, Null], List[811, Null], List[890, Null], List[978, Null], List[1014, Null], List[1203, Null], List[1274, Null], List[1301, Null], List[1579, Null], List[1764, Null], List[1662, Null], List[2282, Null], List[2369, Null], List[2629, Null], List[2652, Null], List[2878, Null], List[2727, Null], List[2830, Null], List[3184, Null], List[3485, Null], List[3831, Null], List[3844, Null], List[3858, Null]]", "msgs": [], "secs": 0.65} +{"i": 137, "status": "msg", "out": "ListPlot[List[List[5995, Part[List[List[415, Null], List[392, Null], List[394, Null], List[452, Null], List[514, Null], List[567, Null], List[605, Null], List[687, Null], List[811, Null], List[890, Null], List[978, Null], List[1014, Null], List[1203, Null], List[1274, Null], List[1301, Null], List[1579, Null], List[1764, Null], List[1662, Null], List[2282, Null], List[2369, Null], List[2629, Null], List[2652, Null], List[2878, Null], List[2727, Null], List[2830, Null], List[3184, Null], List[3485, Null], List[3831, Null], List[3844, Null], List[3858, Null]], 1, 1, 1]], List[7140, Part[List[List[415, Null], List[392, Null], List[394, Null], List[452, Null], List[514, Null], List[567, Null], List[605, Null], List[687, Null], List[811, Null], List[890, Null], List[978, Null], List[1014, Null], List[1203, Null], List[1274, Null], List[1301, Null], List[1579, Null], List[1764, Null], List[1662, Null], List[2282, Null], List[2369, Null], List[2629, Null], List[2652, Null], List[2878, Null], List[2727, Null], List[2830, Null], List[3184, Null], List[3485, Null], List[3831, Null], List[3844, Null], List[3858, Null]], 2, 1, 1]], List[8385, Part[List[List[415, Null], List[392, Null], List[394, Null], List[452, Null], List[514, Null], List[567, Null], List[605, Null], List[687, Null], List[811, Null], List[890, Null], List[978, Null], List[1014, Null], List[1203, Null], List[1274, Null], List[1301, Null], List[1579, Null], List[1764, Null], List[1662, Null], List[2282, Null], List[2369, Null], List[2629, Null], List[2652, Null], List[2878, Null], List[2727, Null], List[2830, Null], List[3184, Null], List[3485, Null], List[3831, Null], List[3844, Null], List[3858, Null]], 3, 1, 1]], List[9730, Part[List[List[415, Null], List[392, Null], List[394, Null], List[452, Null], List[514, Null], List[567, Null], List[605, Null], List[687, Null], List[811, Null], List[890, Null], List[978, Null], List[1014, Null], List[1203, Null], List[1274, Null], List[1301, Null], List[1579, Null], List[1764, Null], List[1662, Null], List[2282, Null], List[2369, Null], List[2629, Null], List[2652, Null], List[2878, Null], List[2727, Null], List[2830, Null], List[3184, Null], List[3485, Null], List[3831, Null], List[3844, Null], List[3858, Null]], 4, 1, 1]], List[11175, Part[List[List[415, Null], List[392, Null], List[394, Null], List[452, Null], List[514, Null], List[567, Null], List[605, Null], List[687, Null], List[811, Null], List[890, Null], List[978, Null], List[1014, Null], List[1203, Null], List[1274, Null], List[1301, Null], List[1579, Null], List[1764, Null], List[1662, Null], List[2282, Null], List[2369, Null], List[2629, Null], List[2652, Null], List[2878, Null], List[2727, Null], List[2830, Null], List[3184, Null], List[3485, Null], List[3831, Null], List[3844, Null], List[3858, Null]], 5, 1, 1]], List[12720, Part[List[List[415, Null], List[392, Null], List[394, Null], List[452, Null], List[514, Null], List[567, Null], List[605, Null], List[687, Null], List[811, Null], List[890, Null], List[978, Null], List[1014, Null], List[1203, Null], List[1274, Null], List[1301, Null], List[1579, Null], List[1764, Null], List[1662, Null], List[2282, Null], List[2369, Null], List[2629, Null], List[2652, Null], List[2878, Null], List[2727, Null], List[2830, Null], List[3184, Null], List[3485, Null], List[3831, Null], List[3844, Null], List[3858, Null]], 6, 1, 1]], List[14365, Part[List[List[415, Null], List[392, Null], List[394, Null], List[452, Null], List[514, Null], List[567, Null], List[605, Null], List[687, Null], List[811, Null], List[890, Null], List[978, Null], List[1014, Null], List[1203, Null], List[1274, Null], List[1301, Null], List[1579, Null], List[1764, Null], List[1662, Null], List[2282, Null], List[2369, Null], List[2629, Null], List[2652, Null], List[2878, Null], List[2727, Null], List[2830, Null], List[3184, Null], List[3485, Null], List[3831, Null], List[3844, Null], List[3858, Null]], 7, 1, 1]], List[16110, Part[List[List[415, Null], List[392, ...", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.007} +{"i": 138, "status": "ok", "out": "List[List[0, Null], List[1103, Null]]", "msgs": [], "secs": 0.012} +{"i": 139, "status": "ok", "out": "List[List[0, Null], List[4967, Null]]", "msgs": [], "secs": 0.062} +{"i": 140, "status": "ok", "out": "", "msgs": [], "secs": 0.015} +{"i": 141, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 142, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ShakeGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) performs a random perturbation of the vertices of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), with each vertex moving, at most, a distance \\!\\(\\*StyleBox[\\\"d\\\", \\\"TI\\\"]\\) from its original position.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ShakeGraph, List[RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]]], ShakeGraph[Combinatorica`Private`g, Combinatorica`Private`s, Round[Times[Power[10, 5], 0.1`]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]]], ShakeGraph[Combinatorica`Private`g, Round[Times[Power[10, 5], 0.1`]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`s, Blank[List]], PatternTest[Pattern[Combinatorica`Private`fract, Blank[]], NumericQ]], Module[List[Combinatorica`Private`i, Combinatorica`Private`d, Combinatorica`Private`a, Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]]], CompoundExpression[Set[Part[Combinatorica`Private`v, Combinatorica`Private`s], Map[Function[CompoundExpression[Set[Combinatorica`Private`d, RandomReal[Combinatorica`Private`fract]], Set[Combinatorica`Private`a, RandomReal[Times[2, N[Pi]]]], Prepend[Rest[Slot[1]], Plus[First[Slot[1]], List[N[Times[Combinatorica`Private`d, Cos[Combinatorica`Private`a]]], N[Times[Combinatorica`Private`d, Sin[Combinatorica`Private`a]]]]]]]], Part[Combinatorica`Private`v, Combinatorica`Private`s]]], ChangeVertices[Combinatorica`Private`g, Combinatorica`Private`v]]]], RuleDelayed[ShakeGraph[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`fract, Blank[]], NumericQ]], ShakeGraph[Combinatorica`Private`g, Range[V[Combinatorica`Private`g]], Combinatorica`Private`fract]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ShakeGraph\"]], False]", "msgs": [], "secs": 0.047} +{"i": 143, "status": "ok", "out": "", "msgs": [], "secs": 0.017} +{"i": 144, "status": "ok", "out": "List[12097, Null]", "msgs": [], "secs": 0.14100000000000001} +{"i": 145, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 146, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EmptyGraph\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) generates an empty graph on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices. An option Type that can take on values Directed or Undirected is provided. The default setting is \\!\\(\\*RowBox[{\\\"Type\\\", \\\"->\\\", \\\"Undirected\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EmptyGraph, List[RuleDelayed[EmptyGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[EmptyGraph]]]]]], If[SameQ[Combinatorica`Private`type, Undirected], Combinatorica`Private`EG[Combinatorica`Private`n], Combinatorica`Private`EDG[Combinatorica`Private`n]]], GreaterEqual[Combinatorica`Private`n, 0]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EmptyGraph\"]], False]", "msgs": [], "secs": 0.091} +{"i": 147, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 148, "status": "ok", "out": "DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`EmptyGraph[10]]", "msgs": [], "secs": 0.0} +{"i": 149, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Turan\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"p\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs the Tur\\[AAcute]n graph, the extremal graph on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices that does not contain \\!\\(\\*RowBox[{\\\"CompleteGraph\\\", \\\"[\\\", StyleBox[\\\"p\\\", \\\"TI\\\"], \\\"]\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Turan, List[RuleDelayed[Turan[Pattern[Combinatorica`Private`n, Blank[Integer]], 2], Condition[GraphUnion[Combinatorica`Private`n, CompleteGraph[1]], Greater[Combinatorica`Private`n, 0]]], RuleDelayed[Turan[Pattern[Combinatorica`Private`n, Blank[Integer]], Pattern[Combinatorica`Private`p, Blank[Integer]]], Condition[Module[List[Set[Combinatorica`Private`k, Floor[Times[Combinatorica`Private`n, Power[Plus[Combinatorica`Private`p, -1], -1]]]], Combinatorica`Private`r], CompoundExpression[Set[Combinatorica`Private`r, Plus[Combinatorica`Private`n, Times[-1, Combinatorica`Private`k, Plus[Combinatorica`Private`p, -1]]]], Apply[CompleteGraph, Join[Table[Combinatorica`Private`k, List[Plus[Combinatorica`Private`p, -1, Times[-1, Combinatorica`Private`r]]]], Table[Plus[Combinatorica`Private`k, 1], List[Combinatorica`Private`r]]]]]], And[GreaterEqual[Combinatorica`Private`n, Combinatorica`Private`p], Greater[Combinatorica`Private`p, 2]]]], RuleDelayed[Turan[Pattern[Combinatorica`Private`n, Blank[Integer]], Pattern[Combinatorica`Private`p, Blank[Integer]]], Condition[CompleteGraph[Combinatorica`Private`n], And[Less[Combinatorica`Private`n, Combinatorica`Private`p], Greater[Combinatorica`Private`p, 2]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Turan\"]], False]", "msgs": [], "secs": 0.066} +{"i": 150, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 151, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 152, "status": "ok", "out": "List[List[27707, Null], List[39375, Null], List[55860, Null], List[69445, Null], List[97006, Null], List[114472, Null]]", "msgs": [], "secs": 7.1850000000000005} +{"i": 153, "status": "ok", "out": "BoxData[RowBox[List[\"ListPlot\", \"[\", \" \", RowBox[List[\"Table\", \"[\", RowBox[List[RowBox[List[\"{\", RowBox[List[RowBox[List[\"M\", \"[\", \" \", RowBox[List[\"gt\", \"[\", RowBox[List[\"[\", \"i\", \"]\"]], \"]\"]], \" \", \"]\"]], \",\", \" \", RowBox[List[\"rt\", \"[\", RowBox[List[\"[\", \" \", \"i\", \"-\", \"4\", \",\", \" \", \"1\", \",\", \" \", \"1\", \" \", \"]\"]], \"]\"]], \" \"]], \"}\"]], \",\", \" \", RowBox[List[\"{\", RowBox[List[\"i\", \",\", \" \", \"5\", \",\", \" \", \"10\"]], \"}\"]]]], \"]\"]], \",\", \" \", RowBox[List[\"PlotJoined\", \"->\", \"True\"]], \",\", \" \", RowBox[List[\"ImageSize\", \"->\", \"400\"]], \"]\"]]]", "msgs": [], "secs": 0.0} +{"i": 154, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[2, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 155, "status": "ok", "out": "Null", "msgs": [], "secs": 0.017} +{"i": 156, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Cycle\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs the cycle on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices, the 2-regular connected graph. An option Type that takes on values Directed or Undirected is allowed. The default setting is \\!\\(\\*RowBox[{\\\"Type\\\", \\\"->\\\", \\\"Undirected\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Cycle, List[RuleDelayed[Cycle[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[Cycle]]]]], Set[Combinatorica`Private`e, Table[List[List[Combinatorica`Private`i, Plus[Combinatorica`Private`i, 1]]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -1]]]], Set[Combinatorica`Private`c, CircularEmbedding[Combinatorica`Private`n]]], If[SameQ[Combinatorica`Private`type, Undirected], Graph[Append[Combinatorica`Private`e, List[List[1, Combinatorica`Private`n]]], Combinatorica`Private`c], Graph[Append[Combinatorica`Private`e, List[List[Combinatorica`Private`n, 1]]], Combinatorica`Private`c, Rule[EdgeDirection, True]]]], GreaterEqual[Combinatorica`Private`n, 2]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Cycle\"]], False]", "msgs": [], "secs": 0.082} +{"i": 157, "status": "ok", "out": "", "msgs": [], "secs": 0.014} +{"i": 158, "status": "ok", "out": "List[List[0, Null], List[187, Null]]", "msgs": [], "secs": 0.003} +{"i": 159, "status": "ok", "out": "List[2876, Null]", "msgs": [], "secs": 0.037} +{"i": 160, "status": "ok", "out": "List[List[72, Null], List[82, Null], List[134, Null], List[173, Null], List[199, Null], List[273, Null], List[305, Null], List[356, Null], List[386, Null], List[380, Null], List[437, Null], List[492, Null], List[578, Null], List[528, Null], List[635, Null], List[651, Null], List[706, Null], List[761, Null], List[715, Null], List[750, Null]]", "msgs": [], "secs": 0.11800000000000001} +{"i": 161, "status": "msg", "out": "ListPlot[List[Part[List[72, Null], 1, 1], Part[List[82, Null], 1, 1], Part[List[134, Null], 1, 1], Part[List[173, Null], 1, 1], Part[List[199, Null], 1, 1], Part[List[273, Null], 1, 1], Part[List[305, Null], 1, 1], Part[List[356, Null], 1, 1], Part[List[386, Null], 1, 1], Part[List[380, Null], 1, 1], Part[List[437, Null], 1, 1], Part[List[492, Null], 1, 1], Part[List[578, Null], 1, 1], Part[List[528, Null], 1, 1], Part[List[635, Null], 1, 1], Part[List[651, Null], 1, 1], Part[List[706, Null], 1, 1], Part[List[761, Null], 1, 1], Part[List[715, Null], 1, 1], Part[List[750, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.003} +{"i": 162, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Star\\\", \\\"[\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) displays as \\!\\(\\*RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"\\[Star]\\\", StyleBox[\\\"y\\\", \\\"TI\\\"], \\\"\\[Star]\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\). Star[n] constructs a star on n vertices, which is a tree with one vertex of degree n-1.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Star.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Star, List[RuleDelayed[Star[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Graph[Table[List[List[Combinatorica`Private`i, Combinatorica`Private`n]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -1]]], Append[CircularEmbedding[Plus[Combinatorica`Private`n, -1]], List[List[0, 0]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"System`Star\"]], False]", "msgs": [], "secs": 0.055} +{"i": 163, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 164, "status": "ok", "out": "List[List[0, Null], List[122, Null]]", "msgs": [], "secs": 0.002} +{"i": 165, "status": "ok", "out": "List[List[0, Null], List[218, Null]]", "msgs": [], "secs": 0.003} +{"i": 166, "status": "ok", "out": "Null", "msgs": [], "secs": 1.03} +{"i": 167, "status": "msg", "out": "ListPlot[List[Part[List[31, Null], 1, 1], Part[List[60, Null], 1, 1], Part[List[89, Null], 1, 1], Part[List[45, Null], 1, 1], Part[List[50, Null], 1, 1], Part[List[75, Null], 1, 1], Part[List[111, Null], 1, 1], Part[List[127, Null], 1, 1], Part[List[124, Null], 1, 1], Part[List[121, Null], 1, 1], Part[List[177, Null], 1, 1], Part[List[147, Null], 1, 1], Part[List[199, Null], 1, 1], Part[List[194, Null], 1, 1], Part[List[170, Null], 1, 1], Part[List[199, Null], 1, 1], Part[List[238, Null], 1, 1], Part[List[277, Null], 1, 1], Part[List[188, Null], 1, 1], Part[List[229, Null], 1, 1], Part[List[271, Null], 1, 1], Part[List[231, Null], 1, 1], Part[List[263, Null], 1, 1], Part[List[292, Null], 1, 1], Part[List[226, Null], 1, 1], Part[List[270, Null], 1, 1], Part[List[274, Null], 1, 1], Part[List[294, Null], 1, 1], Part[List[403, Null], 1, 1], Part[List[315, Null], 1, 1], Part[List[319, Null], 1, 1], Part[List[377, Null], 1, 1], Part[List[328, Null], 1, 1], Part[List[390, Null], 1, 1], Part[List[349, Null], 1, 1], Part[List[479, Null], 1, 1], Part[List[445, Null], 1, 1], Part[List[401, Null], 1, 1], Part[List[425, Null], 1, 1], Part[List[390, Null], 1, 1], Part[List[373, Null], 1, 1], Part[List[393, Null], 1, 1], Part[List[370, Null], 1, 1], Part[List[470, Null], 1, 1], Part[List[429, Null], 1, 1], Part[List[387, Null], 1, 1], Part[List[510, Null], 1, 1], Part[List[526, Null], 1, 1], Part[List[521, Null], 1, 1], Part[List[692, Null], 1, 1], Part[List[673, Null], 1, 1], Part[List[594, Null], 1, 1], Part[List[649, Null], 1, 1], Part[List[603, Null], 1, 1], Part[List[728, Null], 1, 1], Part[List[603, Null], 1, 1], Part[List[673, Null], 1, 1], Part[List[506, Null], 1, 1], Part[List[597, Null], 1, 1], Part[List[695, Null], 1, 1], Part[List[663, Null], 1, 1], Part[List[719, Null], 1, 1], Part[List[712, Null], 1, 1], Part[List[796, Null], 1, 1], Part[List[910, Null], 1, 1], Part[List[837, Null], 1, 1], Part[List[1041, Null], 1, 1], Part[List[1019, Null], 1, 1], Part[List[1003, Null], 1, 1], Part[List[963, Null], 1, 1], Part[List[922, Null], 1, 1], Part[List[859, Null], 1, 1], Part[List[781, Null], 1, 1], Part[List[932, Null], 1, 1], Part[List[1011, Null], 1, 1], Part[List[1001, Null], 1, 1], Part[List[922, Null], 1, 1], Part[List[854, Null], 1, 1], Part[List[875, Null], 1, 1], Part[List[877, Null], 1, 1], Part[List[824, Null], 1, 1], Part[List[766, Null], 1, 1], Part[List[810, Null], 1, 1], Part[List[909, Null], 1, 1], Part[List[1065, Null], 1, 1], Part[List[1058, Null], 1, 1], Part[List[1091, Null], 1, 1], Part[List[1117, Null], 1, 1], Part[List[1077, Null], 1, 1], Part[List[1151, Null], 1, 1], Part[List[1139, Null], 1, 1], Part[List[1114, Null], 1, 1], Part[List[1108, Null], 1, 1], Part[List[1096, Null], 1, 1], Part[List[919, Null], 1, 1], Part[List[927, Null], 1, 1], Part[List[1099, Null], 1, 1], Part[List[1212, Null], 1, 1], Part[List[1130, Null], 1, 1], Part[List[908, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.006} +{"i": 168, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Wheel\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a wheel on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices, which is the join of \\!\\(\\*RowBox[{\\\"CompleteGraph\\\", \\\"[\\\", StyleBox[\\\"1\\\", \\\"TR\\\"], \\\"]\\\"}]\\) and \\!\\(\\*RowBox[{\\\"Cycle\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"-\\\", StyleBox[\\\"1\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Wheel, List[RuleDelayed[Wheel[Pattern[Combinatorica`Private`n, Blank[Integer]]], Condition[Graph[Join[Table[List[List[Combinatorica`Private`i, Combinatorica`Private`n]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -1]]], Table[List[List[Combinatorica`Private`i, Plus[Combinatorica`Private`i, 1]]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -2]]], List[List[List[1, Plus[Combinatorica`Private`n, -1]]]]], Append[CircularEmbedding[Plus[Combinatorica`Private`n, -1]], List[List[0, 0]]]], GreaterEqual[Combinatorica`Private`n, 3]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Wheel\"]], False]", "msgs": [], "secs": 0.049} +{"i": 169, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 170, "status": "ok", "out": "List[List[0, Null], List[140, Null]]", "msgs": [], "secs": 0.002} +{"i": 171, "status": "ok", "out": "List[List[0, Null], List[244, Null]]", "msgs": [], "secs": 0.003} +{"i": 172, "status": "ok", "out": "Null", "msgs": [], "secs": 5.718} +{"i": 173, "status": "msg", "out": "ListPlot[List[Part[List[28, Null], 1, 1], Part[List[52, Null], 1, 1], Part[List[56, Null], 1, 1], Part[List[60, Null], 1, 1], Part[List[67, Null], 1, 1], Part[List[74, Null], 1, 1], Part[List[89, Null], 1, 1], Part[List[108, Null], 1, 1], Part[List[108, Null], 1, 1], Part[List[131, Null], 1, 1], Part[List[145, Null], 1, 1], Part[List[160, Null], 1, 1], Part[List[168, Null], 1, 1], Part[List[181, Null], 1, 1], Part[List[204, Null], 1, 1], Part[List[253, Null], 1, 1], Part[List[219, Null], 1, 1], Part[List[215, Null], 1, 1], Part[List[242, Null], 1, 1], Part[List[253, Null], 1, 1], Part[List[285, Null], 1, 1], Part[List[324, Null], 1, 1], Part[List[286, Null], 1, 1], Part[List[317, Null], 1, 1], Part[List[361, Null], 1, 1], Part[List[331, Null], 1, 1], Part[List[337, Null], 1, 1], Part[List[342, Null], 1, 1], Part[List[398, Null], 1, 1], Part[List[421, Null], 1, 1], Part[List[552, Null], 1, 1], Part[List[557, Null], 1, 1], Part[List[499, Null], 1, 1], Part[List[432, Null], 1, 1], Part[List[459, Null], 1, 1], Part[List[478, Null], 1, 1], Part[List[515, Null], 1, 1], Part[List[547, Null], 1, 1], Part[List[736, Null], 1, 1], Part[List[683, Null], 1, 1], Part[List[752, Null], 1, 1], Part[List[785, Null], 1, 1], Part[List[642, Null], 1, 1], Part[List[691, Null], 1, 1], Part[List[691, Null], 1, 1], Part[List[666, Null], 1, 1], Part[List[835, Null], 1, 1], Part[List[766, Null], 1, 1], Part[List[910, Null], 1, 1], Part[List[823, Null], 1, 1], Part[List[858, Null], 1, 1], Part[List[868, Null], 1, 1], Part[List[893, Null], 1, 1], Part[List[819, Null], 1, 1], Part[List[922, Null], 1, 1], Part[List[1079, Null], 1, 1], Part[List[1044, Null], 1, 1], Part[List[1141, Null], 1, 1], Part[List[1068, Null], 1, 1], Part[List[1101, Null], 1, 1], Part[List[1019, Null], 1, 1], Part[List[1235, Null], 1, 1], Part[List[1334, Null], 1, 1], Part[List[1366, Null], 1, 1], Part[List[1414, Null], 1, 1], Part[List[1116, Null], 1, 1], Part[List[1323, Null], 1, 1], Part[List[1386, Null], 1, 1], Part[List[1311, Null], 1, 1], Part[List[1237, Null], 1, 1], Part[List[1437, Null], 1, 1], Part[List[1387, Null], 1, 1], Part[List[1254, Null], 1, 1], Part[List[1470, Null], 1, 1], Part[List[1523, Null], 1, 1], Part[List[1537, Null], 1, 1], Part[List[1374, Null], 1, 1], Part[List[1367, Null], 1, 1], Part[List[1462, Null], 1, 1], Part[List[1609, Null], 1, 1], Part[List[1452, Null], 1, 1], Part[List[1295, Null], 1, 1], Part[List[1238, Null], 1, 1], Part[List[1306, Null], 1, 1], Part[List[1464, Null], 1, 1], Part[List[1443, Null], 1, 1], Part[List[1403, Null], 1, 1], Part[List[1277, Null], 1, 1], Part[List[1304, Null], 1, 1], Part[List[1321, Null], 1, 1], Part[List[1672, Null], 1, 1], Part[List[1594, Null], 1, 1], Part[List[1727, Null], 1, 1], Part[List[1448, Null], 1, 1], Part[List[1609, Null], 1, 1], Part[List[1498, Null], 1, 1], Part[List[1507, Null], 1, 1], Part[List[1470, Null], 1, 1], Part[List[1439, Null], 1, 1], Part[List[1428, Null], 1, 1], Part[List[1414, Null], 1, 1], Part[List[1348, Null], 1, 1], Part[List[1336, Null], 1, 1], Part[List[1369, Null], 1, 1], Part[List[1372, Null], 1, 1], Part[List[1418, Null], 1, 1], Part[List[1392, Null], 1, 1], Part[List[1457, Null], 1, 1], Part[List[1380, Null], 1, 1], Part[List[1527, Null], 1, 1], Part[List[1526, Null], 1, 1], Part[List[1450, Null], 1, 1], Part[List[1497, Null], 1, 1], Part[List[1572, Null], 1, 1], Part[List[1615, Null], 1, 1], Part[List[1506, Null], 1, 1], Part[List[1677, Null], 1, 1], Part[List[1633, Null], 1, 1], Part[List[1900, Null], 1, 1], Part[List[2140, Null], 1, 1], Part[List[1766, Null], 1, 1], Part[List[1944, Null], 1, 1], Part[List[1814, Null], 1, 1], Part[List[1840, Null], 1, 1], Part[List[2048, Null], 1, 1], Part[List[1931, Null], 1, 1], Part[List[1801, Null], 1, 1], Part[List[2012, Null], 1, 1], Part[List[2312, Null], 1, 1], Part[List[2193, Null], 1, 1], Part[List[2510, Null], 1, 1], Part[List[2557, Null], 1, 1], Part[List[2464, Null], 1, 1], Part[List[2479, Null], 1, 1], Part[List[2477, Null], 1, 1]...", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.022} +{"i": 174, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Path is an option for Get and related functions which gives a list of directories to search in attempting to find an external file. Path[n] constructs a tree consisting only of a path on n vertices. Path[n] permits an option Type that takes on the values Directed and Undirected. The default setting is Type -> Undirected.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Path.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Path, List[RuleDelayed[Path[1, PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[Path]]]]]], CompleteGraph[1, Rule[Type, Combinatorica`Private`type]]]], RuleDelayed[Path[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[Path]]]]], Combinatorica`Private`i], If[SameQ[Combinatorica`Private`type, Undirected], Graph[Table[List[List[Combinatorica`Private`i, Plus[Combinatorica`Private`i, 1]]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -1]]], Map[Function[List[List[Slot[1], 0]]], Range[Combinatorica`Private`n]]], Graph[Table[List[List[Combinatorica`Private`i, Plus[Combinatorica`Private`i, 1]]], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, -1]]], Map[Function[List[List[Slot[1], 0]]], Range[Combinatorica`Private`n]], Rule[EdgeDirection, True]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"System`Path\"]], False]", "msgs": [], "secs": 0.092} +{"i": 175, "status": "ok", "out": "", "msgs": [], "secs": 0.018000000000000002} +{"i": 176, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 177, "status": "ok", "out": "Null", "msgs": [], "secs": 18.272000000000002} +{"i": 178, "status": "msg", "out": "ListPlot[List[Part[List[88, Null], 1, 1], Part[List[25, Null], 1, 1], Part[List[57, Null], 1, 1], Part[List[45, Null], 1, 1], Part[List[56, Null], 1, 1], Part[List[50, Null], 1, 1], Part[List[53, Null], 1, 1], Part[List[54, Null], 1, 1], Part[List[80, Null], 1, 1], Part[List[68, Null], 1, 1], Part[List[80, Null], 1, 1], Part[List[91, Null], 1, 1], Part[List[100, Null], 1, 1], Part[List[87, Null], 1, 1], Part[List[92, Null], 1, 1], Part[List[101, Null], 1, 1], Part[List[135, Null], 1, 1], Part[List[115, Null], 1, 1], Part[List[106, Null], 1, 1], Part[List[140, Null], 1, 1], Part[List[183, Null], 1, 1], Part[List[131, Null], 1, 1], Part[List[132, Null], 1, 1], Part[List[148, Null], 1, 1], Part[List[178, Null], 1, 1], Part[List[188, Null], 1, 1], Part[List[171, Null], 1, 1], Part[List[155, Null], 1, 1], Part[List[142, Null], 1, 1], Part[List[138, Null], 1, 1], Part[List[211, Null], 1, 1], Part[List[257, Null], 1, 1], Part[List[246, Null], 1, 1], Part[List[186, Null], 1, 1], Part[List[193, Null], 1, 1], Part[List[241, Null], 1, 1], Part[List[175, Null], 1, 1], Part[List[254, Null], 1, 1], Part[List[256, Null], 1, 1], Part[List[210, Null], 1, 1], Part[List[230, Null], 1, 1], Part[List[189, Null], 1, 1], Part[List[229, Null], 1, 1], Part[List[277, Null], 1, 1], Part[List[313, Null], 1, 1], Part[List[252, Null], 1, 1], Part[List[212, Null], 1, 1], Part[List[249, Null], 1, 1], Part[List[233, Null], 1, 1], Part[List[245, Null], 1, 1], Part[List[264, Null], 1, 1], Part[List[245, Null], 1, 1], Part[List[273, Null], 1, 1], Part[List[272, Null], 1, 1], Part[List[342, Null], 1, 1], Part[List[308, Null], 1, 1], Part[List[362, Null], 1, 1], Part[List[365, Null], 1, 1], Part[List[340, Null], 1, 1], Part[List[384, Null], 1, 1], Part[List[389, Null], 1, 1], Part[List[407, Null], 1, 1], Part[List[340, Null], 1, 1], Part[List[335, Null], 1, 1], Part[List[424, Null], 1, 1], Part[List[453, Null], 1, 1], Part[List[469, Null], 1, 1], Part[List[381, Null], 1, 1], Part[List[481, Null], 1, 1], Part[List[309, Null], 1, 1], Part[List[341, Null], 1, 1], Part[List[441, Null], 1, 1], Part[List[339, Null], 1, 1], Part[List[410, Null], 1, 1], Part[List[412, Null], 1, 1], Part[List[481, Null], 1, 1], Part[List[373, Null], 1, 1], Part[List[406, Null], 1, 1], Part[List[556, Null], 1, 1], Part[List[455, Null], 1, 1], Part[List[395, Null], 1, 1], Part[List[375, Null], 1, 1], Part[List[406, Null], 1, 1], Part[List[438, Null], 1, 1], Part[List[433, Null], 1, 1], Part[List[411, Null], 1, 1], Part[List[447, Null], 1, 1], Part[List[578, Null], 1, 1], Part[List[496, Null], 1, 1], Part[List[477, Null], 1, 1], Part[List[522, Null], 1, 1], Part[List[518, Null], 1, 1], Part[List[505, Null], 1, 1], Part[List[513, Null], 1, 1], Part[List[508, Null], 1, 1], Part[List[542, Null], 1, 1], Part[List[548, Null], 1, 1], Part[List[637, Null], 1, 1], Part[List[592, Null], 1, 1], Part[List[647, Null], 1, 1], Part[List[618, Null], 1, 1], Part[List[569, Null], 1, 1], Part[List[538, Null], 1, 1], Part[List[600, Null], 1, 1], Part[List[620, Null], 1, 1], Part[List[583, Null], 1, 1], Part[List[598, Null], 1, 1], Part[List[609, Null], 1, 1], Part[List[638, Null], 1, 1], Part[List[618, Null], 1, 1], Part[List[618, Null], 1, 1], Part[List[747, Null], 1, 1], Part[List[599, Null], 1, 1], Part[List[650, Null], 1, 1], Part[List[654, Null], 1, 1], Part[List[566, Null], 1, 1], Part[List[559, Null], 1, 1], Part[List[623, Null], 1, 1], Part[List[535, Null], 1, 1], Part[List[553, Null], 1, 1], Part[List[571, Null], 1, 1], Part[List[560, Null], 1, 1], Part[List[586, Null], 1, 1], Part[List[554, Null], 1, 1], Part[List[566, Null], 1, 1], Part[List[602, Null], 1, 1], Part[List[566, Null], 1, 1], Part[List[583, Null], 1, 1], Part[List[589, Null], 1, 1], Part[List[693, Null], 1, 1], Part[List[601, Null], 1, 1], Part[List[653, Null], 1, 1], Part[List[690, Null], 1, 1], Part[List[727, Null], 1, 1], Part[List[678, Null], 1, 1], Part[List[681, Null], 1, 1], Part[List[607, Null], 1, 1], Part[List[729, Null], 1, 1]...", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.041} +{"i": 179, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GridGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GridGraph, List[RuleDelayed[GridGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`m, Blank[Integer]], Positive]], GraphProduct[ChangeVertices[Path[Combinatorica`Private`n], Map[Function[List[List[Times[Max[Combinatorica`Private`n, Combinatorica`Private`m], Slot[1]], 0]]], Range[Combinatorica`Private`n]]], Path[Combinatorica`Private`m]]], RuleDelayed[GridGraph[PatternTest[Pattern[Combinatorica`Private`p, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`q, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`r, Blank[Integer]], Positive]], GraphProduct[GridGraph[Combinatorica`Private`p, Combinatorica`Private`q], DilateVertices[RotateVertices[Path[Combinatorica`Private`r], 1], Times[1, Power[Times[10, Combinatorica`Private`r], -1]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GridGraph\"]], False]", "msgs": [], "secs": 0.379} +{"i": 180, "status": "ok", "out": "", "msgs": [], "secs": 0.02} +{"i": 181, "status": "ok", "out": "", "msgs": [], "secs": 1.829} +{"i": 182, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 183, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 184, "status": "ok", "out": "List[List[371, Null], List[472, Null], List[719, Null], List[1100, Null], List[1193, Null], List[1381, Null], List[1851, Null], List[1988, Null], List[2214, Null], List[2608, Null], List[2774, Null], List[3124, Null], List[3231, Null], List[3553, Null], List[3850, Null]]", "msgs": [], "secs": 1.619} +{"i": 185, "status": "msg", "out": "ListPlot[List[Part[List[371, Null], 1, 1], Part[List[472, Null], 1, 1], Part[List[719, Null], 1, 1], Part[List[1100, Null], 1, 1], Part[List[1193, Null], 1, 1], Part[List[1381, Null], 1, 1], Part[List[1851, Null], 1, 1], Part[List[1988, Null], 1, 1], Part[List[2214, Null], 1, 1], Part[List[2608, Null], 1, 1], Part[List[2774, Null], 1, 1], Part[List[3124, Null], 1, 1], Part[List[3231, Null], 1, 1], Part[List[3553, Null], 1, 1], Part[List[3850, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.008} +{"i": 186, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Hypercube\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs an \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\)-dimensional hypercube.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Hypercube, List[RuleDelayed[Hypercube[Pattern[Combinatorica`Private`n, Blank[Integer]]], Combinatorica`Private`Hypercube1[Combinatorica`Private`n]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Hypercube\"]], False]", "msgs": [], "secs": 0.26} +{"i": 187, "status": "ok", "out": "", "msgs": [], "secs": 0.244} +{"i": 188, "status": "ok", "out": "", "msgs": [], "secs": 0.41600000000000004} +{"i": 189, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 190, "status": "ok", "out": "List[2623, Null]", "msgs": [], "secs": 0.114} +{"i": 191, "status": "ok", "out": "List[List[7, Null], List[9, Null], List[0, Null], List[70, Null], List[0, Null], List[0, Null], List[271, Null], List[564, Null], List[1128, Null], List[1, Null], List[4821, Null], List[8346, Null], List[18248, Null], List[33287, Null], List[70465, Null]]", "msgs": [], "secs": 2.8890000000000002} +{"i": 192, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[3, 4]], List[List[5, 6]], List[List[7, 8]], List[List[1, 3]], List[List[2, 4]], List[List[3, 5]], List[List[4, 6]], List[List[5, 7]], List[List[6, 8]], List[List[1, 7]], List[List[2, 8]], List[List[9, 10]], List[List[11, 12]], List[List[13, 14]], List[List[15, 16]], List[List[9, 11]], List[List[10, 12]], List[List[11, 13]], List[List[12, 14]], List[List[13, 15]], List[List[14, 16]], List[List[9, 15]], List[List[10, 16]], List[List[17, 18]], List[List[19, 20]], List[List[21, 22]], List[List[23, 24]], List[List[17, 19]], List[List[18, 20]], List[List[19, 21]], List[List[20, 22]], List[List[21, 23]], List[List[22, 24]], List[List[17, 23]], List[List[18, 24]], List[List[25, 26]], List[List[27, 28]], List[List[29, 30]], List[List[31, 32]], List[List[25, 27]], List[List[26, 28]], List[List[27, 29]], List[List[28, 30]], List[List[29, 31]], List[List[30, 32]], List[List[25, 31]], List[List[26, 32]], List[List[33, 34]], List[List[35, 36]], List[List[37, 38]], List[List[39, 40]], List[List[33, 35]], List[List[34, 36]], List[List[35, 37]], List[List[36, 38]], List[List[37, 39]], List[List[38, 40]], List[List[33, 39]], List[List[34, 40]], List[List[41, 42]], List[List[43, 44]], List[List[45, 46]], List[List[47, 48]], List[List[41, 43]], List[List[42, 44]], List[List[43, 45]], List[List[44, 46]], List[List[45, 47]], List[List[46, 48]], List[List[41, 47]], List[List[42, 48]], List[List[49, 50]], List[List[51, 52]], List[List[53, 54]], List[List[55, 56]], List[List[49, 51]], List[List[50, 52]], List[List[51, 53]], List[List[52, 54]], List[List[53, 55]], List[List[54, 56]], List[List[49, 55]], List[List[50, 56]], List[List[57, 58]], List[List[59, 60]], List[List[61, 62]], List[List[63, 64]], List[List[57, 59]], List[List[58, 60]], List[List[59, 61]], List[List[60, 62]], List[List[61, 63]], List[List[62, 64]], List[List[57, 63]], List[List[58, 64]], List[List[65, 66]], List[List[67, 68]], List[List[69, 70]], List[List[71, 72]], List[List[65, 67]], List[List[66, 68]], List[List[67, 69]], List[List[68, 70]], List[List[69, 71]], List[List[70, 72]], List[List[65, 71]], List[List[66, 72]], List[List[73, 74]], List[List[75, 76]], List[List[77, 78]], List[List[79, 80]], List[List[73, 75]], List[List[74, 76]], List[List[75, 77]], List[List[76, 78]], List[List[77, 79]], List[List[78, 80]], List[List[73, 79]], List[List[74, 80]], List[List[81, 82]], List[List[83, 84]], List[List[85, 86]], List[List[87, 88]], List[List[81, 83]], List[List[82, 84]], List[List[83, 85]], List[List[84, 86]], List[List[85, 87]], List[List[86, 88]], List[List[81, 87]], List[List[82, 88]], List[List[89, 90]], List[List[91, 92]], List[List[93, 94]], List[List[95, 96]], List[List[89, 91]], List[List[90, 92]], List[List[91, 93]], List[List[92, 94]], List[List[93, 95]], List[List[94, 96]], List[List[89, 95]], List[List[90, 96]], List[List[97, 98]], List[List[99, 100]], List[List[101, 102]], List[List[103, 104]], List[List[97, 99]], List[List[98, 100]], List[List[99, 101]], List[List[100, 102]], List[List[101, 103]], List[List[102, 104]], List[List[97, 103]], List[List[98, 104]], List[List[105, 106]], List[List[107, 108]], List[List[109, 110]], List[List[111, 112]], List[List[105, 107]], List[List[106, 108]], List[List[107, 109]], List[List[108, 110]], List[List[109, 111]], List[List[110, 112]], List[List[105, 111]], List[List[106, 112]], List[List[113, 114]], List[List[115, 116]], List[List[117, 118]], List[List[119, 120]], List[List[113, 115]], List[List[114, 116]], List[List[115, 117]], List[List[116, 118]], List[List[117, 119]], List[List[118, 120]], List[List[113, 119]], List[List[114, 120]], List[List[121, 122]], List[List[123, 124]], List[List[125, 126]], List[List[127, 128]], List[List[121, 123]], List[List[122, 124]], List[List[123, 125]], List[List[124, 126]], List[List[125, 127]], List[List[126, 128]], List[List[121, 127]], List[List[122, 128]], List[List[1, 9]], List[List[2, 10]], List[List[3, 11]], List[List[4, 12]], List[List[5, 1...", "msgs": [], "secs": 0.0} +{"i": 193, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"LabeledTreeToCode\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) reduces the tree \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) to its Pr\\[UDoubleDot]fer code.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, LabeledTreeToCode, List[RuleDelayed[LabeledTreeToCode[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`i, Combinatorica`Private`code], Table[CompoundExpression[Set[List[Combinatorica`Private`i], First[Position[Map[Length, Combinatorica`Private`e], 1]]], Set[Combinatorica`Private`code, Part[Combinatorica`Private`e, Combinatorica`Private`i, 1]], Set[Part[Combinatorica`Private`e, Combinatorica`Private`code], Complement[Part[Combinatorica`Private`e, Combinatorica`Private`code], List[Combinatorica`Private`i]]], Set[Part[Combinatorica`Private`e, Combinatorica`Private`i], List[]], Combinatorica`Private`code], List[Plus[V[Combinatorica`Private`g], -2]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`LabeledTreeToCode\"]], False]", "msgs": [], "secs": 0.105} +{"i": 194, "status": "ok", "out": "LabeledTreeToCode[Tree[12, List[Tree[10, List[Tree[18, None], Tree[5, List[Tree[19, None]]], Tree[16, List[Tree[7, List[Tree[17, List[Tree[4, None], Tree[15, None], Tree[13, None]]]]], Tree[6, List[Tree[2, None]]]]], Tree[8, List[Tree[14, List[Tree[11, None], Tree[1, None], Tree[9, None]]], Tree[20, None]]], Tree[3, None]]]]]]", "msgs": [], "secs": 0.074} +{"i": 195, "status": "ok", "out": "List[10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10]", "msgs": [], "secs": 0.016} +{"i": 196, "status": "ok", "out": "List[2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99]", "msgs": [], "secs": 0.004} +{"i": 197, "status": "ok", "out": "Null", "msgs": [], "secs": 1.292} +{"i": 198, "status": "ok", "out": "List[List[86, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[10, Null]]", "msgs": [], "secs": 0.008} +{"i": 199, "status": "msg", "out": "ListPlot[List[Part[List[86, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[10, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.051000000000000004} +{"i": 200, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 201, "status": "ok", "out": "List[List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 202, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CodeToLabeledTree\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs the unique labeled tree on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices from the Pr\\[UDoubleDot]fer code \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\), which consists of a list of \\!\\(\\*RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"-\\\", \\\"2\\\"}]\\) integers between 1 and \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CodeToLabeledTree, List[RuleDelayed[CodeToLabeledTree[Pattern[Combinatorica`Private`l, Blank[List]]], Condition[Module[List[Set[Combinatorica`Private`m, Range[Plus[Length[Combinatorica`Private`l], 2]]], Combinatorica`Private`x, Combinatorica`Private`i], FromUnorderedPairs[Append[Table[CompoundExpression[Set[Combinatorica`Private`x, Min[Complement[Combinatorica`Private`m, Drop[Combinatorica`Private`l, Plus[Combinatorica`Private`i, -1]]]]], Set[Combinatorica`Private`m, Complement[Combinatorica`Private`m, List[Combinatorica`Private`x]]], Sort[List[Combinatorica`Private`x, Part[Combinatorica`Private`l, Combinatorica`Private`i]]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`l]]], Sort[Combinatorica`Private`m]]]], Equal[Complement[Combinatorica`Private`l, Range[Plus[Length[Combinatorica`Private`l], 2]]], List[]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CodeToLabeledTree\"]], False]", "msgs": [], "secs": 0.111} +{"i": 203, "status": "ok", "out": "", "msgs": [], "secs": 0.022} +{"i": 204, "status": "ok", "out": "", "msgs": [], "secs": 0.017} +{"i": 205, "status": "ok", "out": "Null", "msgs": [], "secs": 0.013000000000000001} +{"i": 206, "status": "ok", "out": "List[List[156, Null], List[372, Null], List[504, Null], List[695, Null], List[983, Null], List[1330, Null], List[1635, Null], List[1941, Null], List[2379, Null], List[2956, Null]]", "msgs": [], "secs": 0.20500000000000002} +{"i": 207, "status": "msg", "out": "ListPlot[List[Part[List[156, Null], 1, 1], Part[List[372, Null], 1, 1], Part[List[504, Null], 1, 1], Part[List[695, Null], 1, 1], Part[List[983, Null], 1, 1], Part[List[1330, Null], 1, 1], Part[List[1635, Null], 1, 1], Part[List[1941, Null], 1, 1], Part[List[2379, Null], 1, 1], Part[List[2956, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.002} +{"i": 208, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 209, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RandomTree\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a pseudorandom tree with \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) nodes.\\n\\!\\(\\*RowBox[{\\\"RandomTree\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives a list of \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) pseudorandom trees.\\n\\!\\(\\*RowBox[{\\\"RandomTree\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"k\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"k\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) gives a \\!\\(\\*SubscriptBox[StyleBox[\\\"k\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\)\\[Times]\\!\\(\\*RowBox[{StyleBox[\\\" \\\", \\\"TI\\\"], SubscriptBox[StyleBox[\\\"k\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}]\\)\\[Times]\\!\\(\\*StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]\\) array of trees.\\n\\!\\(\\*RowBox[{\\\"RandomTree\\\", \\\"[\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"e\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"e\\\", \\\"TI\\\"], StyleBox[\\\"n\\\", \\\"TI\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) gives trees with nodes containing the expressions \\!\\(\\*SubscriptBox[StyleBox[\\\"e\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]]\\).\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/RandomTree.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", Information`InformationValueForm[DefaultValues, RandomTree, List[Rule[Options[RandomTree], Trees`$TreeOptions]]]], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected, ReadProtected]], Rule[\"FullName\", \"System`RandomTree\"]], False]", "msgs": [], "secs": 0.101} +{"i": 210, "status": "ok", "out": "ShowGraph[RadialEmbedding[Tree[12, List[Tree[20, List[Tree[3, List[Tree[5, List[Tree[19, List[Tree[6, None]]]]], Tree[16, List[Tree[17, None], Tree[10, List[Tree[18, None]]], Tree[7, List[Tree[4, None], Tree[1, None]]], Tree[2, None], Tree[13, List[Tree[14, List[Tree[11, None]]]]], Tree[8, None], Tree[15, None]]]]], Tree[9, None]]]]], 1], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.003} +{"i": 211, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 212, "status": "ok", "out": "List[List[364, Null], List[607, Null], List[1416, Null], List[1671, Null], List[1946, Null], List[2355, Null], List[2330, Null], List[2832, Null]]", "msgs": [], "secs": 0.169} +{"i": 213, "status": "msg", "out": "ListPlot[List[Part[List[364, Null], 1, 1], Part[List[607, Null], 1, 1], Part[List[1416, Null], 1, 1], Part[List[1671, Null], 1, 1], Part[List[1946, Null], 1, 1], Part[List[2355, Null], 1, 1], Part[List[2330, Null], 1, 1], Part[List[2832, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 214, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`RandomGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RandomGraph, List[RuleDelayed[RandomGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`p, Blank[]], NumericQ], List[Pattern[Combinatorica`Private`x, Blank[Integer]], Pattern[Combinatorica`Private`y, Blank[Integer]]]], SetEdgeWeights[RandomGraph[Combinatorica`Private`n, Combinatorica`Private`p], Rule[WeightingFunction, RandomInteger], Rule[WeightRange, List[Combinatorica`Private`x, Combinatorica`Private`y]]]], RuleDelayed[RandomGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`p, Blank[]], NumericQ], Directed], RandomGraph[Combinatorica`Private`n, Combinatorica`Private`p, Rule[Type, Directed]]], RuleDelayed[RandomGraph[0, PatternTest[Pattern[Combinatorica`Private`p, Blank[]], NumericQ], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Graph[List[], List[]]], RuleDelayed[RandomGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`p, Blank[]], NumericQ], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[RandomGraph]]]]], If[SameQ[Combinatorica`Private`type, Directed], Combinatorica`Private`RDG[Combinatorica`Private`n, Combinatorica`Private`p], Combinatorica`Private`RG[Combinatorica`Private`n, Combinatorica`Private`p]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RandomGraph\"]], False]", "msgs": [], "secs": 0.074} +{"i": 215, "status": "ok", "out": "", "msgs": [], "secs": 0.194} +{"i": 216, "status": "ok", "out": "", "msgs": [], "secs": 0.096} +{"i": 217, "status": "ok", "out": "", "msgs": [], "secs": 0.154} +{"i": 218, "status": "ok", "out": "List[List[195, Null], List[182, Null], List[256, Null], List[304, Null], List[333, Null], List[374, Null], List[441, Null], List[463, Null], List[474, Null]]", "msgs": [], "secs": 0.068} +{"i": 219, "status": "msg", "out": "ListPlot[List[Part[List[195, Null], 1, 1], Part[List[182, Null], 1, 1], Part[List[256, Null], 1, 1], Part[List[304, Null], 1, 1], Part[List[333, Null], 1, 1], Part[List[374, Null], 1, 1], Part[List[441, Null], 1, 1], Part[List[463, Null], 1, 1], Part[List[474, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 220, "status": "ok", "out": "List[List[53, Null], List[66, Null], List[110, Null], List[73, Null], List[78, Null], List[140, Null], List[125, Null], List[147, Null], List[143, Null], List[186, Null], List[221, Null], List[218, Null], List[285, Null], List[187, Null], List[186, Null], List[185, Null], List[290, Null], List[267, Null], List[260, Null], List[246, Null]]", "msgs": [], "secs": 0.073} +{"i": 221, "status": "msg", "out": "ListPlot[List[Part[List[53, Null], 1, 1], Part[List[66, Null], 1, 1], Part[List[110, Null], 1, 1], Part[List[73, Null], 1, 1], Part[List[78, Null], 1, 1], Part[List[140, Null], 1, 1], Part[List[125, Null], 1, 1], Part[List[147, Null], 1, 1], Part[List[143, Null], 1, 1], Part[List[186, Null], 1, 1], Part[List[221, Null], 1, 1], Part[List[218, Null], 1, 1], Part[List[285, Null], 1, 1], Part[List[187, Null], 1, 1], Part[List[186, Null], 1, 1], Part[List[185, Null], 1, 1], Part[List[290, Null], 1, 1], Part[List[267, Null], 1, 1], Part[List[260, Null], 1, 1], Part[List[246, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 222, "status": "ok", "out": "List[List[0, Null], List[307, Null]]", "msgs": [], "secs": 0.007} +{"i": 223, "status": "ok", "out": "List[List[0, Null], List[2405, Null]]", "msgs": [], "secs": 0.068} +{"i": 224, "status": "ok", "out": "List[List[0, Null], List[3777, Null]]", "msgs": [], "secs": 0.082} +{"i": 225, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ExactRandomGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a random labeled graph of exactly \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\) edges and \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ExactRandomGraph, List[RuleDelayed[ExactRandomGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], Pattern[Combinatorica`Private`e, Blank[Integer]]], Graph[Map[Function[List[NthPair[Slot[1]]]], Take[RandomPermutation[Times[Combinatorica`Private`n, Times[Plus[Combinatorica`Private`n, -1], Power[2, -1]]]], Combinatorica`Private`e]], CircularEmbedding[Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ExactRandomGraph\"]], False]", "msgs": [], "secs": 0.093} +{"i": 226, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 227, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 228, "status": "ok", "out": "", "msgs": [], "secs": 0.067} +{"i": 229, "status": "ok", "out": "", "msgs": [], "secs": 0.067} +{"i": 230, "status": "ok", "out": "List[List[76, Null], List[76, Null], List[70, Null], List[89, Null], List[101, Null], List[105, Null], List[86, Null], List[78, Null], List[105, Null], List[90, Null]]", "msgs": [], "secs": 0.013000000000000001} +{"i": 231, "status": "msg", "out": "ListPlot[List[Part[List[76, Null], 1, 1], Part[List[76, Null], 1, 1], Part[List[70, Null], 1, 1], Part[List[89, Null], 1, 1], Part[List[101, Null], 1, 1], Part[List[105, Null], 1, 1], Part[List[86, Null], 1, 1], Part[List[78, Null], 1, 1], Part[List[105, Null], 1, 1], Part[List[90, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 232, "status": "ok", "out": "List[List[39, Null], List[76, Null], List[145, Null], List[234, Null], List[237, Null]]", "msgs": [], "secs": 0.01} +{"i": 233, "status": "msg", "out": "ListPlot[List[Part[List[39, Null], 1, 1], Part[List[76, Null], 1, 1], Part[List[145, Null], 1, 1], Part[List[234, Null], 1, 1], Part[List[237, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 234, "status": "ok", "out": "List[List[0, Null], List[51, Null]]", "msgs": [], "secs": 0.001} +{"i": 235, "status": "ok", "out": "List[List[0, Null], List[540, Null]]", "msgs": [], "secs": 0.012} +{"i": 236, "status": "ok", "out": "List[410, Null]", "msgs": [], "secs": 0.004} +{"i": 237, "status": "ok", "out": "List[62, Null]", "msgs": [], "secs": 0.001} +{"i": 238, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RandomVertices\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns a random embedding to graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RandomVertices, List[RuleDelayed[RandomVertices[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Table[List[List[RandomReal[], RandomReal[]]], List[Combinatorica`Private`n]]], RuleDelayed[RandomVertices[Pattern[Combinatorica`Private`g, Blank[Graph]]], ChangeVertices[Combinatorica`Private`g, RandomVertices[V[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RandomVertices\"]], False]", "msgs": [], "secs": 0.094} +{"i": 239, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 240, "status": "ok", "out": "Null", "msgs": [], "secs": 0.042} +{"i": 241, "status": "ok", "out": "List[212, Null]", "msgs": [], "secs": 0.003} +{"i": 242, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DegreeSequence\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the sorted degree sequence of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DegreeSequence, List[RuleDelayed[DegreeSequence[Pattern[Combinatorica`Private`g, Blank[Graph]]], Reverse[Sort[Degrees[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DegreeSequence\"]], False]", "msgs": [], "secs": 0.126} +{"i": 243, "status": "ok", "out": "List[9, 9, 9, 9, 9, 9, 9, 9, 9, 9]", "msgs": [], "secs": 0.004} +{"i": 244, "status": "ok", "out": "List[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1]", "msgs": [], "secs": 0.001} +{"i": 245, "status": "ok", "out": "Null", "msgs": [], "secs": 0.111} +{"i": 246, "status": "ok", "out": "List[3037, Null]", "msgs": [], "secs": 0.101} +{"i": 247, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 248, "status": "ok", "out": "Null", "msgs": [], "secs": 1.149} +{"i": 249, "status": "ok", "out": "Null", "msgs": [], "secs": 1.131} +{"i": 250, "status": "msg", "out": "ListPlot[List[Part[List[397, Null], 1, 1], Part[List[681, Null], 1, 1], Part[List[932, Null], 1, 1], Part[List[1228, Null], 1, 1], Part[List[1542, Null], 1, 1], Part[List[1898, Null], 1, 1], Part[List[1992, Null], 1, 1], Part[List[2547, Null], 1, 1], Part[List[2602, Null], 1, 1], Part[List[2994, Null], 1, 1], Part[List[3187, Null], 1, 1], Part[List[3364, Null], 1, 1], Part[List[3902, Null], 1, 1], Part[List[4294, Null], 1, 1], Part[List[4671, Null], 1, 1], Part[List[4604, Null], 1, 1], Part[List[5368, Null], 1, 1], Part[List[5422, Null], 1, 1], Part[List[6098, Null], 1, 1], Part[List[5393, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.003} +{"i": 251, "status": "ok", "out": "Null", "msgs": [], "secs": 0.013000000000000001} +{"i": 252, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 253, "status": "msg", "out": "ListPlot[List[Part[List[1, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 254, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"GraphicQ\\\", \\\"[\\\", StyleBox[\\\"s\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the list of integers \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\) is a graphic sequence, and thus represents a degree sequence of some graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphicQ, List[RuleDelayed[GraphicQ[Pattern[Combinatorica`Private`s, Blank[List]]], Condition[False, Or[Less[Min[Combinatorica`Private`s], 0], GreaterEqual[Max[Combinatorica`Private`s], Length[Combinatorica`Private`s]]]]], RuleDelayed[GraphicQ[Pattern[Combinatorica`Private`s, Blank[List]]], Condition[Equal[First[Combinatorica`Private`s], 0], Equal[Length[Combinatorica`Private`s], 1]]], RuleDelayed[GraphicQ[Pattern[Combinatorica`Private`s, Blank[List]]], Module[List[Combinatorica`Private`m, Set[Combinatorica`Private`sorted, Reverse[Sort[Combinatorica`Private`s]]]], CompoundExpression[Set[Combinatorica`Private`m, First[Combinatorica`Private`sorted]], GraphicQ[Join[Plus[Take[Combinatorica`Private`sorted, List[2, Plus[Combinatorica`Private`m, 1]]], -1], Drop[Combinatorica`Private`sorted, Plus[Combinatorica`Private`m, 1]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphicQ\"]], False]", "msgs": [], "secs": 0.094} +{"i": 255, "status": "ok", "out": "True", "msgs": [], "secs": 0.015} +{"i": 256, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 257, "status": "ok", "out": "Null", "msgs": [], "secs": 0.015} +{"i": 258, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 259, "status": "ok", "out": "List[List[11, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 260, "status": "ok", "out": "Null", "msgs": [], "secs": 0.185} +{"i": 261, "status": "ok", "out": "List[List[1, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 262, "status": "msg", "out": "ListPlot[List[Part[List[1, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 263, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RealizeDegreeSequence\\\", \\\"[\\\", StyleBox[\\\"s\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs a semirandom graph with degree sequence \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RealizeDegreeSequence, List[RuleDelayed[RealizeDegreeSequence[Pattern[Combinatorica`Private`d, Blank[List]]], Condition[Module[List[Combinatorica`Private`i, Combinatorica`Private`j, Combinatorica`Private`k, Combinatorica`Private`v, Combinatorica`Private`set, Combinatorica`Private`seq, Set[Combinatorica`Private`n, Length[Combinatorica`Private`d]], Combinatorica`Private`e], CompoundExpression[Set[Combinatorica`Private`seq, Reverse[Sort[Table[List[Part[Combinatorica`Private`d, Combinatorica`Private`i], Combinatorica`Private`i], List[Combinatorica`Private`i, Combinatorica`Private`n]]]]], Graph[Flatten[Table[CompoundExpression[Set[List[List[Combinatorica`Private`k, Combinatorica`Private`v], Combinatorica`Private`seq], List[First[Combinatorica`Private`seq], Rest[Combinatorica`Private`seq]]], While[Not[GraphicQ[MapAt[Function[Plus[Slot[1], -1]], Map[First, Combinatorica`Private`seq], Set[Combinatorica`Private`set, RandomKSubset[Table[List[Combinatorica`Private`i], List[Combinatorica`Private`i, Plus[Combinatorica`Private`n, Times[-1, Combinatorica`Private`j]]]], Combinatorica`Private`k]]]]]], Set[Combinatorica`Private`e, Map[Function[List[Sort[Prepend[Part[Combinatorica`Private`seq, Slot[1], 2], Combinatorica`Private`v]]]], Combinatorica`Private`set]], Set[Combinatorica`Private`seq, Reverse[Sort[MapAt[Function[List[Plus[Part[Slot[1], 1], -1], Part[Slot[1], 2]]], Combinatorica`Private`seq, Combinatorica`Private`set]]]], Combinatorica`Private`e], List[Combinatorica`Private`j, Plus[Length[Combinatorica`Private`d], -1]]], 1], CircularEmbedding[Combinatorica`Private`n]]]], GraphicQ[Combinatorica`Private`d]]], RuleDelayed[RealizeDegreeSequence[Pattern[Combinatorica`Private`d, Blank[List]], Pattern[Combinatorica`Private`seed, Blank[Integer]]], CompoundExpression[SeedRandom[Combinatorica`Private`seed], RealizeDegreeSequence[Combinatorica`Private`d]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RealizeDegreeSequence\"]], False]", "msgs": [], "secs": 0.383} +{"i": 264, "status": "ok", "out": "ShowGraph[Tree[11, List[Tree[15, None], Tree[6, List[Tree[1, List[Tree[2, List[Tree[5, None]]], Tree[7, List[Tree[3, None], Tree[14, List[Tree[9, None]]], Tree[10, None]]], Tree[12, None]]]]], Tree[8, None], Tree[4, None], Tree[13, None]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.002} +{"i": 265, "status": "ok", "out": "DegreeSequence[Tree[11, List[Tree[15, None], Tree[6, List[Tree[1, List[Tree[2, List[Tree[5, None]]], Tree[7, List[Tree[3, None], Tree[14, List[Tree[9, None]]], Tree[10, None]]], Tree[12, None]]]]], Tree[8, None], Tree[4, None], Tree[13, None]]]]", "msgs": [], "secs": 0.0} +{"i": 266, "status": "ok", "out": "ShowGraph[RealizeDegreeSequence[DegreeSequence[Tree[11, List[Tree[15, None], Tree[6, List[Tree[1, List[Tree[2, List[Tree[5, None]]], Tree[7, List[Tree[3, None], Tree[14, List[Tree[9, None]]], Tree[10, None]]], Tree[12, None]]]]], Tree[8, None], Tree[4, None], Tree[13, None]]]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.001} +{"i": 267, "status": "ok", "out": "DegreeSequence[RealizeDegreeSequence[DegreeSequence[Tree[11, List[Tree[15, None], Tree[6, List[Tree[1, List[Tree[2, List[Tree[5, None]]], Tree[7, List[Tree[3, None], Tree[14, List[Tree[9, None]]], Tree[10, None]]], Tree[12, None]]]]], Tree[8, None], Tree[4, None], Tree[13, None]]]]]]", "msgs": [], "secs": 0.0} +{"i": 268, "status": "ok", "out": "IsomorphicQ[Tree[11, List[Tree[15, None], Tree[6, List[Tree[1, List[Tree[2, List[Tree[5, None]]], Tree[7, List[Tree[3, None], Tree[14, List[Tree[9, None]]], Tree[10, None]]], Tree[12, None]]]]], Tree[8, None], Tree[4, None], Tree[13, None]]], RealizeDegreeSequence[DegreeSequence[Tree[11, List[Tree[15, None], Tree[6, List[Tree[1, List[Tree[2, List[Tree[5, None]]], Tree[7, List[Tree[3, None], Tree[14, List[Tree[9, None]]], Tree[10, None]]], Tree[12, None]]]]], Tree[8, None], Tree[4, None], Tree[13, None]]]]]]", "msgs": [], "secs": 0.0} +{"i": 269, "status": "ok", "out": "Null", "msgs": [], "secs": 0.024} +{"i": 270, "status": "ok", "out": "List[List[1965, Null], List[9202, Null], List[23508, Null], List[38372, Null], List[60040, Null]]", "msgs": [], "secs": 2.113} +{"i": 271, "status": "msg", "out": "ListPlot[List[Part[List[1965, Null], 1, 1], Part[List[9202, Null], 1, 1], Part[List[23508, Null], 1, 1], Part[List[38372, Null], 1, 1], Part[List[60040, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.007} +{"i": 272, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 273, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RegularQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is a regular graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RegularQ, List[RuleDelayed[RegularQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Apply[Equal, Degrees[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RegularQ\"]], False]", "msgs": [], "secs": 0.079} +{"i": 274, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 275, "status": "ok", "out": "True", "msgs": [], "secs": 0.007} +{"i": 276, "status": "ok", "out": "RegularQ[Tree[4, List[Tree[1, List[Tree[9, None], Tree[5, List[Tree[6, List[Tree[8, None], Tree[10, List[Tree[2, None]]], Tree[3, None], Tree[7, None]]]]]]]]]]", "msgs": [], "secs": 0.02} +{"i": 277, "status": "ok", "out": "True", "msgs": [], "secs": 0.004} +{"i": 278, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RegularGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"k\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a semirandom \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\)-regular graph on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices, if such a graph exists.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RegularGraph, List[RuleDelayed[RegularGraph[Pattern[Combinatorica`Private`k, Blank[Integer]], Pattern[Combinatorica`Private`n, Blank[Integer]]], RealizeDegreeSequence[Table[Combinatorica`Private`k, List[Combinatorica`Private`n]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RegularGraph\"]], False]", "msgs": [], "secs": 0.15} +{"i": 279, "status": "ok", "out": "", "msgs": [], "secs": 0.032} +{"i": 280, "status": "ok", "out": "", "msgs": [], "secs": 0.015} +{"i": 281, "status": "ok", "out": "", "msgs": [], "secs": 0.056} +{"i": 282, "status": "ok", "out": "List[List[1, Null], List[10971, Null]]", "msgs": [], "secs": 0.202} +{"i": 283, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MakeGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"f\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs the graph with vertices corresponding to \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) and edges between all pairs of vertices \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"y\\\", \\\"TI\\\"]\\) in \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) for which the binary relation defined by the Boolean function \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) is True.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MakeGraph, List[RuleDelayed[MakeGraph[Pattern[Combinatorica`Private`v, Blank[List]], Pattern[Combinatorica`Private`f, Blank[]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`label, Combinatorica`Private`g, Combinatorica`Private`l], CompoundExpression[Set[List[Combinatorica`Private`type, Combinatorica`Private`label], ReplaceAll[List[Type, VertexLabel], Flatten[List[Combinatorica`Private`opts, Options[MakeGraph]]]]], Set[Combinatorica`Private`g, If[SameQ[Combinatorica`Private`type, Directed], FromAdjacencyMatrix[Combinatorica`Private`MakeGraph1[Combinatorica`Private`v, Combinatorica`Private`f], Rule[Type, Directed]], FromAdjacencyMatrix[Combinatorica`Private`MakeGraph1[Combinatorica`Private`v, Combinatorica`Private`f], Rule[Type, Undirected]]]], If[Or[SameQ[Combinatorica`Private`label, On], SameQ[Combinatorica`Private`label, True], SameQ[Combinatorica`Private`label, Automatic]], CompoundExpression[Set[Combinatorica`Private`l, Combinatorica`Private`v], Null]], If[ListQ[Combinatorica`Private`l], SetVertexLabels[Combinatorica`Private`g, Combinatorica`Private`l], Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Directed], Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MakeGraph\"]], False]", "msgs": [], "secs": 0.062} +{"i": 284, "status": "ok", "out": "Null", "msgs": [], "secs": 0.03} +{"i": 285, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 286, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 287, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 288, "status": "ok", "out": "", "msgs": [], "secs": 0.018000000000000002} +{"i": 289, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"IntervalGraph\\\", \\\"[\\\", StyleBox[\\\"l\\\", \\\"TI\\\"], \\\"]\\\"}]\\) constructs the interval graph defined by the list of intervals \\!\\(\\*StyleBox[\\\"l\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IntervalGraph, List[RuleDelayed[IntervalGraph[Pattern[Combinatorica`Private`l, Blank[List]]], MakeSimple[MakeGraph[Combinatorica`Private`l, Function[Or[And[LessEqual[First[Slot[1]], First[Slot[2]]], GreaterEqual[Last[Slot[1]], First[Slot[2]]]], And[LessEqual[First[Slot[2]], First[Slot[1]]], GreaterEqual[Last[Slot[2]], First[Slot[1]]]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IntervalGraph\"]], False]", "msgs": [], "secs": 0.039} +{"i": 290, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 291, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 292, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 293, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 294, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"FunctionalGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) takes a set \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) and a function \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) from \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) to \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) and constructs a directed graph with vertex set \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) and edges \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\"[\\\", StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"]\\\"}]}], \\\"}\\\"}]\\) for each \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) in \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"FunctionalGraph\\\", \\\"[\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs a graph with vertex set \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) and edge set \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", RowBox[{SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]], \\\"[\\\", StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"]\\\"}]}], \\\"}\\\"}]\\) for each \\!\\(\\*SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]]\\). An option called Type that takes on the values Directed and Undirected is allowed. \\!\\(\\*RowBox[{\\\"Type\\\", \\\"->\\\", \\\"Directed\\\"}]\\) is the default, while \\!\\(\\*RowBox[{\\\"Type\\\", \\\"->\\\", \\\"Undirected\\\"}]\\) returns the corresponding underlying undirected graph. \\n\\!\\(\\*RowBox[{\\\"FunctionalGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) takes a nonnegative integer \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) and a function \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) from \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"-\\\", \\\"1\\\"}]}], \\\"}\\\"}]\\) onto itself and produces the directed graph with vertex set \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"-\\\", \\\"1\\\"}]}], \\\"}\\\"}]\\) and edge set \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\"[\\\", StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"]\\\"}]}], \\\"}\\\"}]\\) for each vertex \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FunctionalGraph, List[RuleDelayed[FunctionalGraph[Pattern[Combinatorica`Private`f, Blank[]], Pattern[Combinatorica`Private`n, Blank[Integer]]], FromOrderedPairs[Table[Plus[List[Combinatorica`Private`i, Mod[Apply[Combinatorica`Private`f, List[Combinatorica`Private`i]], Combinatorica`Private`n]], 1], List[Combinatorica`Private`i, 0, Plus[Combinatorica`Private`n, -1]]]]], RuleDelayed[FunctionalGraph[Pattern[Combinatorica`Private`f, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`t, Combinatorica`Private`i, Combinatorica`Private`j], CompoundExpression[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[FunctionalGraph]]]]], Set[Combinatorica`Private`t, Flatten[Table[Table[List[Combinatorica`Private`i, Part[Position[Combinatorica`Private`v, Apply[Part[Combinatorica`Private`f, Combinatorica`Private`j], List[Part[Combinatorica`Private`v, Combinatorica`Private`i]]]], 1, 1]], List[Combinatorica`Private`j, Length[Combinatorica`Private`f]]], List[Combinatorica`Private`i, Length[Combinatorica`Private`v]]], 1]], If[SameQ[Combinatorica`Private`type, Directed], FromOrderedPairs[Combinatorica`Private`t, Rule[Type, Directed]], FromOrderedPairs[Combinatorica`Private`t, Rule[Type, Undirected]]]]]], RuleDelayed[FunctionalGraph[Pattern[Combinatorica...", "msgs": [], "secs": 0.062} +{"i": 295, "status": "ok", "out": "", "msgs": [], "secs": 0.01} diff --git a/book/wma/Chapter5.s1.jsonl b/book/wma/Chapter5.s1.jsonl new file mode 100644 index 0000000..0359179 --- /dev/null +++ b/book/wma/Chapter5.s1.jsonl @@ -0,0 +1,518 @@ +{"i": 1, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`ConnectedComponents\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ConnectedComponents, List[RuleDelayed[ConnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Block[List[Set[Combinatorica`Private`untraversed, Range[V[Combinatorica`Private`g]]], Combinatorica`Private`visit, Combinatorica`Private`edges, Set[Combinatorica`Private`comps, List[]], Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Set[Combinatorica`Private`parent, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`cnt, 1], Set[$RecursionLimit, Infinity], Combinatorica`Private`start], CompoundExpression[While[Unequal[Combinatorica`Private`untraversed, List[]], CompoundExpression[Set[Combinatorica`Private`visit, List[]], Set[Combinatorica`Private`edges, List[]], Set[Combinatorica`Private`start, First[Combinatorica`Private`untraversed]], Set[Part[Combinatorica`Private`parent, Combinatorica`Private`start], Combinatorica`Private`start], Combinatorica`Private`DFS[Combinatorica`Private`start], AppendTo[Combinatorica`Private`comps, Combinatorica`Private`visit], Set[Combinatorica`Private`untraversed, Complement[Combinatorica`Private`untraversed, Combinatorica`Private`visit]]]], ToCanonicalSetPartition[Combinatorica`Private`comps]]], UndirectedQ[Combinatorica`Private`g]]], RuleDelayed[ConnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], ConnectedComponents[MakeUndirected[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ConnectedComponents\"]], False]", "msgs": [], "secs": 0.059000000000000004} +{"i": 2, "status": "ok", "out": "List[List[1, 7], List[2, 5], List[3, 9], List[4, 6], List[8, 10]]", "msgs": [], "secs": 0.002} +{"i": 3, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 4, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]]", "msgs": [], "secs": 0.004} +{"i": 5, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 6, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 7, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 8, "status": "ok", "out": "List[List[1, 2, 3, 4, 5], List[6, 7, 8, 9, 10, 11, 12, 13, 14, 15]]", "msgs": [], "secs": 0.0} +{"i": 9, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], List[11, 12, 13, 14, 15, 16, 17, 18, 19, 20], List[21, 22, 23, 24, 25, 26, 27, 28, 29, 30], List[31, 32, 33, 34, 35, 36, 37, 38, 39, 40], List[41, 42, 43, 44, 45, 46, 47, 48, 49, 50], List[51, 52, 53, 54, 55, 56, 57, 58, 59, 60], List[61, 62, 63, 64, 65, 66, 67, 68, 69, 70], List[71, 72, 73, 74, 75, 76, 77, 78, 79, 80], List[81, 82, 83, 84, 85, 86, 87, 88, 89, 90], List[91, 92, 93, 94, 95, 96, 97, 98, 99, 100]]", "msgs": [], "secs": 0.005} +{"i": 10, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 11, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 12, "status": "ok", "out": "List[Graph[List[List[List[5, 9]], List[List[7, 11]], List[List[7, 20]], List[List[9, 27]], List[List[25, 31]], List[List[27, 33]], List[List[3, 35]], List[List[11, 37]], List[List[5, 40]], List[List[22, 49]], List[List[33, 52]], List[List[37, 52]], List[List[15, 53]], List[List[41, 53]], List[List[47, 54]], List[List[28, 55]], List[List[32, 62]], List[List[35, 62]], List[List[61, 63]], List[List[9, 64]], List[List[18, 64]], List[List[29, 64]], List[List[49, 64]], List[List[47, 65]], List[List[51, 66]], List[List[40, 67]], List[List[35, 69]], List[List[40, 69]], List[List[23, 71]], List[List[39, 71]], List[List[28, 73]], List[List[41, 79]], List[List[73, 80]], List[List[15, 81]], List[List[52, 81]], List[List[12, 82]], List[List[30, 88]], List[List[41, 88]], List[List[60, 88]], List[List[63, 88]], List[List[8, 90]], List[List[67, 94]], List[List[32, 96]], List[List[6, 97]], List[List[1, 99]], List[List[7, 100]]], List[List[List[99803, 6279]], List[List[99211, 12533]], List[List[98229, 18738]], List[List[96858, 24869]], List[List[95106, 30902]], List[List[92978, 36812]], List[List[90483, 42578]], List[List[87631, 48175]], List[List[84433, 53583]], List[List[80902, 58779]], List[List[77051, 63742]], List[List[72897, 68455]], List[List[68455, 72897]], List[List[63742, 77051]], List[List[58779, 80902]], List[List[53583, 84433]], List[List[48175, 87631]], List[List[42578, 90483]], List[List[36812, 92978]], List[List[30902, 95106]], List[List[24869, 96858]], List[List[18738, 98229]], List[List[12533, 99211]], List[List[6279, 99803]], List[List[0, 100000]], List[List[-6279, 99803]], List[List[-12533, 99211]], List[List[-18738, 98229]], List[List[-24869, 96858]], List[List[-30902, 95106]], List[List[-36812, 92978]], List[List[-42578, 90483]], List[List[-48175, 87631]], List[List[-53583, 84433]], List[List[-58779, 80902]], List[List[-63742, 77051]], List[List[-68455, 72897]], List[List[-72897, 68455]], List[List[-77051, 63742]], List[List[-80902, 58779]], List[List[-84433, 53583]], List[List[-87631, 48175]], List[List[-90483, 42578]], List[List[-92978, 36812]], List[List[-95106, 30902]], List[List[-96858, 24869]], List[List[-98229, 18738]], List[List[-99211, 12533]], List[List[-99803, 6279]], List[List[-100000, 0]], List[List[-99803, -6279]], List[List[-99211, -12533]], List[List[-98229, -18738]], List[List[-96858, -24869]], List[List[-95106, -30902]], List[List[-92978, -36812]], List[List[-90483, -42578]], List[List[-87631, -48175]], List[List[-84433, -53583]], List[List[-80902, -58779]], List[List[-77051, -63742]], List[List[-72897, -68455]], List[List[-68455, -72897]], List[List[-63742, -77051]], List[List[-58779, -80902]], List[List[-53583, -84433]], List[List[-48175, -87631]], List[List[-42578, -90483]], List[List[-36812, -92978]], List[List[-30902, -95106]], List[List[-24869, -96858]], List[List[-18738, -98229]], List[List[-12533, -99211]], List[List[-6279, -99803]], List[List[0, -100000]], List[List[6279, -99803]], List[List[12533, -99211]], List[List[18738, -98229]], List[List[24869, -96858]], List[List[30902, -95106]], List[List[36812, -92978]], List[List[42578, -90483]], List[List[48175, -87631]], List[List[53583, -84433]], List[List[58779, -80902]], List[List[63742, -77051]], List[List[68455, -72897]], List[List[72897, -68455]], List[List[77051, -63742]], List[List[80902, -58779]], List[List[84433, -53583]], List[List[87631, -48175]], List[List[90483, -42578]], List[List[92978, -36812]], List[List[95106, -30902]], List[List[96858, -24869]], List[List[98229, -18738]], List[List[99211, -12533]], List[List[99803, -6279]], List[List[100000, 0]]]], Graph[List[List[List[15, 23]], List[List[9, 24]], List[List[21, 29]], List[List[19, 35]], List[List[22, 38]], List[List[26, 39]], List[List[13, 40]], List[List[5, 41]], List[List[10, 44]], List[List[9, 47]], List[List[15, 51]], List[List[37, 55]], List[List[11, 61]], List[List[32, 66]], List[List[29, 69]], List[List[49, 70]], List[List[65, 71]], List[List[36, 72]], List[List[32, 75]], L...", "msgs": [], "secs": 0.079} +{"i": 13, "status": "ok", "out": "List[List[1, 54], List[1, 32], List[1, 22], List[1, 8], List[1, 6]]", "msgs": [], "secs": 0.049} +{"i": 14, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 15, "status": "ok", "out": "List[List[155, Null], List[366, Null], List[619, Null], List[1160, Null], List[1653, Null], List[2103, Null], List[3000, Null], List[4172, Null], List[5360, Null], List[6386, Null]]", "msgs": [], "secs": 0.34900000000000003} +{"i": 16, "status": "msg", "out": "ListPlot[List[Part[List[155, Null], 1, 1], Part[List[366, Null], 1, 1], Part[List[619, Null], 1, 1], Part[List[1160, Null], 1, 1], Part[List[1653, Null], 1, 1], Part[List[2103, Null], 1, 1], Part[List[3000, Null], 1, 1], Part[List[4172, Null], 1, 1], Part[List[5360, Null], 1, 1], Part[List[6386, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "\"Further output of `1` will be suppressed during this calculation.\"", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.113} +{"i": 17, "status": "ok", "out": "Null", "msgs": [], "secs": 0.937} +{"i": 18, "status": "ok", "out": "List[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]", "msgs": [], "secs": 0.0} +{"i": 19, "status": "ok", "out": "List[101, 188, 291, 403, 488, 588, 674, 773, 875, 975]", "msgs": [], "secs": 0.0} +{"i": 20, "status": "ok", "out": "List[List[214, Null], List[433, Null], List[592, Null], List[620, Null], List[704, Null], List[868, Null], List[1056, Null], List[1316, Null], List[1286, Null], List[1655, Null]]", "msgs": [], "secs": 0.096} +{"i": 21, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 22, "status": "msg", "out": "ListPlot[List[Part[List[214, Null], 1, 1], Part[List[433, Null], 1, 1], Part[List[592, Null], 1, 1], Part[List[620, Null], 1, 1], Part[List[704, Null], 1, 1], Part[List[868, Null], 1, 1], Part[List[1056, Null], 1, 1], Part[List[1316, Null], 1, 1], Part[List[1286, Null], 1, 1], Part[List[1655, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 23, "status": "ok", "out": "List[List[8241, Null], List[26631, Null]]", "msgs": [], "secs": 0.449} +{"i": 24, "status": "ok", "out": "Graph[List[List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[16, 17]], List[List[17, 18]], List[List[19, 20]], List[List[23, 24]], List[List[24, 25]], List[List[25, 26]], List[List[26, 27]], List[List[27, 28]], List[List[28, 29]], List[List[30, 31]], List[List[31, 32]], List[List[34, 35]], List[List[38, 39]], List[List[39, 40]], List[List[40, 41]], List[List[42, 43]], List[List[45, 46]], List[List[46, 47]], List[List[47, 48]], List[List[48, 49]], List[List[50, 51]], List[List[51, 52]], List[List[52, 53]], List[List[54, 55]], List[List[56, 57]], List[List[57, 58]], List[List[59, 60]], List[List[60, 61]], List[List[61, 62]], List[List[66, 67]], List[List[69, 70]], List[List[70, 71]], List[List[74, 75]], List[List[76, 77]], List[List[77, 78]], List[List[78, 79]], List[List[82, 83]], List[List[83, 84]], List[List[86, 87]], List[List[88, 89]], List[List[89, 90]], List[List[92, 93]], List[List[93, 94]], List[List[94, 95]], List[List[100, 101]], List[List[101, 102]], List[List[103, 104]], List[List[104, 105]], List[List[107, 108]], List[List[111, 112]], List[List[114, 115]], List[List[116, 117]], List[List[118, 119]], List[List[120, 121]], List[List[123, 124]], List[List[126, 127]], List[List[128, 129]], List[List[132, 133]], List[List[133, 134]], List[List[134, 135]], List[List[135, 136]], List[List[138, 139]], List[List[139, 140]], List[List[141, 142]], List[List[142, 143]], List[List[143, 144]], List[List[144, 145]], List[List[146, 147]], List[List[148, 149]], List[List[149, 150]], List[List[150, 151]], List[List[151, 152]], List[List[153, 154]], List[List[158, 159]], List[List[161, 162]], List[List[162, 163]], List[List[163, 164]], List[List[166, 167]], List[List[167, 168]], List[List[169, 170]], List[List[170, 171]], List[List[172, 173]], List[List[174, 175]], List[List[176, 177]], List[List[179, 180]], List[List[180, 181]], List[List[181, 182]], List[List[183, 184]], List[List[184, 185]], List[List[188, 189]], List[List[190, 191]], List[List[191, 192]], List[List[193, 194]], List[List[195, 196]], List[List[197, 198]], List[List[199, 200]], List[List[202, 203]], List[List[203, 204]], List[List[205, 206]], List[List[208, 209]], List[List[209, 210]], List[List[210, 211]], List[List[212, 213]], List[List[213, 214]], List[List[214, 215]], List[List[215, 216]], List[List[221, 222]], List[List[222, 223]], List[List[223, 224]], List[List[225, 226]], List[List[229, 230]], List[List[231, 232]], List[List[232, 233]], List[List[233, 234]], List[List[237, 238]], List[List[238, 239]], List[List[239, 240]], List[List[242, 243]], List[List[246, 247]], List[List[247, 248]], List[List[249, 250]], List[List[250, 251]], List[List[253, 254]], List[List[256, 257]], List[List[257, 258]], List[List[260, 261]], List[List[261, 262]], List[List[262, 263]], List[List[264, 265]], List[List[266, 267]], List[List[269, 270]], List[List[270, 271]], List[List[271, 272]], List[List[273, 274]], List[List[282, 283]], List[List[283, 284]], List[List[288, 289]], List[List[290, 291]], List[List[291, 292]], List[List[292, 293]], List[List[293, 294]], List[List[294, 295]], List[List[296, 297]], List[List[297, 298]], List[List[300, 301]], List[List[301, 302]], List[List[308, 309]], List[List[309, 310]], List[List[310, 311]], List[List[311, 312]], List[List[312, 313]], List[List[313, 314]], List[List[315, 316]], List[List[316, 317]], List[List[317, 318]], List[List[319, 320]], List[List[320, 321]], List[List[323, 324]], List[List[329, 330]], List[List[335, 336]], List[List[337, 338]], List[List[342, 343]], List[List[343, 344]], List[List[347, 348]], List[List[349, 350]], List[List[353, 354]], List[List[355, 356]], List[List[357, 358]], List[List[358, 359]], List[List[359, 360]], List[List[363, 364]], List[List[366, 367]], List[List[369, 370]], List[List[372, 373]], List[List[375, 376]], List[List[376, 377]], List[List[378, 379]], List[List[380, 381]], List[List[382, 383]], List[List[383, 384]], List[List...", "msgs": [], "secs": 3.0220000000000002} +{"i": 25, "status": "ok", "out": "2483", "msgs": [], "secs": 0.0} +{"i": 26, "status": "ok", "out": "2477", "msgs": [], "secs": 0.0} +{"i": 27, "status": "ok", "out": "", "msgs": [], "secs": 2.289} +{"i": 28, "status": "ok", "out": "List[6979, Null]", "msgs": [], "secs": 0.112} +{"i": 29, "status": "ok", "out": "350", "msgs": [], "secs": 0.0} +{"i": 30, "status": "ok", "out": "154", "msgs": [], "secs": 0.0} +{"i": 31, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[10, 11]], List[List[11, 12]], List[List[12, 13]], List[List[13, 14]], List[List[14, 15]], List[List[15, 16]], List[List[16, 17]], List[List[17, 18]], List[List[18, 19]], List[List[19, 20]], List[List[20, 21]], List[List[21, 22]], List[List[22, 23]], List[List[23, 24]], List[List[24, 25]], List[List[25, 26]], List[List[26, 27]], List[List[27, 28]], List[List[28, 29]], List[List[29, 30]], List[List[30, 31]], List[List[31, 32]], List[List[32, 33]], List[List[33, 34]], List[List[34, 35]], List[List[35, 36]], List[List[36, 37]], List[List[37, 38]], List[List[38, 39]], List[List[39, 40]], List[List[40, 41]], List[List[41, 42]], List[List[42, 43]], List[List[43, 44]], List[List[44, 45]], List[List[45, 46]], List[List[46, 47]], List[List[47, 48]], List[List[48, 49]], List[List[49, 50]], List[List[50, 51]], List[List[51, 52]], List[List[52, 53]], List[List[53, 54]], List[List[54, 55]], List[List[55, 56]], List[List[56, 57]], List[List[57, 58]], List[List[58, 59]], List[List[59, 60]], List[List[60, 61]], List[List[61, 62]], List[List[62, 63]], List[List[63, 64]], List[List[64, 65]], List[List[65, 66]], List[List[66, 67]], List[List[67, 68]], List[List[68, 69]], List[List[69, 70]], List[List[70, 71]], List[List[71, 72]], List[List[72, 73]], List[List[73, 74]], List[List[74, 75]], List[List[75, 76]], List[List[76, 77]], List[List[77, 78]], List[List[78, 79]], List[List[79, 80]], List[List[80, 81]], List[List[81, 82]], List[List[82, 83]], List[List[83, 84]], List[List[84, 85]], List[List[85, 86]], List[List[86, 87]], List[List[87, 88]], List[List[88, 89]], List[List[89, 90]], List[List[90, 91]], List[List[91, 92]], List[List[92, 93]], List[List[93, 94]], List[List[94, 95]], List[List[95, 96]], List[List[96, 97]], List[List[97, 98]], List[List[98, 99]], List[List[99, 100]], List[List[101, 102]], List[List[102, 103]], List[List[103, 104]], List[List[104, 105]], List[List[105, 106]], List[List[106, 107]], List[List[107, 108]], List[List[108, 109]], List[List[109, 110]], List[List[110, 111]], List[List[111, 112]], List[List[112, 113]], List[List[113, 114]], List[List[114, 115]], List[List[115, 116]], List[List[116, 117]], List[List[117, 118]], List[List[118, 119]], List[List[119, 120]], List[List[120, 121]], List[List[121, 122]], List[List[122, 123]], List[List[123, 124]], List[List[124, 125]], List[List[125, 126]], List[List[126, 127]], List[List[127, 128]], List[List[128, 129]], List[List[129, 130]], List[List[130, 131]], List[List[131, 132]], List[List[132, 133]], List[List[133, 134]], List[List[134, 135]], List[List[135, 136]], List[List[136, 137]], List[List[137, 138]], List[List[138, 139]], List[List[139, 140]], List[List[140, 141]], List[List[141, 142]], List[List[142, 143]], List[List[143, 144]], List[List[144, 145]], List[List[145, 146]], List[List[146, 147]], List[List[147, 148]], List[List[148, 149]], List[List[149, 150]], List[List[150, 151]], List[List[151, 152]], List[List[152, 153]], List[List[153, 154]], List[List[154, 155]], List[List[155, 156]], List[List[156, 157]], List[List[157, 158]], List[List[158, 159]], List[List[159, 160]], List[List[160, 161]], List[List[161, 162]], List[List[162, 163]], List[List[163, 164]], List[List[164, 165]], List[List[165, 166]], List[List[166, 167]], List[List[167, 168]], List[List[168, 169]], List[List[169, 170]], List[List[170, 171]], List[List[171, 172]], List[List[172, 173]], List[List[173, 174]], List[List[174, 175]], List[List[175, 176]], List[List[176, 177]], List[List[177, 178]], List[List[178, 179]], List[List[179, 180]], List[List[180, 181]], List[List[181, 182]], List[List[182, 183]], List[List[183, 184]], List[List[184, 185]], List[List[185, 186]], List[List[186, 187]], List[List[187, 188]], List[List[188, 189]], List[List[189, 190]], List[List[190, 191]], List[List[191, 192]], List[List[192, 193]], L...", "msgs": [], "secs": 0.17500000000000002} +{"i": 32, "status": "ok", "out": "Null", "msgs": [], "secs": 54.9} +{"i": 33, "status": "ok", "out": "", "msgs": [], "secs": 2.318} +{"i": 34, "status": "ok", "out": "5002", "msgs": [], "secs": 0.0} +{"i": 35, "status": "ok", "out": "4995", "msgs": [], "secs": 0.0} +{"i": 36, "status": "ok", "out": "List[17316, Null]", "msgs": [], "secs": 0.274} +{"i": 37, "status": "ok", "out": "List[676, 169]", "msgs": [], "secs": 0.0} +{"i": 38, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ConnectedQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if undirected graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is connected. If \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is directed, the function returns True if the underlying undirected graph is connected. \\n\\!\\(\\*RowBox[{\\\"ConnectedQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"Strong\\\"}], \\\"]\\\"}]\\) yields True if the directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is strongly connected.\\n\\!\\(\\*RowBox[{\\\"ConnectedQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"Weak\\\"}], \\\"]\\\"}]\\) yields True if the directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is weakly connected.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ConnectedQ, List[RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[True, Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Blank[]], Condition[True, Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Equal[Length[DepthFirstTraversal[Combinatorica`Private`g, 1]], V[Combinatorica`Private`g]], UndirectedQ[Combinatorica`Private`g]]], RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Equal[Length[DepthFirstTraversal[MakeUndirected[Combinatorica`Private`g], 1]], V[Combinatorica`Private`g]]], RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Weak], Condition[Equal[Length[WeaklyConnectedComponents[Combinatorica`Private`g]], 1], Not[UndirectedQ[Combinatorica`Private`g]]]], RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Strong], Condition[Equal[Length[StronglyConnectedComponents[Combinatorica`Private`g]], 1], Not[UndirectedQ[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ConnectedQ\"]], False]", "msgs": [], "secs": 0.078} +{"i": 39, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 40, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 41, "status": "ok", "out": "ConnectedQ[Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]], Weak]", "msgs": [], "secs": 0.0} +{"i": 42, "status": "ok", "out": "True", "msgs": [], "secs": 0.012} +{"i": 43, "status": "ok", "out": "ConnectedQ[SetGraphOptions[Tree[8, List[Tree[10, List[Tree[20, List[Tree[12, List[Tree[2, List[Tree[16, List[Tree[6, None]]]]]]], Tree[15, None], Tree[13, None]]]]], Tree[3, List[Tree[7, None], Tree[19, List[Tree[1, List[Tree[5, None]]]]]]], Tree[9, None], Tree[11, List[Tree[18, None]]], Tree[17, List[Tree[4, None]]], Tree[14, None]]], Rule[EdgeDirection, On]], Strong]", "msgs": [], "secs": 0.468} +{"i": 44, "status": "ok", "out": "ConnectedQ[SetGraphOptions[Tree[4, List[Tree[7, List[Tree[13, List[Tree[9, None], Tree[8, None], Tree[6, List[Tree[12, List[Tree[16, List[Tree[3, None], Tree[11, None]]], Tree[10, None]]], Tree[1, None], Tree[2, None], Tree[20, List[Tree[19, None]]]]]]], Tree[18, None], Tree[15, List[Tree[14, List[Tree[5, None]]]]], Tree[17, None]]]]], Rule[EdgeDirection, On]], Weak]", "msgs": [], "secs": 0.001} +{"i": 45, "status": "ok", "out": "ConnectedQ[Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]], Weak]", "msgs": [], "secs": 0.0} +{"i": 46, "status": "ok", "out": "ConnectedQ[Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]], Strong]", "msgs": [], "secs": 0.0} +{"i": 47, "status": "crash", "out": "", "msgs": [], "secs": null} +{"i": 48, "status": "ok", "out": "ShowGraph[g, Rule[VertexNumber, Text[List[3000, 0], Rule[TextStyle, List[Rule[FontSize, 14], Rule[FontColor, RGBColor[0, 0, 1]], Rule[FontWeight, Bold]]]]], Rule[PlotRange, Large[5000]]]", "msgs": [], "secs": 0.0} +{"i": 49, "status": "ok", "out": "ConnectedQ[g, Weak]", "msgs": [], "secs": 0.0} +{"i": 50, "status": "ok", "out": "ConnectedQ[g, Strong]", "msgs": [], "secs": 0.0} +{"i": 51, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 52, "status": "ok", "out": "ConnectedQ[AddEdges[g, List[List[List[9, 1]], List[List[10, 1]]]], Strong]", "msgs": [], "secs": 0.0} +{"i": 53, "status": "ok", "out": "ConnectedQ[AddEdges[g, List[List[List[9, 1]], List[List[10, 1]]]], Weak]", "msgs": [], "secs": 0.0} +{"i": 54, "status": "ok", "out": "ShowGraph[AddEdges[g, List[List[List[9, 1]], List[List[10, 1]]]]]", "msgs": [], "secs": 0.0} +{"i": 55, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`WeaklyConnectedComponents\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, WeaklyConnectedComponents, List[RuleDelayed[WeaklyConnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], ConnectedComponents[MakeUndirected[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`WeaklyConnectedComponents\"]], False]", "msgs": [], "secs": 0.334} +{"i": 56, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"StronglyConnectedComponents\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the strongly connected components of directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) as lists of vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, StronglyConnectedComponents, List[RuleDelayed[StronglyConnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Block[List[Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`s, Set[Combinatorica`Private`c, 1], Combinatorica`Private`i, Set[Combinatorica`Private`cur, List[]], Set[Combinatorica`Private`low, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`dfs, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`scc, List[]]], CompoundExpression[While[Unequal[Set[Combinatorica`Private`s, Select[Range[V[Combinatorica`Private`g]], Function[Equal[Part[Combinatorica`Private`dfs, Slot[1]], 0]]]], List[]], CompoundExpression[Combinatorica`Private`SearchStrongComp[First[Combinatorica`Private`s]], Null]], ToCanonicalSetPartition[Combinatorica`Private`scc]]], Not[UndirectedQ[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`StronglyConnectedComponents\"]], False]", "msgs": [], "secs": 0.11900000000000001} +{"i": 57, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.117} +{"i": 58, "status": "ok", "out": "ShowGraph[s, Rule[VertexNumber, Text[List[-4000, -4000]]], Rule[PlotRange, Large[5000]]]", "msgs": [], "secs": 0.0} +{"i": 59, "status": "ok", "out": "WeaklyConnectedComponents[s]", "msgs": [], "secs": 0.0} +{"i": 60, "status": "ok", "out": "StronglyConnectedComponents[s]", "msgs": [], "secs": 0.0} +{"i": 61, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.002} +{"i": 62, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Further output of `1` will be suppressed during this calculation.\"", "\"Uncaught `1` returned to top level.\"", "\"Further output of `1` will be suppressed during this calculation.\""], "secs": 0.014} +{"i": 63, "status": "ok", "out": "Null", "msgs": [], "secs": 6.864} +{"i": 64, "status": "ok", "out": "List[List[1205, Null], List[1602, Null], List[3713, Null], List[8292, Null], List[14790, Null], List[25926, Null], List[46506, Null], List[66267, Null], List[106704, Null], List[143700, Null]]", "msgs": [], "secs": 20.642} +{"i": 65, "status": "ok", "out": "List[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]", "msgs": [], "secs": 0.007} +{"i": 66, "status": "ok", "out": "List[109, 799, 2682, 6311, 12454, 21441, 34193, 50991, 72762, 99731]", "msgs": [], "secs": 0.0} +{"i": 67, "status": "msg", "out": "ListPlot[List[Part[List[1205, Null], 1, 1], Part[List[1602, Null], 1, 1], Part[List[3713, Null], 1, 1], Part[List[8292, Null], 1, 1], Part[List[14790, Null], 1, 1], Part[List[25926, Null], 1, 1], Part[List[46506, Null], 1, 1], Part[List[66267, Null], 1, 1], Part[List[106704, Null], 1, 1], Part[List[143700, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "\"Further output of `1` will be suppressed during this calculation.\"", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 1.067} +{"i": 68, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 69, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 70, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 71, "status": "msg", "out": "$Failed", "msgs": ["Get::noopen"], "secs": 0.045} +{"i": 72, "status": "msg", "out": "MultipleListPlot[List[Part[List[1205, Null], 1, 1], Part[List[1602, Null], 1, 1], Part[List[3713, Null], 1, 1], Part[List[8292, Null], 1, 1], Part[List[14790, Null], 1, 1], Part[List[25926, Null], 1, 1], Part[List[46506, Null], 1, 1], Part[List[66267, Null], 1, 1], Part[List[106704, Null], 1, 1], Part[List[143700, Null], 1, 1]], List[Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd"], "secs": 0.001} +{"i": 73, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.181} +{"i": 74, "status": "ok", "out": "List[List[0, Null], List[10, Null], 1, 1]", "msgs": [], "secs": 0.002} +{"i": 75, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"OrientGraph\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns a direction to each edge of a bridgeless, undirected graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), so that the graph is strongly connected.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, OrientGraph, List[RuleDelayed[OrientGraph[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Combinatorica`Private`pairs, Combinatorica`Private`newg, Combinatorica`Private`rest, Combinatorica`Private`cc, Combinatorica`Private`c, Combinatorica`Private`i, Combinatorica`Private`e], CompoundExpression[Set[Combinatorica`Private`pairs, Flatten[Map[Function[Partition[Slot[1], 2, 1]], ExtractCycles[Combinatorica`Private`g]], 1]], Set[Combinatorica`Private`newg, FromUnorderedPairs[Combinatorica`Private`pairs, Vertices[Combinatorica`Private`g, All]]], Set[Combinatorica`Private`rest, ToOrderedPairs[GraphDifference[Combinatorica`Private`g, Combinatorica`Private`newg]]], Set[Combinatorica`Private`cc, Sort[ConnectedComponents[Combinatorica`Private`newg], Function[GreaterEqual[Length[Slot[1]], Length[Slot[2]]]]]], Set[Combinatorica`Private`c, First[Combinatorica`Private`cc]], Do[CompoundExpression[Set[Combinatorica`Private`e, Select[Combinatorica`Private`rest, Function[And[MemberQ[Combinatorica`Private`c, Part[Slot[1], 1]], MemberQ[Part[Combinatorica`Private`cc, Combinatorica`Private`i], Part[Slot[1], 2]]]]]], Set[Combinatorica`Private`rest, Complement[Combinatorica`Private`rest, Combinatorica`Private`e, Map[Reverse, Combinatorica`Private`e]]], Set[Combinatorica`Private`c, Union[Combinatorica`Private`c, Part[Combinatorica`Private`cc, Combinatorica`Private`i]]], Set[Combinatorica`Private`pairs, Join[Combinatorica`Private`pairs, Prepend[Rest[Combinatorica`Private`e], Reverse[Part[Combinatorica`Private`e, 1]]]]]], List[Combinatorica`Private`i, 2, Length[Combinatorica`Private`cc]]], FromOrderedPairs[Join[Combinatorica`Private`pairs, Select[Combinatorica`Private`rest, Function[Greater[Part[Slot[1], 1], Part[Slot[1], 2]]]]], Vertices[Combinatorica`Private`g, All]]]], SameQ[Bridges[Combinatorica`Private`g], List[]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`OrientGraph\"]], False]", "msgs": [], "secs": 0.481} +{"i": 76, "status": "ok", "out": "Null", "msgs": [], "secs": 0.008} +{"i": 77, "status": "ok", "out": "", "msgs": [], "secs": 0.708} +{"i": 78, "status": "ok", "out": "1", "msgs": [], "secs": 0.008} +{"i": 79, "status": "ok", "out": "Null", "msgs": [], "secs": 0.003} +{"i": 80, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.011} +{"i": 81, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.373} +{"i": 82, "status": "ok", "out": "Null", "msgs": [], "secs": 0.306} +{"i": 83, "status": "ok", "out": "1", "msgs": [], "secs": 0.0} +{"i": 84, "status": "ok", "out": "Null", "msgs": [], "secs": 0.013000000000000001} +{"i": 85, "status": "ok", "out": "List[321762, Null]", "msgs": [], "secs": 6.4830000000000005} +{"i": 86, "status": "ok", "out": "List[369194, Null]", "msgs": [], "secs": 14.301} +{"i": 87, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 88, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BiconnectedComponents\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a list of the biconnected components of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). If \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is directed, the underlying undirected graph is used.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BiconnectedComponents, List[RuleDelayed[BiconnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Map[Function[List[Slot[1]]], Range[V[Combinatorica`Private`g]]], EmptyQ[Combinatorica`Private`g]]], RuleDelayed[BiconnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[First[Combinatorica`Private`FindBiconnectedComponents[Combinatorica`Private`g]], UndirectedQ[Combinatorica`Private`g]]], RuleDelayed[BiconnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], First[Combinatorica`Private`FindBiconnectedComponents[MakeUndirected[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`BiconnectedComponents\"]], False]", "msgs": [], "secs": 0.138} +{"i": 89, "status": "ok", "out": "BiconnectedComponents[Tree[16, List[Tree[17, List[Tree[99, None], Tree[59, List[Tree[51, List[Tree[66, List[Tree[11, List[Tree[24, None], Tree[48, List[Tree[69, List[Tree[30, List[Tree[84, List[Tree[81, None]]]]], Tree[14, List[Tree[5, List[Tree[20, None], Tree[62, List[Tree[38, List[Tree[91, List[Tree[87, List[Tree[60, None], Tree[34, None], Tree[76, List[Tree[63, List[Tree[67, List[Tree[27, List[Tree[45, List[Tree[2, List[Tree[15, None], Tree[57, None]]], Tree[79, None], Tree[44, List[Tree[74, None], Tree[33, List[Tree[41, None]]], Tree[37, List[Tree[96, List[Tree[65, List[Tree[12, List[Tree[29, None]]]]]]]]]]], Tree[26, List[Tree[73, None], Tree[55, None]]]]]]], Tree[58, List[Tree[85, None], Tree[7, List[Tree[47, None]]], Tree[22, None]]]]], Tree[1, None]]], Tree[100, None]]]]]]]]], Tree[61, List[Tree[32, None], Tree[86, None], Tree[23, None]]]]]]], Tree[28, None], Tree[52, List[Tree[72, List[Tree[77, List[Tree[36, None], Tree[94, List[Tree[54, None], Tree[75, List[Tree[6, None], Tree[35, None], Tree[90, List[Tree[97, List[Tree[53, None]]], Tree[4, None]]], Tree[19, None], Tree[49, List[Tree[93, None], Tree[50, None]]]]], Tree[82, None]]], Tree[92, List[Tree[13, None]]], Tree[31, List[Tree[56, None]]]]]]], Tree[70, List[Tree[78, None], Tree[95, None]]], Tree[64, None], Tree[40, List[Tree[80, None], Tree[88, List[Tree[89, None]]], Tree[18, List[Tree[71, List[Tree[3, None]]]]], Tree[8, None]]]]]]]]], Tree[25, None], Tree[21, None]]], Tree[43, None], Tree[10, List[Tree[42, None]]], Tree[98, List[Tree[46, None]]]]], Tree[9, None]]]]], Tree[68, None]]]]], Tree[83, List[Tree[39, None]]]]]]", "msgs": [], "secs": 1.2710000000000001} +{"i": 90, "status": "ok", "out": "1", "msgs": [], "secs": 0.0} +{"i": 91, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]]", "msgs": [], "secs": 0.044} +{"i": 92, "status": "ok", "out": "", "msgs": [], "secs": 0.032} +{"i": 93, "status": "ok", "out": "List[List[29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49], List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 49]]", "msgs": [], "secs": 0.004} +{"i": 94, "status": "ok", "out": "Null", "msgs": [], "secs": 0.359} +{"i": 95, "status": "ok", "out": "List[List[58, Null], List[100, Null], List[125, Null], List[168, Null], List[270, Null], List[378, Null], List[370, Null], List[416, Null], List[521, Null], List[526, Null], List[533, Null], List[558, Null], List[663, Null], List[650, Null], List[582, Null], List[683, Null], List[853, Null], List[1056, Null], List[1129, Null], List[893, Null]]", "msgs": [], "secs": 0.187} +{"i": 96, "status": "msg", "out": "ListPlot[List[Part[List[58, Null], 1, 1], Part[List[100, Null], 1, 1], Part[List[125, Null], 1, 1], Part[List[168, Null], 1, 1], Part[List[270, Null], 1, 1], Part[List[378, Null], 1, 1], Part[List[370, Null], 1, 1], Part[List[416, Null], 1, 1], Part[List[521, Null], 1, 1], Part[List[526, Null], 1, 1], Part[List[533, Null], 1, 1], Part[List[558, Null], 1, 1], Part[List[663, Null], 1, 1], Part[List[650, Null], 1, 1], Part[List[582, Null], 1, 1], Part[List[683, Null], 1, 1], Part[List[853, Null], 1, 1], Part[List[1056, Null], 1, 1], Part[List[1129, Null], 1, 1], Part[List[893, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.06} +{"i": 97, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 98, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 99, "status": "msg", "out": "MultipleListPlot[List[Part[List[58, Null], 1, 1], Part[List[100, Null], 1, 1], Part[List[125, Null], 1, 1], Part[List[168, Null], 1, 1], Part[List[270, Null], 1, 1], Part[List[378, Null], 1, 1], Part[List[370, Null], 1, 1], Part[List[416, Null], 1, 1], Part[List[521, Null], 1, 1], Part[List[526, Null], 1, 1], Part[List[533, Null], 1, 1], Part[List[558, Null], 1, 1], Part[List[663, Null], 1, 1], Part[List[650, Null], 1, 1], Part[List[582, Null], 1, 1], Part[List[683, Null], 1, 1], Part[List[853, Null], 1, 1], Part[List[1056, Null], 1, 1], Part[List[1129, Null], 1, 1], Part[List[893, Null], 1, 1]], List[Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd"], "secs": 0.002} +{"i": 100, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BiconnectedQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is biconnected. If \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is directed, the underlying undirected graph is used.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BiconnectedQ, List[RuleDelayed[BiconnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Equal[Length[BiconnectedComponents[Combinatorica`Private`g]], 1]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`BiconnectedQ\"]], False]", "msgs": [], "secs": 0.124} +{"i": 101, "status": "ok", "out": "Null", "msgs": [], "secs": 0.003} +{"i": 102, "status": "ok", "out": "True", "msgs": [], "secs": 0.003} +{"i": 103, "status": "ok", "out": "True", "msgs": [], "secs": 0.005} +{"i": 104, "status": "ok", "out": "False", "msgs": [], "secs": 0.005} +{"i": 105, "status": "ok", "out": "False", "msgs": [], "secs": 0.009000000000000001} +{"i": 106, "status": "ok", "out": "", "msgs": [], "secs": 0.034} +{"i": 107, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ArticulationVertices\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a list of all articulation vertices in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). These are vertices whose removal will disconnect the graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ArticulationVertices, List[RuleDelayed[ArticulationVertices[Pattern[Combinatorica`Private`g, Blank[Graph]]], Union[Last[Combinatorica`Private`FindBiconnectedComponents[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ArticulationVertices\"]], False]", "msgs": [], "secs": 0.088} +{"i": 108, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 109, "status": "ok", "out": "List[20]", "msgs": [], "secs": 0.002} +{"i": 110, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.005} +{"i": 111, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Bridges\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a list of the bridges of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), where each bridge is an edge whose removal disconnects the graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Bridges, List[RuleDelayed[Bridges[Pattern[Combinatorica`Private`g, Blank[Graph]]], Select[BiconnectedComponents[Combinatorica`Private`g], Function[Equal[Length[Slot[1]], 2]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Bridges\"]], False]", "msgs": [], "secs": 0.07100000000000001} +{"i": 112, "status": "ok", "out": "Bridges[Tree[1, List[Tree[10, None], Tree[4, List[Tree[7, List[Tree[2, None], Tree[8, None]]]]], Tree[5, List[Tree[3, None]]], Tree[9, List[Tree[6, None]]]]]]", "msgs": [], "secs": 0.003} +{"i": 113, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 114, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.011} +{"i": 115, "status": "ok", "out": "List[List[5, 6]]", "msgs": [], "secs": 0.002} +{"i": 116, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 117, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`EdgeConnectivity\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EdgeConnectivity, List[RuleDelayed[EdgeConnectivity[Pattern[Combinatorica`Private`gin, Blank[Graph]]], Module[List[Combinatorica`Private`i, Set[Combinatorica`Private`g, Combinatorica`Private`gin]], CompoundExpression[If[MultipleEdgesQ[Combinatorica`Private`g], CompoundExpression[Message[MessageName[EdgeConnectivity, \"multedge\"]], Set[Combinatorica`Private`g, RemoveMultipleEdges[Combinatorica`Private`g, True]]]], Apply[Min, Table[NetworkFlow[Combinatorica`Private`g, 1, Combinatorica`Private`i], List[Combinatorica`Private`i, 2, V[Combinatorica`Private`g]]]]]]], RuleDelayed[EdgeConnectivity[Pattern[Combinatorica`Private`gin, Blank[Graph]], Cut], Module[List[Combinatorica`Private`i, Combinatorica`Private`c, Set[Combinatorica`Private`g, Combinatorica`Private`gin]], CompoundExpression[If[MultipleEdgesQ[Combinatorica`Private`g], CompoundExpression[Message[MessageName[EdgeConnectivity, \"multedge\"]], Set[Combinatorica`Private`g, RemoveMultipleEdges[Combinatorica`Private`g, True]]]], Last[First[Sort[Table[List[Length[Set[Combinatorica`Private`c, NetworkFlow[Combinatorica`Private`g, 1, Combinatorica`Private`i, Cut]]], Combinatorica`Private`c], List[Combinatorica`Private`i, 2, V[Combinatorica`Private`g]]]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EdgeConnectivity\"]], False]", "msgs": [], "secs": 0.154} +{"i": 118, "status": "ok", "out": "2", "msgs": [], "secs": 5.8790000000000004} +{"i": 119, "status": "ok", "out": "1", "msgs": [], "secs": 0.084} +{"i": 120, "status": "ok", "out": "3", "msgs": [], "secs": 0.617} +{"i": 121, "status": "ok", "out": "6", "msgs": [], "secs": 2.212} +{"i": 122, "status": "ok", "out": "12", "msgs": [], "secs": 6.368} +{"i": 123, "status": "ok", "out": "9", "msgs": [], "secs": 0.43} +{"i": 124, "status": "ok", "out": "Null", "msgs": [], "secs": 0.021} +{"i": 125, "status": "ok", "out": "List[List[562, Null], List[762, Null], List[1257, Null], List[1524, Null], List[3067, Null], List[4415, Null], List[9301, Null], List[7963, Null], List[11036, Null], List[9569, Null], List[14235, Null], List[19234, Null], List[23029, Null], List[24357, Null], List[22383, Null]]", "msgs": [], "secs": 2.696} +{"i": 126, "status": "ok", "out": "List[5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75]", "msgs": [], "secs": 0.0} +{"i": 127, "status": "ok", "out": "List[4, 5, 6, 4, 11, 12, 20, 20, 22, 19, 31, 32, 38, 38, 32]", "msgs": [], "secs": 0.0} +{"i": 128, "status": "msg", "out": "ListPlot[List[Part[List[562, Null], 1, 1], Part[List[762, Null], 1, 1], Part[List[1257, Null], 1, 1], Part[List[1524, Null], 1, 1], Part[List[3067, Null], 1, 1], Part[List[4415, Null], 1, 1], Part[List[9301, Null], 1, 1], Part[List[7963, Null], 1, 1], Part[List[11036, Null], 1, 1], Part[List[9569, Null], 1, 1], Part[List[14235, Null], 1, 1], Part[List[19234, Null], 1, 1], Part[List[23029, Null], 1, 1], Part[List[24357, Null], 1, 1], Part[List[22383, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.025} +{"i": 129, "status": "ok", "out": "Null", "msgs": [], "secs": 0.058} +{"i": 130, "status": "timeout", "out": "$TimedOut", "msgs": [], "secs": 510.161} +{"i": 131, "status": "msg", "out": "ListPlot[List[Part[List[562, Null], 1, 1], Part[List[762, Null], 1, 1], Part[List[1257, Null], 1, 1], Part[List[1524, Null], 1, 1], Part[List[3067, Null], 1, 1], Part[List[4415, Null], 1, 1], Part[List[9301, Null], 1, 1], Part[List[7963, Null], 1, 1], Part[List[11036, Null], 1, 1], Part[List[9569, Null], 1, 1], Part[List[14235, Null], 1, 1], Part[List[19234, Null], 1, 1], Part[List[23029, Null], 1, 1], Part[List[24357, Null], 1, 1], Part[List[22383, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.023} +{"i": 132, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 133, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[1, Null]]", "msgs": [], "secs": 0.0} +{"i": 134, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`VertexConnectivity\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, VertexConnectivity, List[RuleDelayed[VertexConnectivity[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[0, EmptyQ[Combinatorica`Private`g]]], RuleDelayed[VertexConnectivity[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Plus[V[Combinatorica`Private`g], -1], CompleteQ[Combinatorica`Private`g]]], RuleDelayed[VertexConnectivity[Pattern[Combinatorica`Private`gin, Blank[Graph]]], Module[List[Set[Combinatorica`Private`g, Combinatorica`Private`gin], Combinatorica`Private`p, Set[Combinatorica`Private`k, V[Combinatorica`Private`gin]], Set[Combinatorica`Private`i, 0], Combinatorica`Private`notedges], CompoundExpression[If[MultipleEdgesQ[Combinatorica`Private`g], CompoundExpression[Message[MessageName[VertexConnectivity, \"multedge\"]], Set[Combinatorica`Private`g, RemoveMultipleEdges[Combinatorica`Private`g, True]]]], Set[Combinatorica`Private`p, VertexConnectivityGraph[Combinatorica`Private`g]], Set[Combinatorica`Private`notedges, ToUnorderedPairs[GraphComplement[Combinatorica`Private`g]]], While[LessEqual[Increment[Combinatorica`Private`i], Combinatorica`Private`k], Set[Combinatorica`Private`k, Min[Map[Function[NetworkFlow[Combinatorica`Private`p, Times[2, Part[Slot[1], 1]], Plus[Times[2, Part[Slot[1], 2]], -1]]], Select[Combinatorica`Private`notedges, Function[Equal[First[Slot[1]], Combinatorica`Private`i]]]], Combinatorica`Private`k]]], Combinatorica`Private`k]]], RuleDelayed[VertexConnectivity[Pattern[Combinatorica`Private`g, Blank[Graph]], Cut], Condition[Range[Plus[V[Combinatorica`Private`g], -1]], CompleteQ[Combinatorica`Private`g]]], RuleDelayed[VertexConnectivity[Pattern[Combinatorica`Private`gin, Blank[Graph]], Cut], Module[List[Set[Combinatorica`Private`g, Combinatorica`Private`gin], Combinatorica`Private`p, Set[Combinatorica`Private`k, V[Combinatorica`Private`gin]], Set[Combinatorica`Private`i, 0], Combinatorica`Private`notedges, Set[Combinatorica`Private`c, List[]], Combinatorica`Private`tc], CompoundExpression[If[MultipleEdgesQ[Combinatorica`Private`g], CompoundExpression[Message[MessageName[VertexConnectivity, \"multedge\"]], Set[Combinatorica`Private`g, RemoveMultipleEdges[Combinatorica`Private`g, True]]]], Set[Combinatorica`Private`p, VertexConnectivityGraph[Combinatorica`Private`g]], Set[Combinatorica`Private`notedges, ToUnorderedPairs[GraphComplement[Combinatorica`Private`g]]], While[LessEqual[Increment[Combinatorica`Private`i], Combinatorica`Private`k], Set[List[Combinatorica`Private`k, Combinatorica`Private`c], First[Sort[Append[Map[Function[List[Length[Set[Combinatorica`Private`tc, NetworkFlow[Combinatorica`Private`p, Times[2, Part[Slot[1], 1]], Plus[Times[2, Part[Slot[1], 2]], -1], Cut]]], Combinatorica`Private`tc]], Select[Combinatorica`Private`notedges, Function[Equal[First[Slot[1]], Combinatorica`Private`i]]]], List[Combinatorica`Private`k, Combinatorica`Private`c]]]]]], Map[Function[Ceiling[Times[First[Slot[1]], Power[2, -1]]]], Combinatorica`Private`c]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`VertexConnectivity\"]], False]", "msgs": [], "secs": 0.196} +{"i": 135, "status": "ok", "out": "2", "msgs": [], "secs": 1.161} +{"i": 136, "status": "ok", "out": "1", "msgs": [], "secs": 0.226} +{"i": 137, "status": "ok", "out": "3", "msgs": [], "secs": 0.0} +{"i": 138, "status": "ok", "out": "DiscreteMath`OldCombinatorica`VertexConnectivity[DiscreteMath`OldCombinatorica`CompleteGraph[4]]", "msgs": [], "secs": 0.0} +{"i": 139, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 140, "status": "ok", "out": "List[95979, Null]", "msgs": [], "secs": 0.993} +{"i": 141, "status": "ok", "out": "List[1, Null]", "msgs": [], "secs": 0.0} +{"i": 142, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"VertexConnectivityGraph\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns a directed graph that contains an edge corresponding to each vertex in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and in which edge-disjoint paths correspond to vertex-disjoint paths in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, VertexConnectivityGraph, List[RuleDelayed[VertexConnectivityGraph[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`n, V[Combinatorica`Private`g]], Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g, All]], Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]], Set[Combinatorica`Private`epsilon, Round[Times[Power[10, 5], 0.05`]]], Combinatorica`Private`ne, Combinatorica`Private`nv], CompoundExpression[Set[Combinatorica`Private`ne, Join[Map[Function[List[List[Times[2, Part[First[Slot[1]], 1]], Plus[Times[2, Part[First[Slot[1]], 2]], -1]], Rule[EdgeWeight, 2]]], Combinatorica`Private`e], Table[List[List[Plus[Times[2, Combinatorica`Private`i], -1], Times[2, Combinatorica`Private`i]]], List[Combinatorica`Private`i, Combinatorica`Private`n]]]], If[UndirectedQ[Combinatorica`Private`g], Set[Combinatorica`Private`ne, Join[Combinatorica`Private`ne, Map[Function[List[List[Times[2, Part[First[Slot[1]], 2]], Plus[Times[2, Part[First[Slot[1]], 1]], -1]], Rule[EdgeWeight, 2]]], Combinatorica`Private`e]]]], Set[Combinatorica`Private`nv, Flatten[Map[Function[List[Prepend[Rest[Slot[1]], Plus[First[Slot[1]], Times[-1, List[Combinatorica`Private`epsilon, 0]]]], Prepend[Rest[Slot[1]], Plus[First[Slot[1]], List[Combinatorica`Private`epsilon, 0]]]]], Combinatorica`Private`v], 1]], SetGraphOptions[ChangeEdges[ChangeVertices[Combinatorica`Private`g, Combinatorica`Private`nv], Combinatorica`Private`ne], Rule[EdgeDirection, True]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`VertexConnectivityGraph\"]], False]", "msgs": [], "secs": 0.077} +{"i": 143, "status": "ok", "out": "", "msgs": [], "secs": 0.035} +{"i": 144, "status": "ok", "out": "ShowGraph[Tree[2, List[Tree[4, List[Tree[3, List[Tree[1, List[Tree[7, None]]]]]]], Tree[9, List[Tree[6, None], Tree[5, List[Tree[8, None]]]]], Tree[10, None]]]]", "msgs": [], "secs": 0.018000000000000002} +{"i": 145, "status": "ok", "out": "ShowGraph[VertexConnectivityGraph[Tree[2, List[Tree[4, List[Tree[3, List[Tree[1, List[Tree[7, None]]]]]]], Tree[9, List[Tree[6, None], Tree[5, List[Tree[8, None]]]]], Tree[10, None]]]], Rule[HeadScaling, Relative], Rule[ImageSize, 400], Rule[VertexStyle, Disc[1500]]]", "msgs": [], "secs": 0.0} +{"i": 146, "status": "ok", "out": "List[52, Null]", "msgs": [], "secs": 0.001} +{"i": 147, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Harary\\\", \\\"[\\\", RowBox[{StyleBox[\\\"k\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs the minimal \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\)-connected graph on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Harary, List[RuleDelayed[Harary[PatternTest[Pattern[Combinatorica`Private`k, Blank[]], EvenQ], Pattern[Combinatorica`Private`n, Blank[Integer]]], Condition[CirculantGraph[Combinatorica`Private`n, Range[Times[Combinatorica`Private`k, Power[2, -1]]]], And[Greater[Combinatorica`Private`k, 1], Greater[Combinatorica`Private`n, Combinatorica`Private`k]]]], RuleDelayed[Harary[PatternTest[Pattern[Combinatorica`Private`k, Blank[]], OddQ], PatternTest[Pattern[Combinatorica`Private`n, Blank[]], EvenQ]], Condition[CirculantGraph[Combinatorica`Private`n, Append[Range[Times[Combinatorica`Private`k, Power[2, -1]]], Times[Combinatorica`Private`n, Power[2, -1]]]], And[Greater[Combinatorica`Private`k, 1], Greater[Combinatorica`Private`n, Combinatorica`Private`k]]]], RuleDelayed[Harary[PatternTest[Pattern[Combinatorica`Private`k, Blank[]], OddQ], PatternTest[Pattern[Combinatorica`Private`n, Blank[]], OddQ]], Condition[AddEdges[Harary[Plus[Combinatorica`Private`k, -1], Combinatorica`Private`n], Join[List[List[List[1, Times[Plus[Combinatorica`Private`n, 1], Power[2, -1]]]], List[List[1, Times[Plus[Combinatorica`Private`n, 3], Power[2, -1]]]]], Table[List[List[Combinatorica`Private`i, Plus[Combinatorica`Private`i, Times[Plus[Combinatorica`Private`n, 1], Power[2, -1]]]]], List[Combinatorica`Private`i, 2, Times[Plus[Combinatorica`Private`n, -1], Power[2, -1]]]]]], And[Greater[Combinatorica`Private`k, 1], Greater[Combinatorica`Private`n, Combinatorica`Private`k]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Harary\"]], False]", "msgs": [], "secs": 0.043000000000000003} +{"i": 148, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 149, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 150, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 151, "status": "ok", "out": "CompleteQ[Harary[10, 9]]", "msgs": [], "secs": 0.0} +{"i": 152, "status": "ok", "out": "List[List[16, Null], List[67, Null], List[85, Null], List[126, Null], List[101, Null], List[96, Null], List[149, Null], List[158, Null], List[201, Null], List[207, Null], List[264, Null], List[360, Null], List[185, Null], List[303, Null], List[300, Null], List[195, Null], List[271, Null], List[460, Null], List[384, Null], List[536, Null]]", "msgs": [], "secs": 0.085} +{"i": 153, "status": "msg", "out": "ListPlot[List[Part[List[16, Null], 1, 1], Part[List[67, Null], 1, 1], Part[List[85, Null], 1, 1], Part[List[126, Null], 1, 1], Part[List[101, Null], 1, 1], Part[List[96, Null], 1, 1], Part[List[149, Null], 1, 1], Part[List[158, Null], 1, 1], Part[List[201, Null], 1, 1], Part[List[207, Null], 1, 1], Part[List[264, Null], 1, 1], Part[List[360, Null], 1, 1], Part[List[185, Null], 1, 1], Part[List[303, Null], 1, 1], Part[List[300, Null], 1, 1], Part[List[195, Null], 1, 1], Part[List[271, Null], 1, 1], Part[List[460, Null], 1, 1], Part[List[384, Null], 1, 1], Part[List[536, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.005} +{"i": 154, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 155, "status": "ok", "out": "List[List[18, Null], List[25, Null], List[35, Null], List[68, Null], List[57, Null], List[68, Null], List[106, Null], List[125, Null], List[103, Null], List[221, Null], List[256, Null], List[319, Null], List[241, Null], List[282, Null], List[236, Null], List[247, Null], List[379, Null], List[403, Null], List[498, Null], List[345, Null]]", "msgs": [], "secs": 0.064} +{"i": 156, "status": "msg", "out": "ListPlot[List[Part[List[18, Null], 1, 1], Part[List[25, Null], 1, 1], Part[List[35, Null], 1, 1], Part[List[68, Null], 1, 1], Part[List[57, Null], 1, 1], Part[List[68, Null], 1, 1], Part[List[106, Null], 1, 1], Part[List[125, Null], 1, 1], Part[List[103, Null], 1, 1], Part[List[221, Null], 1, 1], Part[List[256, Null], 1, 1], Part[List[319, Null], 1, 1], Part[List[241, Null], 1, 1], Part[List[282, Null], 1, 1], Part[List[236, Null], 1, 1], Part[List[247, Null], 1, 1], Part[List[379, Null], 1, 1], Part[List[403, Null], 1, 1], Part[List[498, Null], 1, 1], Part[List[345, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 157, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 158, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"IdenticalQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) yields True if graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\) have identical edge lists, even though the associated graphics information need not be the same.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IdenticalQ, List[RuleDelayed[IdenticalQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[True, And[EmptyQ[Combinatorica`Private`g], EmptyQ[Combinatorica`Private`h], Equal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]]]]], RuleDelayed[IdenticalQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[False, Unequal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]], RuleDelayed[IdenticalQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], And[Equal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]], If[UndirectedQ[Combinatorica`Private`g], SameQ[Sort[Map[Sort, Edges[Combinatorica`Private`g]]], Sort[Map[Sort, Edges[Combinatorica`Private`h]]]], SameQ[Sort[Edges[Combinatorica`Private`g]], Sort[Edges[Combinatorica`Private`h]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IdenticalQ\"]], False]", "msgs": [], "secs": 0.058} +{"i": 159, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 160, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 161, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 162, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 163, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 164, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 165, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 166, "status": "ok", "out": "True", "msgs": [], "secs": 0.002} +{"i": 167, "status": "ok", "out": "Null", "msgs": [], "secs": 0.079} +{"i": 168, "status": "ok", "out": "List[1125, Null]", "msgs": [], "secs": 0.012} +{"i": 169, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"IsomorphismQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"p\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) tests if permutation \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\) defines an isomorphism between graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IsomorphismQ, List[RuleDelayed[IsomorphismQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`p, Blank[List]]], Condition[False, Or[Unequal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]], Not[PermutationQ[Combinatorica`Private`p]], Unequal[Length[Combinatorica`Private`p], V[Combinatorica`Private`g]]]]], RuleDelayed[IsomorphismQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`p, Blank[List]]], IdenticalQ[Combinatorica`Private`g, PermuteSubgraph[Combinatorica`Private`h, Combinatorica`Private`p]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IsomorphismQ\"]], False]", "msgs": [], "secs": 0.026000000000000002} +{"i": 170, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 171, "status": "ok", "out": "List[True, False, False, False, False, True, False, True, False, True, False, False, False, False, True, False, True, False, True, False, False, False, False, True]", "msgs": [], "secs": 0.003} +{"i": 172, "status": "ok", "out": "8", "msgs": [], "secs": 0.0} +{"i": 173, "status": "ok", "out": "Null", "msgs": [], "secs": 0.048} +{"i": 174, "status": "ok", "out": "List[List[504, Null], List[1144, Null], List[2264, Null], List[3060, Null], List[4162, Null], List[7562, Null], List[15404, Null], List[20286, Null]]", "msgs": [], "secs": 0.652} +{"i": 175, "status": "msg", "out": "ListPlot[List[Part[List[504, Null], 1, 1], Part[List[1144, Null], 1, 1], Part[List[2264, Null], 1, 1], Part[List[3060, Null], 1, 1], Part[List[4162, Null], 1, 1], Part[List[7562, Null], 1, 1], Part[List[15404, Null], 1, 1], Part[List[20286, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.0} +{"i": 176, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 177, "status": "ok", "out": "List[List[0, Null], List[1, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 178, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Isomorphism\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives an isomorphism between graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\) if one exists. \\n\\!\\(\\*RowBox[{\\\"Isomorphism\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"], \\\",\\\", \\\"All\\\"}], \\\"]\\\"}]\\) gives all isomorphisms between graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Isomorphism\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the automorphism group of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Isomorphism, List[RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[List[], Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[List[List[1]], Equal[V[Combinatorica`Private`g], 1]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`invariants, ReplaceAll[Invariants, Flatten[List[Combinatorica`Private`opts, Options[Isomorphism]]]]]], Isomorphism[Combinatorica`Private`g, Combinatorica`Private`g, Equivalences[Combinatorica`Private`g, Apply[Sequence, Combinatorica`Private`invariants]], All]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Optional[Pattern[Combinatorica`Private`flag, Blank[Symbol]], One], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[List[], Unequal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Optional[Pattern[Combinatorica`Private`flag, Blank[Symbol]], One], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[List[List[1]], And[Equal[V[Combinatorica`Private`g], 1], Equal[V[Combinatorica`Private`h], 1], Equal[M[Combinatorica`Private`g], M[Combinatorica`Private`h]]]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Optional[Pattern[Combinatorica`Private`flag, Blank[Symbol]], One], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`invariants, ReplaceAll[Invariants, Flatten[List[Combinatorica`Private`opts, Options[Isomorphism]]]]]], Isomorphism[Combinatorica`Private`g, Combinatorica`Private`h, Equivalences[Combinatorica`Private`g, Combinatorica`Private`h, Apply[Sequence, Combinatorica`Private`invariants]], Combinatorica`Private`flag]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`equiv, Blank[List]], Optional[Pattern[Combinatorica`Private`flag, Blank[Symbol]], One]], If[Not[MemberQ[Combinatorica`Private`equiv, List[]]], Backtrack[Combinatorica`Private`equiv, Function[And[IdenticalQ[PermuteSubgraph[Combinatorica`Private`g, Range[Length[Slot[1]]]], PermuteSubgraph[Combinatorica`Private`h, Slot[1]]], Not[MemberQ[Drop[Slot[1], -1], Last[Slot[1]]]]]], Function[IsomorphismQ[Combinatorica`Private`g, Combinatorica`Private`h, Slot[1]]], Combinatorica`Private`flag], List[]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Invariants, List[DegreesOf2Neighborhood, NumberOf2Paths, Distances]]]], Rule[...", "msgs": [], "secs": 0.043000000000000003} +{"i": 179, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.001} +{"i": 180, "status": "ok", "out": "List[List[1, 2, 3, 4, 5], List[1, 4, 3, 2, 5], List[2, 1, 4, 3, 5], List[2, 3, 4, 1, 5], List[3, 2, 1, 4, 5], List[3, 4, 1, 2, 5], List[4, 1, 2, 3, 5], List[4, 3, 2, 1, 5]]", "msgs": [], "secs": 0.013000000000000001} +{"i": 181, "status": "ok", "out": "List[List[1, 2, 3, 4, 5], List[1, 2, 4, 3, 5], List[1, 3, 2, 4, 5], List[1, 3, 4, 2, 5], List[1, 4, 2, 3, 5], List[1, 4, 3, 2, 5], List[2, 1, 3, 4, 5], List[2, 1, 4, 3, 5], List[2, 3, 1, 4, 5], List[2, 3, 4, 1, 5], List[2, 4, 1, 3, 5], List[2, 4, 3, 1, 5], List[3, 1, 2, 4, 5], List[3, 1, 4, 2, 5], List[3, 2, 1, 4, 5], List[3, 2, 4, 1, 5], List[3, 4, 1, 2, 5], List[3, 4, 2, 1, 5], List[4, 1, 2, 3, 5], List[4, 1, 3, 2, 5], List[4, 2, 1, 3, 5], List[4, 2, 3, 1, 5], List[4, 3, 1, 2, 5], List[4, 3, 2, 1, 5]]", "msgs": [], "secs": 0.014} +{"i": 182, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.0} +{"i": 183, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], List[1, 10, 9, 8, 7, 6, 5, 4, 3, 2], List[2, 1, 10, 9, 8, 7, 6, 5, 4, 3], List[2, 3, 4, 5, 6, 7, 8, 9, 10, 1], List[3, 2, 1, 10, 9, 8, 7, 6, 5, 4], List[3, 4, 5, 6, 7, 8, 9, 10, 1, 2], List[4, 3, 2, 1, 10, 9, 8, 7, 6, 5], List[4, 5, 6, 7, 8, 9, 10, 1, 2, 3], List[5, 4, 3, 2, 1, 10, 9, 8, 7, 6], List[5, 6, 7, 8, 9, 10, 1, 2, 3, 4], List[6, 5, 4, 3, 2, 1, 10, 9, 8, 7], List[6, 7, 8, 9, 10, 1, 2, 3, 4, 5], List[7, 6, 5, 4, 3, 2, 1, 10, 9, 8], List[7, 8, 9, 10, 1, 2, 3, 4, 5, 6], List[8, 7, 6, 5, 4, 3, 2, 1, 10, 9], List[8, 9, 10, 1, 2, 3, 4, 5, 6, 7], List[9, 8, 7, 6, 5, 4, 3, 2, 1, 10], List[9, 10, 1, 2, 3, 4, 5, 6, 7, 8], List[10, 1, 2, 3, 4, 5, 6, 7, 8, 9], List[10, 9, 8, 7, 6, 5, 4, 3, 2, 1]]", "msgs": [], "secs": 0.155} +{"i": 184, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 185, "status": "ok", "out": "List[List[14545, Null], List[33259, Null], List[59662, Null], List[75922, Null], List[124756, Null], List[189074, Null]]", "msgs": [], "secs": 5.664} +{"i": 186, "status": "ok", "out": "List[List[1, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 187, "status": "ok", "out": "List[List[1, 2, 3, 4, 5], List[1, 5, 4, 3, 2], List[2, 1, 5, 4, 3], List[2, 3, 4, 5, 1], List[3, 2, 1, 5, 4], List[3, 4, 5, 1, 2], List[4, 3, 2, 1, 5], List[4, 5, 1, 2, 3], List[5, 1, 2, 3, 4], List[5, 4, 3, 2, 1]]", "msgs": [], "secs": 0.021} +{"i": 188, "status": "ok", "out": "List[List[1, 2, 3, 4, 5], List[5, 4, 3, 2, 1]]", "msgs": [], "secs": 0.005} +{"i": 189, "status": "ok", "out": "Isomorphism[Tree[6, List[Tree[5, List[Tree[1, List[Tree[4, None]]], Tree[7, List[Tree[3, List[Tree[2, None]]]]]]]]]]", "msgs": [], "secs": 0.004} +{"i": 190, "status": "ok", "out": "ShowGraph[Tree[6, List[Tree[5, List[Tree[1, List[Tree[4, None]]], Tree[7, List[Tree[3, List[Tree[2, None]]]]]]]]], Rule[VertexNumber, On], Rule[PlotRange, Large[10000]]]", "msgs": [], "secs": 0.0} +{"i": 191, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"IsomorphicQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) yields True if graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\) are isomorphic. \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IsomorphicQ, List[RuleDelayed[IsomorphicQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[True, IdenticalQ[Combinatorica`Private`g, Combinatorica`Private`h]]], RuleDelayed[IsomorphicQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`invariants, ReplaceAll[Invariants, Flatten[List[Combinatorica`Private`opts, Options[IsomorphicQ]]]]]], Not[SameQ[Isomorphism[Combinatorica`Private`g, Combinatorica`Private`h, Rule[Invariants, Combinatorica`Private`invariants]], List[]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Invariants, List[DegreesOf2Neighborhood, NumberOf2Paths, Distances]]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IsomorphicQ\"]], False]", "msgs": [], "secs": 0.066} +{"i": 192, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 193, "status": "ok", "out": "True", "msgs": [], "secs": 0.011} +{"i": 194, "status": "ok", "out": "IsomorphicQ[Tree[17, List[Tree[5, List[Tree[14, None], Tree[11, None], Tree[10, List[Tree[7, None]]], Tree[9, List[Tree[3, List[Tree[8, None]]], Tree[18, List[Tree[16, List[Tree[12, List[Tree[6, List[Tree[13, List[Tree[4, None]]], Tree[19, None]]]]], Tree[15, None]]]]], Tree[20, None], Tree[1, None]]]]], Tree[2, None]]], Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[1, 10]], List[List[1, 11]], List[List[1, 12]], List[List[1, 13]], List[List[1, 14]], List[List[1, 15]], List[List[1, 16]], List[List[1, 17]], List[List[1, 18]], List[List[1, 19]], List[List[1, 20]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[2, 10]], List[List[2, 11]], List[List[2, 12]], List[List[2, 13]], List[List[2, 14]], List[List[2, 15]], List[List[2, 16]], List[List[2, 17]], List[List[2, 18]], List[List[2, 19]], List[List[2, 20]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[3, 10]], List[List[3, 11]], List[List[3, 12]], List[List[3, 13]], List[List[3, 14]], List[List[3, 15]], List[List[3, 16]], List[List[3, 17]], List[List[3, 18]], List[List[3, 19]], List[List[3, 20]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[4, 10]], List[List[4, 11]], List[List[4, 12]], List[List[4, 13]], List[List[4, 14]], List[List[4, 15]], List[List[4, 16]], List[List[4, 17]], List[List[4, 18]], List[List[4, 19]], List[List[4, 20]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[5, 10]], List[List[5, 11]], List[List[5, 12]], List[List[5, 13]], List[List[5, 14]], List[List[5, 15]], List[List[5, 16]], List[List[5, 17]], List[List[5, 18]], List[List[5, 19]], List[List[5, 20]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[6, 10]], List[List[6, 11]], List[List[6, 12]], List[List[6, 13]], List[List[6, 14]], List[List[6, 15]], List[List[6, 16]], List[List[6, 17]], List[List[6, 18]], List[List[6, 19]], List[List[6, 20]], List[List[7, 8]], List[List[7, 9]], List[List[7, 10]], List[List[7, 11]], List[List[7, 12]], List[List[7, 13]], List[List[7, 14]], List[List[7, 15]], List[List[7, 16]], List[List[7, 17]], List[List[7, 18]], List[List[7, 19]], List[List[7, 20]], List[List[8, 9]], List[List[8, 10]], List[List[8, 11]], List[List[8, 12]], List[List[8, 13]], List[List[8, 14]], List[List[8, 15]], List[List[8, 16]], List[List[8, 17]], List[List[8, 18]], List[List[8, 19]], List[List[8, 20]], List[List[9, 10]], List[List[9, 11]], List[List[9, 12]], List[List[9, 13]], List[List[9, 14]], List[List[9, 15]], List[List[9, 16]], List[List[9, 17]], List[List[9, 18]], List[List[9, 19]], List[List[9, 20]], List[List[10, 11]], List[List[10, 12]], List[List[10, 13]], List[List[10, 14]], List[List[10, 15]], List[List[10, 16]], List[List[10, 17]], List[List[10, 18]], List[List[10, 19]], List[List[10, 20]], List[List[11, 12]], List[List[11, 13]], List[List[11, 14]], List[List[11, 15]], List[List[11, 16]], List[List[11, 17]], List[List[11, 18]], List[List[11, 19]], List[List[11, 20]], List[List[12, 13]], List[List[12, 14]], List[List[12, 15]], List[List[12, 16]], List[List[12, 17]], List[List[12, 18]], List[List[12, 19]], List[List[12, 20]], List[List[13, 14]], List[List[13, 15]], List[List[13, 16]], List[List[13, 17]], List[List[13, 18]], List[List[13, 19]], List[List[13, 20]], List[List[14, 15]], List[List[14, 16]], List[List[14, 17]], List[List[14, 18]], List[List[14, 19]], List[List[14, 20]], List[List[15, 16]], List[List[15, 17]], List[List[15, 18]], List[List[15, 19]], List[List[15, 20]], List[List[16, 17]], List[List[16, 18]], List[List[16, 19]], List[List[16, 20]], List[List[17, 18]], List[List[17, 19]], List[List[17, 20]], List[List[18, 19]], List[List[18, 20]], List[List[19, 20]]], List[List[List[95106, 30902]], List[...", "msgs": [], "secs": 0.004} +{"i": 195, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Equivalences\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) lists the vertex equivalence classes between graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\) defined by their vertex degrees. \\n\\!\\(\\*RowBox[{\\\"Equivalences\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) lists the vertex equivalences for graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) defined by the vertex degrees. \\n\\!\\(\\*RowBox[{\\\"Equivalences\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) and \\!\\(\\*RowBox[{\\\"Equivalences\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) can also be used, where \\!\\(\\*RowBox[{SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are functions that compute other vertex invariants. It is expected that for each function \\!\\(\\*SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]]\\), the call \\!\\(\\*RowBox[{SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]], \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the corresponding invariant at vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). The functions \\!\\(\\*RowBox[{SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are evaluated in order, and the evaluation stops either when all functions have been evaluated or when an empty equivalence class is found. Three vertex invariants, DegreesOf2Neighborhood, NumberOf2Paths, and Distances are \\!\\(\\*StyleBox[\\\"Combinatorica\\\", FontSlant -> \\\"Italic\\\"]\\) functions and can be used to refine the equivalences.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Equivalences, List[RuleDelayed[Equivalences[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`f, BlankNullSequence[]]], Module[List[Set[Combinatorica`Private`dg, Degrees[Combinatorica`Private`g]], Set[Combinatorica`Private`dh, Degrees[Combinatorica`Private`h]], Combinatorica`Private`eq], CompoundExpression[Set[Combinatorica`Private`eq, Table[Flatten[Position[Combinatorica`Private`dh, Part[Combinatorica`Private`dg, Combinatorica`Private`i]], 1], List[Combinatorica`Private`i, Length[Combinatorica`Private`dg]]]], Combinatorica`Private`EQ[Combinatorica`Private`g, Combinatorica`Private`h, Combinatorica`Private`eq, Combinatorica`Private`f]]]], RuleDelayed[Equivalences[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`f, BlankNullSequence[]]], Equivalences[Combinatorica`Private`g, Combinatorica`Private`g, Combinatorica`Private`f]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Equivalences\"]], False]", "msgs": [], "secs": 0.098} +{"i": 196, "status": "ok", "out": "List[List[], List[], List[], List[], List[], List[], List[], List[], List[], List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]]", "msgs": [], "secs": 0.001} +{"i": 197, "status": "ok", "out": "List[List[], List[], List[], List[], List[], List[], List[], List[], List[], List[]]", "msgs": [], "secs": 0.0} +{"i": 198, "status": "ok", "out": "List[List[1, 10], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[1, 10]]", "msgs": [], "secs": 0.001} +{"i": 199, "status": "ok", "out": "", "msgs": [], "secs": 0.024} +{"i": 200, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 201, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 202, "status": "ok", "out": "List[3, 3, 3, 3, 3, 3, 3, 3]", "msgs": [], "secs": 0.001} +{"i": 203, "status": "ok", "out": "", "msgs": [], "secs": 0.021} +{"i": 204, "status": "ok", "out": "List[3, 3, 3, 3, 3, 3, 3, 3]", "msgs": [], "secs": 0.0} +{"i": 205, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8]]", "msgs": [], "secs": 0.001} +{"i": 206, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.006} +{"i": 207, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8]]", "msgs": [], "secs": 0.018000000000000002} +{"i": 208, "status": "ok", "out": "Null", "msgs": [], "secs": 0.009000000000000001} +{"i": 209, "status": "ok", "out": "List[List[1, 10], List[2, 9], List[3, 4, 5, 6, 7, 8], List[3, 4, 5, 6, 7, 8], List[3, 4, 5, 6, 7, 8], List[3, 4, 5, 6, 7, 8], List[3, 4, 5, 6, 7, 8], List[3, 4, 5, 6, 7, 8], List[2, 9], List[1, 10]]", "msgs": [], "secs": 0.0} +{"i": 210, "status": "ok", "out": "List[List[1, 10], List[2, 9], List[3, 8], List[4, 5, 6, 7], List[4, 5, 6, 7], List[4, 5, 6, 7], List[4, 5, 6, 7], List[3, 8], List[2, 9], List[1, 10]]", "msgs": [], "secs": 0.001} +{"i": 211, "status": "ok", "out": "List[List[1, 10], List[2, 9], List[3, 8], List[4, 7], List[5, 6], List[5, 6], List[4, 7], List[3, 8], List[2, 9], List[1, 10]]", "msgs": [], "secs": 0.015} +{"i": 212, "status": "ok", "out": "List[List[1, 2, 3, 4], List[1, 2, 3, 4], List[1, 2, 3, 4], List[1, 2, 3, 4], List[5]]", "msgs": [], "secs": 0.0} +{"i": 213, "status": "ok", "out": "List[List[1, 2, 3, 4], List[1, 2, 3, 4], List[1, 2, 3, 4], List[1, 2, 3, 4]]", "msgs": [], "secs": 0.001} +{"i": 214, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Automorphisms\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the automorphism group of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Automorphisms, List[RuleDelayed[Automorphisms[Pattern[Combinatorica`Private`g, Blank[Graph]]], Isomorphism[Combinatorica`Private`g]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Automorphisms\"]], False]", "msgs": [], "secs": 0.035} +{"i": 215, "status": "ok", "out": "List[List[1, 2, 3, 4], List[1, 3, 2, 4], List[2, 1, 3, 4], List[2, 3, 1, 4], List[3, 1, 2, 4], List[3, 2, 1, 4]]", "msgs": [], "secs": 0.014} +{"i": 216, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SelfComplementaryQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is self-complementary, meaning it is isomorphic to its complement.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SelfComplementaryQ, List[RuleDelayed[SelfComplementaryQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], IsomorphicQ[Combinatorica`Private`g, GraphComplement[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SelfComplementaryQ\"]], False]", "msgs": [], "secs": 0.114} +{"i": 217, "status": "ok", "out": "True", "msgs": [], "secs": 0.004} +{"i": 218, "status": "ok", "out": "True", "msgs": [], "secs": 0.009000000000000001} +{"i": 219, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 220, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`FindCycle\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FindCycle, List[RuleDelayed[FindCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], Directed], CompoundExpression[Message[MessageName[FindCycle, \"obsolete\"]], FindCycle[Combinatorica`Private`g]]], RuleDelayed[FindCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[First[Select[Edges[Combinatorica`Private`g], Function[Equal[Part[Slot[1], 1], Part[Slot[1], 2]]]]], SelfLoopsQ[Combinatorica`Private`g]]], RuleDelayed[FindCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Set[Combinatorica`Private`e, Part[Cases[Split[Sort[Edges[Combinatorica`Private`g]]], List[Pattern[Combinatorica`Private`x, Blank[List]], Pattern[Combinatorica`Private`x, Blank[List]], BlankNullSequence[]]], 1, 1]]], Append[Combinatorica`Private`e, Part[Combinatorica`Private`e, 1]]], And[UndirectedQ[Combinatorica`Private`g], MultipleEdgesQ[Combinatorica`Private`g]]]], RuleDelayed[FindCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], FindCycle[ToAdjacencyLists[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`g]]], RuleDelayed[FindCycle[Pattern[Combinatorica`Private`al, Blank[List]], Optional[Pattern[Combinatorica`Private`tag, Blank[]], True]], Block[List[Set[Combinatorica`Private`e, Combinatorica`Private`al], Combinatorica`Private`c, Set[Combinatorica`Private`parent, Table[0, List[Length[Combinatorica`Private`al]]]], Set[Combinatorica`Private`s, Table[0, List[Length[Combinatorica`Private`al]]]], Set[Combinatorica`Private`f, Table[0, List[Length[Combinatorica`Private`al]]]], Set[Combinatorica`Private`cnt, 1], Combinatorica`Private`start, Combinatorica`Private`edge, Set[$RecursionLimit, Infinity]], CompoundExpression[While[Greater[Count[Combinatorica`Private`parent, 0], 0], CompoundExpression[Set[Combinatorica`Private`start, Part[Position[Combinatorica`Private`parent, 0], 1, 1]], Set[Part[Combinatorica`Private`parent, Combinatorica`Private`start], Combinatorica`Private`start], Set[Combinatorica`Private`edge, Catch[Combinatorica`Private`FindBackEdge[Combinatorica`Private`start, Combinatorica`Private`tag]]], If[UnsameQ[Combinatorica`Private`edge, Null], CompoundExpression[Set[Combinatorica`Private`c, Reverse[NestWhileList[Function[Part[Combinatorica`Private`parent, Slot[1]]], Part[Combinatorica`Private`parent, Part[Combinatorica`Private`edge, 1]], Function[Unequal[Slot[1], Part[Combinatorica`Private`edge, 2]]]]]], Return[Prepend[Append[Combinatorica`Private`c, Part[Combinatorica`Private`edge, 1]], Part[Combinatorica`Private`edge, 1]]]]]]], List[]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`FindCycle\"]], False]", "msgs": [], "secs": 0.159} +{"i": 221, "status": "ok", "out": "", "msgs": [], "secs": 0.026000000000000002} +{"i": 222, "status": "ok", "out": "List[7, 1, 2, 3, 7]", "msgs": [], "secs": 0.002} +{"i": 223, "status": "ok", "out": "ShowGraph[AddEdges[Tree[7, List[Tree[2, None], Tree[3, None], Tree[4, List[Tree[1, None]]], Tree[8, List[Tree[9, List[Tree[5, None], Tree[6, None]]], Tree[10, None]]]]], List[List[List[1, 10]]]], Rule[VertexNumber, On], Rule[PlotRange, Large[5000]]]", "msgs": [], "secs": 0.007} +{"i": 224, "status": "ok", "out": "FindCycle[AddEdges[Tree[7, List[Tree[2, None], Tree[3, None], Tree[4, List[Tree[1, None]]], Tree[8, List[Tree[9, List[Tree[5, None], Tree[6, None]]], Tree[10, None]]]]], List[List[List[1, 10]]]]]", "msgs": [], "secs": 0.0} +{"i": 225, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 226, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 227, "status": "ok", "out": "ShowGraph[HighlightCycle[AddEdges[Tree[7, List[Tree[2, None], Tree[3, None], Tree[4, List[Tree[1, None]]], Tree[8, List[Tree[9, List[Tree[5, None], Tree[6, None]]], Tree[10, None]]]]], List[List[List[1, 10]]]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 228, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 229, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.01} +{"i": 230, "status": "ok", "out": "ShowGraph[AddEdges[DeleteEdges[AddEdges[Tree[7, List[Tree[2, None], Tree[3, None], Tree[4, List[Tree[1, None]]], Tree[8, List[Tree[9, List[Tree[5, None], Tree[6, None]]], Tree[10, None]]]]], List[List[List[1, 10]]]], List[List[16, 17], List[17, 22]]], List[List[List[17, 16]], List[List[22, 17]]]], Rule[VertexNumber, On], Rule[PlotRange, Large[10000]]]", "msgs": [], "secs": 0.0} +{"i": 231, "status": "ok", "out": "ShowGraph[HighlightCycle[AddEdges[DeleteEdges[AddEdges[Tree[7, List[Tree[2, None], Tree[3, None], Tree[4, List[Tree[1, None]]], Tree[8, List[Tree[9, List[Tree[5, None], Tree[6, None]]], Tree[10, None]]]]], List[List[List[1, 10]]]], List[List[16, 17], List[17, 22]]], List[List[List[17, 16]], List[List[22, 17]]]]]]", "msgs": [], "secs": 0.0} +{"i": 232, "status": "ok", "out": "Null", "msgs": [], "secs": 0.051000000000000004} +{"i": 233, "status": "ok", "out": "List[List[1, 2], List[2, 3], List[3, 4], List[1, 2]]", "msgs": [], "secs": 0.009000000000000001} +{"i": 234, "status": "ok", "out": "List[1, 2, 1]", "msgs": [], "secs": 0.001} +{"i": 235, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 236, "status": "ok", "out": "List[1, 1]", "msgs": [], "secs": 0.001} +{"i": 237, "status": "ok", "out": "Null", "msgs": [], "secs": 0.041} +{"i": 238, "status": "ok", "out": "List[List[136, Null], List[98, Null], List[352, Null], List[236, Null], List[906, Null], List[355, Null], List[1537, Null], List[1715, Null], List[233, Null], List[322, Null]]", "msgs": [], "secs": 0.069} +{"i": 239, "status": "msg", "out": "ListPlot[List[Part[List[136, Null], 1, 1], Part[List[98, Null], 1, 1], Part[List[352, Null], 1, 1], Part[List[236, Null], 1, 1], Part[List[906, Null], 1, 1], Part[List[355, Null], 1, 1], Part[List[1537, Null], 1, 1], Part[List[1715, Null], 1, 1], Part[List[233, Null], 1, 1], Part[List[322, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 240, "status": "ok", "out": "Null", "msgs": [], "secs": 0.164} +{"i": 241, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 242, "status": "ok", "out": "List[List[288, Null], List[515, Null], List[708, Null], List[908, Null], List[1135, Null], List[1280, Null], List[1287, Null], List[1609, Null], List[1638, Null], List[1561, Null]]", "msgs": [], "secs": 0.169} +{"i": 243, "status": "ok", "out": "List[List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39]]", "msgs": [], "secs": 0.0} +{"i": 244, "status": "msg", "out": "ListPlot[List[Part[List[288, Null], 1, 1], Part[List[515, Null], 1, 1], Part[List[708, Null], 1, 1], Part[List[908, Null], 1, 1], Part[List[1135, Null], 1, 1], Part[List[1280, Null], 1, 1], Part[List[1287, Null], 1, 1], Part[List[1609, Null], 1, 1], Part[List[1638, Null], 1, 1], Part[List[1561, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.0} +{"i": 245, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 246, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 247, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AcyclicQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is acyclic.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AcyclicQ, List[RuleDelayed[AcyclicQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], SameQ[FindCycle[Combinatorica`Private`g], List[]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`AcyclicQ\"]], False]", "msgs": [], "secs": 0.03} +{"i": 248, "status": "ok", "out": "AcyclicQ[Tree[4, List[Tree[36, List[Tree[85, List[Tree[82, None]]], Tree[21, None]]], Tree[55, None], Tree[31, List[Tree[52, List[Tree[17, None], Tree[6, List[Tree[20, None], Tree[70, List[Tree[74, List[Tree[49, List[Tree[14, List[Tree[62, None], Tree[95, None], Tree[26, None]]], Tree[45, List[Tree[42, None], Tree[38, List[Tree[7, None]]], Tree[39, List[Tree[98, List[Tree[12, List[Tree[83, List[Tree[68, List[Tree[54, List[Tree[57, List[Tree[86, None], Tree[61, List[Tree[50, List[Tree[88, None], Tree[47, None], Tree[25, None]]]]], Tree[2, List[Tree[58, List[Tree[15, List[Tree[92, None]]]]], Tree[43, List[Tree[71, None]]], Tree[80, None], Tree[29, None]]]]]]], Tree[51, List[Tree[46, None]]]]], Tree[66, List[Tree[44, None]]]]]]], Tree[33, None], Tree[93, None], Tree[96, None], Tree[34, List[Tree[79, None]]]]]]]]]]]]], Tree[22, None], Tree[9, None]]]]]]], Tree[60, List[Tree[11, List[Tree[91, None], Tree[69, List[Tree[77, None], Tree[24, List[Tree[40, List[Tree[18, None], Tree[32, None]]]]], Tree[8, List[Tree[78, List[Tree[16, List[Tree[94, List[Tree[3, None]]]]], Tree[67, None]]], Tree[41, List[Tree[63, List[Tree[65, None]]], Tree[99, List[Tree[90, None], Tree[48, None]]]]], Tree[28, List[Tree[35, List[Tree[53, List[Tree[73, List[Tree[5, None]]], Tree[10, None]]]]]]], Tree[84, None], Tree[37, None], Tree[19, None]]]]], Tree[100, None], Tree[30, List[Tree[64, List[Tree[13, List[Tree[89, None], Tree[75, List[Tree[76, List[Tree[72, None], Tree[23, None]]]]]]], Tree[97, List[Tree[81, None]]], Tree[27, None]]], Tree[1, List[Tree[87, None], Tree[59, None]]]]]]]]]]], Tree[56, None]]]]", "msgs": [], "secs": 0.002} +{"i": 249, "status": "ok", "out": "False", "msgs": [], "secs": 0.002} +{"i": 250, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 251, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TreeQ\\\", \\\"[\\\", StyleBox[\\\"tree\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if \\!\\(\\*StyleBox[\\\"tree\\\", \\\"TI\\\"]\\) is a valid Tree object and False otherwise.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/TreeQ.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected, ReadProtected]], Rule[\"FullName\", \"System`TreeQ\"]], False]", "msgs": [], "secs": 0.034} +{"i": 252, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 253, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 254, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 255, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 256, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 257, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 258, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ExtractCycles\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a maximal list of edge-disjoint cycles in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ExtractCycles, List[RuleDelayed[ExtractCycles[Pattern[Combinatorica`Private`gi, Blank[Graph]]], Module[List[Set[Combinatorica`Private`g, Combinatorica`Private`gi], Set[Combinatorica`Private`cycles, List[]], Combinatorica`Private`c], CompoundExpression[While[Not[SameQ[List[], Set[Combinatorica`Private`c, FindCycle[Combinatorica`Private`g]]]], CompoundExpression[PrependTo[Combinatorica`Private`cycles, Combinatorica`Private`c], Set[Combinatorica`Private`g, DeleteCycle[Combinatorica`Private`g, Combinatorica`Private`c]], Null]], Combinatorica`Private`cycles]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ExtractCycles\"]], False]", "msgs": [], "secs": 0.024} +{"i": 259, "status": "ok", "out": "List[List[9, 1, 2, 3, 4, 5, 6, 7, 8, 9]]", "msgs": [], "secs": 0.001} +{"i": 260, "status": "ok", "out": "List[List[9, 7, 8, 9], List[9, 5, 8, 6, 9], List[7, 5, 6, 7], List[9, 3, 8, 4, 9], List[7, 3, 6, 4, 7], List[5, 3, 4, 5], List[9, 1, 8, 2, 9], List[7, 1, 6, 2, 7], List[5, 1, 4, 2, 5], List[3, 1, 2, 3]]", "msgs": [], "secs": 0.004} +{"i": 261, "status": "ok", "out": "List[List[List[7, 9], List[7, 8], List[8, 9]], List[List[5, 9], List[5, 8], List[6, 8], List[6, 9]], List[List[5, 7], List[5, 6], List[6, 7]], List[List[3, 9], List[3, 8], List[4, 8], List[4, 9]], List[List[3, 7], List[3, 6], List[4, 6], List[4, 7]], List[List[3, 5], List[3, 4], List[4, 5]], List[List[1, 9], List[1, 8], List[2, 8], List[2, 9]], List[List[1, 7], List[1, 6], List[2, 6], List[2, 7]], List[List[1, 5], List[1, 4], List[2, 4], List[2, 5]], List[List[1, 3], List[1, 2], List[2, 3]]]", "msgs": [], "secs": 0.0} +{"i": 262, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 263, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 264, "status": "ok", "out": "List[List[382, Null], List[1501, Null], List[3475, Null], List[6672, Null], List[11870, Null]]", "msgs": [], "secs": 0.334} +{"i": 265, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 266, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 267, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DeleteCycle\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) deletes a simple cycle \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) from graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) is specified as a sequence of vertices in which the first and last vertices are identical. \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) can be directed or undirected. If \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) does not contain \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\), it is returned unchanged; otherwise \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is returned with \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) deleted.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DeleteCycle, List[RuleDelayed[DeleteCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`c, Blank[List]], Directed], CompoundExpression[Message[MessageName[DeleteCycle, \"obsolete\"]], DeleteCycle[Combinatorica`Private`g, Combinatorica`Private`c]]], RuleDelayed[DeleteCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], List[]], Combinatorica`Private`g], RuleDelayed[DeleteCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`c, Blank[List]]], Condition[Module[List[Set[Combinatorica`Private`e, If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Partition[Combinatorica`Private`c, 2, 1]], Partition[Combinatorica`Private`c, 2, 1]]]], If[Equal[Complement[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], List[]], DeleteEdges[Combinatorica`Private`g, Combinatorica`Private`e], Combinatorica`Private`g]], Equal[Last[Combinatorica`Private`c], First[Combinatorica`Private`c]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DeleteCycle\"]], False]", "msgs": [], "secs": 0.034} +{"i": 268, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 269, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 270, "status": "ok", "out": "Null", "msgs": [], "secs": 0.029} +{"i": 271, "status": "ok", "out": "List[1452, Null]", "msgs": [], "secs": 0.036000000000000004} +{"i": 272, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 273, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 274, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Girth\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the length of a shortest cycle in a simple graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Girth, List[RuleDelayed[Girth[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[1, SelfLoopsQ[Combinatorica`Private`g]]], RuleDelayed[Girth[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[2, MultipleEdgesQ[Combinatorica`Private`g]]], RuleDelayed[Girth[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Combinatorica`Private`v, Combinatorica`Private`dist, Combinatorica`Private`queue, Set[Combinatorica`Private`n, V[Combinatorica`Private`g]], Set[Combinatorica`Private`girth, Infinity], Combinatorica`Private`parent, Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`x], CompoundExpression[Do[CompoundExpression[Set[Combinatorica`Private`dist, Set[Combinatorica`Private`parent, Table[Infinity, List[Combinatorica`Private`n]]]], Set[Part[Combinatorica`Private`dist, Combinatorica`Private`v], Set[Part[Combinatorica`Private`parent, Combinatorica`Private`v], 0]], Set[Combinatorica`Private`queue, List[Combinatorica`Private`v]], While[Unequal[Combinatorica`Private`queue, List[]], CompoundExpression[Set[List[Combinatorica`Private`x, Combinatorica`Private`queue], List[First[Combinatorica`Private`queue], Rest[Combinatorica`Private`queue]]], Scan[Function[If[And[Less[Plus[Part[Combinatorica`Private`dist, Slot[1]], Part[Combinatorica`Private`dist, Combinatorica`Private`x]], Combinatorica`Private`girth], Unequal[Part[Combinatorica`Private`parent, Combinatorica`Private`x], Slot[1]]], Set[Combinatorica`Private`girth, Plus[Part[Combinatorica`Private`dist, Slot[1]], Part[Combinatorica`Private`dist, Combinatorica`Private`x], 1]], If[Equal[Part[Combinatorica`Private`dist, Slot[1]], Infinity], CompoundExpression[Set[Part[Combinatorica`Private`dist, Slot[1]], Plus[Part[Combinatorica`Private`dist, Combinatorica`Private`x], 1]], Set[Part[Combinatorica`Private`parent, Slot[1]], Combinatorica`Private`x], If[Less[Times[2, Part[Combinatorica`Private`dist, Slot[1]]], Plus[Combinatorica`Private`girth, -1]], AppendTo[Combinatorica`Private`queue, Slot[1]]]]]]], Part[Combinatorica`Private`e, Combinatorica`Private`x]], Null]]], List[Combinatorica`Private`v, Combinatorica`Private`n]], Combinatorica`Private`girth]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Girth\"]], False]", "msgs": [], "secs": 0.037} +{"i": 275, "status": "ok", "out": "3", "msgs": [], "secs": 0.001} +{"i": 276, "status": "ok", "out": "4", "msgs": [], "secs": 0.003} +{"i": 277, "status": "ok", "out": "10", "msgs": [], "secs": 0.002} +{"i": 278, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 279, "status": "ok", "out": "6", "msgs": [], "secs": 0.001} +{"i": 280, "status": "ok", "out": "4", "msgs": [], "secs": 0.003} +{"i": 281, "status": "ok", "out": "Girth[Tree[9, List[Tree[4, List[Tree[10, None], Tree[5, List[Tree[7, None], Tree[1, None], Tree[3, List[Tree[2, List[Tree[8, None], Tree[6, None]]]]]]]]]]]]", "msgs": [], "secs": 0.0} +{"i": 282, "status": "ok", "out": "Null", "msgs": [], "secs": 0.028} +{"i": 283, "status": "ok", "out": "List[List[45, Null], List[140, Null], List[330, Null], List[567, Null], List[1037, Null], List[1756, Null], List[2864, Null], List[3132, Null], List[4305, Null], List[4056, Null]]", "msgs": [], "secs": 0.343} +{"i": 284, "status": "msg", "out": "ListPlot[List[Part[List[45, Null], 1, 1], Part[List[140, Null], 1, 1], Part[List[330, Null], 1, 1], Part[List[567, Null], 1, 1], Part[List[1037, Null], 1, 1], Part[List[1756, Null], 1, 1], Part[List[2864, Null], 1, 1], Part[List[3132, Null], 1, 1], Part[List[4305, Null], 1, 1], Part[List[4056, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.018000000000000002} +{"i": 285, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 286, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 287, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"OutDegree\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the out-degree of vertex \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) in directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"OutDegree\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the sequence of out-degrees of the vertices in directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, OutDegree, List[RuleDelayed[OutDegree[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`n, Blank[Integer]]], Length[Select[Edges[Combinatorica`Private`g], Function[Equal[First[Slot[1]], Combinatorica`Private`n]]]]], RuleDelayed[OutDegree[Pattern[Combinatorica`Private`g, Blank[Graph]]], Map[Length, ToAdjacencyLists[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`OutDegree\"]], False]", "msgs": [], "secs": 0.06} +{"i": 288, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 10000]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.249} +{"i": 289, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 290, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 10000]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.01} +{"i": 291, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"InDegree\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the in-degree of vertex \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) in directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"InDegree\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the sequence of in-degrees of the vertices in directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, InDegree, List[RuleDelayed[InDegree[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`n, Blank[Integer]]], Length[Select[Edges[Combinatorica`Private`g], Function[Equal[Last[Slot[1]], Combinatorica`Private`n]]]]], RuleDelayed[InDegree[Pattern[Combinatorica`Private`g, Blank[Graph]]], OutDegree[ReverseEdges[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`InDegree\"]], False]", "msgs": [], "secs": 0.039} +{"i": 292, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 10000]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.01} +{"i": 293, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ReverseEdges\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) flips the directions of all edges in a directed graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ReverseEdges, List[RuleDelayed[ReverseEdges[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[ChangeEdges[Combinatorica`Private`g, Map[Function[Prepend[Rest[Slot[1]], Reverse[First[Slot[1]]]]], Edges[Combinatorica`Private`g, All]]], Not[UndirectedQ[Combinatorica`Private`g]]]], RuleDelayed[ReverseEdges[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ReverseEdges\"]], False]", "msgs": [], "secs": 0.032} +{"i": 294, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 10000]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.011} +{"i": 295, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 296, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EulerianQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is Eulerian, meaning there exists a tour that includes each edge exactly once.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EulerianQ, List[RuleDelayed[EulerianQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Directed], CompoundExpression[Message[MessageName[EulerianQ, \"obsolete\"]], EulerianQ[Combinatorica`Private`g]]], RuleDelayed[EulerianQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[And[ConnectedQ[Combinatorica`Private`g], SameQ[InDegree[Combinatorica`Private`g], OutDegree[Combinatorica`Private`g]]], Not[UndirectedQ[Combinatorica`Private`g]]]], RuleDelayed[EulerianQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[And[ConnectedQ[Combinatorica`Private`g], Apply[And, Map[EvenQ, Degrees[Combinatorica`Private`g]]]], UndirectedQ[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EulerianQ\"]], False]", "msgs": [], "secs": 0.059000000000000004} +{"i": 297, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 298, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 299, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 300, "status": "ok", "out": "", "msgs": [], "secs": 0.02} +{"i": 301, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 302, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 303, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 304, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 305, "status": "ok", "out": "100000000000", "msgs": [], "secs": 0.0} +{"i": 306, "status": "ok", "out": "Null", "msgs": [], "secs": 0.084} +{"i": 307, "status": "crash", "out": "", "msgs": [], "secs": null} +{"i": 308, "status": "ok", "out": "List[1, Null]", "msgs": [], "secs": 0.0} +{"i": 309, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 310, "status": "ok", "out": "List[2018, Null]", "msgs": [], "secs": 0.021} +{"i": 311, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 312, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 313, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EulerianCycle\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds an Eulerian cycle of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) if one exists.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EulerianCycle, List[RuleDelayed[EulerianCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], Directed], CompoundExpression[Message[MessageName[EulerianCycle, \"obsolete\"]], EulerianCycle[Combinatorica`Private`g]]], RuleDelayed[Condition[EulerianCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], EmptyQ[Combinatorica`Private`g]], List[]], RuleDelayed[EulerianCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Combinatorica`Private`euler, Combinatorica`Private`c, Combinatorica`Private`cycles, Combinatorica`Private`v], CompoundExpression[Set[Combinatorica`Private`cycles, Map[Function[Drop[Slot[1], -1]], ExtractCycles[Combinatorica`Private`g]]], Set[List[Combinatorica`Private`euler, Combinatorica`Private`cycles], List[First[Combinatorica`Private`cycles], Rest[Combinatorica`Private`cycles]]], Do[CompoundExpression[Set[Combinatorica`Private`c, First[Select[Combinatorica`Private`cycles, Function[UnsameQ[Intersection[Combinatorica`Private`euler, Slot[1]], List[]]]]]], Set[Combinatorica`Private`v, First[Intersection[Combinatorica`Private`euler, Combinatorica`Private`c]]], Set[Combinatorica`Private`euler, Join[RotateLeft[Combinatorica`Private`c, Part[Position[Combinatorica`Private`c, Combinatorica`Private`v], 1, 1]], RotateLeft[Combinatorica`Private`euler, Part[Position[Combinatorica`Private`euler, Combinatorica`Private`v], 1, 1]]]], Set[Combinatorica`Private`cycles, Sort[DeleteCases[Combinatorica`Private`cycles, Combinatorica`Private`c, List[1], 1]]]], List[Length[Combinatorica`Private`cycles]]], Append[Combinatorica`Private`euler, First[Combinatorica`Private`euler]]]], EulerianQ[Combinatorica`Private`g]]], RuleDelayed[EulerianCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], List[]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EulerianCycle\"]], False]", "msgs": [], "secs": 0.027} +{"i": 314, "status": "ok", "out": "List[7, 2, 8, 1, 5, 4, 6, 3, 7, 4, 8, 3, 5, 2, 6, 1, 7]", "msgs": [], "secs": 0.002} +{"i": 315, "status": "ok", "out": "List[10, 11, 12, 9, 13, 14, 15, 16, 13, 1, 2, 14, 10, 6, 2, 3, 15, 11, 7, 3, 4, 16, 12, 8, 4, 1, 5, 6, 7, 8, 5, 9, 10]", "msgs": [], "secs": 0.005} +{"i": 316, "status": "ok", "out": "Null", "msgs": [], "secs": 0.029} +{"i": 317, "status": "ok", "out": "List[List[40, Null], List[363, Null], List[110, Null], List[5883, Null], List[406, Null]]", "msgs": [], "secs": 0.07} +{"i": 318, "status": "ok", "out": "List[List[61, Null], List[270, Null], List[848, Null], List[5157, Null], List[18382, Null]]", "msgs": [], "secs": 0.249} +{"i": 319, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 320, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 321, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`DeBruijnGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DeBruijnGraph, List[RuleDelayed[DeBruijnGraph[PatternTest[Pattern[Combinatorica`Private`m, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Block[List[Combinatorica`Private`alph, Combinatorica`Private`states, Combinatorica`Private`s, Combinatorica`Private`i, Combinatorica`Private`j], CompoundExpression[Set[Combinatorica`Private`alph, Table[Combinatorica`Private`i, List[Combinatorica`Private`i, 0, Plus[Combinatorica`Private`m, -1]]]], Set[Combinatorica`Private`states, Strings[Combinatorica`Private`alph, Combinatorica`Private`n]], Set[Combinatorica`Private`s, Length[Combinatorica`Private`states]], Graph[Flatten[Table[Table[List[List[Combinatorica`Private`i, Part[Position[Combinatorica`Private`states, Append[Rest[Part[Combinatorica`Private`states, Combinatorica`Private`i]], Part[Combinatorica`Private`alph, Combinatorica`Private`j]]], 1, 1]]], List[Combinatorica`Private`j, Length[Combinatorica`Private`alph]]], List[Combinatorica`Private`i, Combinatorica`Private`s]], 1], CircularEmbedding[Combinatorica`Private`s], Rule[EdgeDirection, True]]]]], RuleDelayed[DeBruijnGraph[Pattern[Combinatorica`Private`alph, Blank[List]], PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[Module[List[Combinatorica`Private`label, Set[Combinatorica`Private`nalpha, Union[Combinatorica`Private`alph]]], CompoundExpression[Set[Combinatorica`Private`label, ReplaceAll[VertexLabel, Flatten[List[Combinatorica`Private`opts, Options[DeBruijnGraph]]]]], If[Or[SameQ[Combinatorica`Private`label, True], SameQ[Combinatorica`Private`label, On]], SetVertexLabels[DeBruijnGraph[Length[Combinatorica`Private`nalpha], Combinatorica`Private`n], Map[Function[Apply[StringJoin, Map[ToString, Slot[1]]]], Strings[Combinatorica`Private`nalpha, Combinatorica`Private`n]]], DeBruijnGraph[Length[Combinatorica`Private`nalpha], Combinatorica`Private`n]]]], Unequal[Combinatorica`Private`alph, List[]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DeBruijnGraph\"]], False]", "msgs": [], "secs": 0.029} +{"i": 322, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 323, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 324, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 325, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 326, "status": "msg", "out": "Part[List[\"000\", \"001\", \"010\", \"011\", \"100\", \"101\", \"110\", \"111\"], List[8, 15, 13, 10, 4, 7, 14, 11, 6, 12, 8, 16, 16, 15, 14, 12, 7, 13, 9, 2, 3, 6, 11, 5, 10, 3, 5, 9, 1, 1, 2, 4, 8]]", "msgs": ["Part::partw"], "secs": 0.015} +{"i": 327, "status": "timeout", "out": "$TimedOut", "msgs": [], "secs": 299.694} +{"i": 328, "status": "ok", "out": "List[List[27, Null], List[31, Null], List[73, Null], List[321, Null], List[970, Null], List[3994, Null], List[20957, Null], List[80987, Null]]", "msgs": [], "secs": 2.5460000000000003} +{"i": 329, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"HamiltonianCycle\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a Hamiltonian cycle in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) if one exists. \\n\\!\\(\\*RowBox[{\\\"HamiltonianCycle\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"All\\\"}], \\\"]\\\"}]\\) gives all Hamiltonian cycles of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, HamiltonianCycle, List[RuleDelayed[HamiltonianCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], Optional[Pattern[Combinatorica`Private`flag, Blank[]], One]], Module[List[Set[Combinatorica`Private`s, List[1]], Set[Combinatorica`Private`all, List[]], Combinatorica`Private`done, Set[Combinatorica`Private`adj, Edges[Combinatorica`Private`g]], Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`x, Combinatorica`Private`v, Combinatorica`Private`ind, Set[Combinatorica`Private`n, V[Combinatorica`Private`g]]], CompoundExpression[If[Less[Combinatorica`Private`n, 3], Return[List[]]], Set[Combinatorica`Private`ind, Table[1, List[Combinatorica`Private`n]]], While[Greater[Length[Combinatorica`Private`s], 0], CompoundExpression[Set[Combinatorica`Private`v, Last[Combinatorica`Private`s]], Set[Combinatorica`Private`done, False], While[And[LessEqual[Part[Combinatorica`Private`ind, Combinatorica`Private`v], Length[Part[Combinatorica`Private`e, Combinatorica`Private`v]]], Not[Combinatorica`Private`done]], CompoundExpression[Set[Combinatorica`Private`x, Part[Combinatorica`Private`e, Combinatorica`Private`v, Increment[Part[Combinatorica`Private`ind, Combinatorica`Private`v]]]], Set[Combinatorica`Private`done, And[Not[MemberQ[Combinatorica`Private`s, Combinatorica`Private`x]], Or[Equal[Length[Combinatorica`Private`s], 1], BiconnectedQ[DeleteVertices[AddEdges[Combinatorica`Private`g, List[List[1, Combinatorica`Private`x]]], Rest[Combinatorica`Private`s]]]]]]]], If[Combinatorica`Private`done, AppendTo[Combinatorica`Private`s, Combinatorica`Private`x], CompoundExpression[Set[Combinatorica`Private`s, Drop[Combinatorica`Private`s, -1]], Set[Part[Combinatorica`Private`ind, Combinatorica`Private`v], 1]]], If[Equal[Length[Combinatorica`Private`s], Combinatorica`Private`n], If[MemberQ[Combinatorica`Private`adj, Sort[List[Combinatorica`Private`x, 1]]], CompoundExpression[AppendTo[Combinatorica`Private`all, Append[Combinatorica`Private`s, First[Combinatorica`Private`s]]], If[SameQ[Combinatorica`Private`flag, All], Set[Combinatorica`Private`s, Drop[Combinatorica`Private`s, -1]], CompoundExpression[Set[Combinatorica`Private`all, Flatten[Combinatorica`Private`all]], Set[Combinatorica`Private`s, List[]]]]], Set[Combinatorica`Private`s, Drop[Combinatorica`Private`s, -1]]]]]], Combinatorica`Private`all]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`HamiltonianCycle\"]], False]", "msgs": [], "secs": 0.037} +{"i": 330, "status": "ok", "out": "List[List[1, 4, 2, 5, 3, 6, 1], List[1, 4, 2, 6, 3, 5, 1], List[1, 4, 3, 5, 2, 6, 1], List[1, 4, 3, 6, 2, 5, 1], List[1, 5, 2, 4, 3, 6, 1], List[1, 5, 2, 6, 3, 4, 1], List[1, 5, 3, 4, 2, 6, 1], List[1, 5, 3, 6, 2, 4, 1], List[1, 6, 2, 4, 3, 5, 1], List[1, 6, 2, 5, 3, 4, 1], List[1, 6, 3, 4, 2, 5, 1], List[1, 6, 3, 5, 2, 4, 1]]", "msgs": [], "secs": 0.027} +{"i": 331, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 332, "status": "ok", "out": "List[1, 3, 4, 5, 2, 6, 7, 1]", "msgs": [], "secs": 0.005} +{"i": 333, "status": "ok", "out": "List[1, 2, 3, 4, 5, 10, 9, 8, 7, 6, 11, 12, 13, 14, 15, 20, 19, 18, 17, 16, 21, 22, 23, 24, 25, 1]", "msgs": [], "secs": 0.021} +{"i": 334, "status": "ok", "out": "List[]", "msgs": [], "secs": 1.0} +{"i": 335, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 336, "status": "ok", "out": "List[List[541, Null], List[738, Null], List[106016, Null], List[4492, Null]]", "msgs": [], "secs": 1.305} +{"i": 337, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 338, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 339, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns random real weights in the range \\!\\(\\*RowBox[{\\\"[\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\"}], \\\"]\\\"}]\\) to edges in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns edge weights to the edges in the edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges in edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SetEdgeWeights, List[RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g]], Combinatorica`Private`myfn, Combinatorica`Private`myrange], CompoundExpression[Set[List[Combinatorica`Private`myfn, Combinatorica`Private`myrange], ReplaceAll[List[WeightingFunction, WeightRange], Flatten[List[Combinatorica`Private`opts, Options[SetEdgeWeights]]]]], Switch[Combinatorica`Private`myfn, Random, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomReal[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], RandomInteger, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomInteger[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], Alternatives[Euclidean, LNorm[Blank[]]], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Combinatorica`Private`Distance[Part[Combinatorica`Private`v, Slot[1]], Combinatorica`Private`myfn]]]], Combinatorica`Private`e]], Blank[], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Apply[Combinatorica`Private`myfn, Transpose[List[Slot[1], Part[Combinatorica`Private`v, Slot[1]]]]]]]], Combinatorica`Private`e]]]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`opts]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], Condition[SetGraphOptions[Combinatorica`Private`g, MapIndexed[Function[List[Slot[1], Rule[EdgeWeight, Part[Combinatorica`Private`weights, First[Slot[2]]]]]], If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Combinatorica`Private`e], Combinatorica`Private`e]]], Equal[Length[Combinatorica`Private`weights], Length[Combinatorica`Private`e]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`weights]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[WeightingFunction, Random], Rule[WeightRange, List[0, 1]]]], Rule[\"Attributes\", List[Pro...", "msgs": [], "secs": 0.04} +{"i": 340, "status": "ok", "out": "List[List[List[1, 2], 18943], List[List[2, 3], 97085], List[List[3, 4], 14713], List[List[4, 5], 59414], List[List[6, 7], 88076], List[List[7, 8], 8491], List[List[8, 9], 72768], List[List[9, 10], 37712], List[List[11, 12], 63415], List[List[12, 13], 57369], List[List[13, 14], 24033], List[List[14, 15], 94730], List[List[16, 17], 372], List[List[17, 18], 87080], List[List[18, 19], 62567], List[List[19, 20], 48720], List[List[21, 22], 43152], List[List[22, 23], 3373], List[List[23, 24], 76760], List[List[24, 25], 56531], List[List[1, 6], 66049], List[List[2, 7], 90776], List[List[3, 8], 92382], List[List[4, 9], 66637], List[List[5, 10], 99395], List[List[6, 11], 89192], List[List[7, 12], 79719], List[List[8, 13], 58175], List[List[9, 14], 72357], List[List[10, 15], 4412], List[List[11, 16], 62913], List[List[12, 17], 40239], List[List[13, 18], 82596], List[List[14, 19], 2874], List[List[15, 20], 85078], List[List[16, 21], 65494], List[List[17, 22], 36505], List[List[18, 23], 76138], List[List[19, 24], 11054], List[List[20, 25], 64254]]", "msgs": [], "secs": 0.003} +{"i": 341, "status": "ok", "out": "List[List[List[1, 2], 15], List[List[2, 3], 12], List[List[3, 4], 20], List[List[4, 5], 11], List[List[6, 7], 12], List[List[7, 8], 13], List[List[8, 9], 12], List[List[9, 10], 19], List[List[11, 12], 15], List[List[12, 13], 12], List[List[13, 14], 16], List[List[14, 15], 11], List[List[16, 17], 14], List[List[17, 18], 12], List[List[18, 19], 19], List[List[19, 20], 10], List[List[21, 22], 17], List[List[22, 23], 14], List[List[23, 24], 18], List[List[24, 25], 18], List[List[1, 6], 11], List[List[2, 7], 14], List[List[3, 8], 17], List[List[4, 9], 20], List[List[5, 10], 20], List[List[6, 11], 16], List[List[7, 12], 14], List[List[8, 13], 10], List[List[9, 14], 17], List[List[10, 15], 11], List[List[11, 16], 14], List[List[12, 17], 16], List[List[13, 18], 20], List[List[14, 19], 13], List[List[15, 20], 10], List[List[16, 21], 20], List[List[17, 22], 14], List[List[18, 23], 12], List[List[19, 24], 11], List[List[20, 25], 14]]", "msgs": [], "secs": 0.002} +{"i": 342, "status": "ok", "out": "List[List[List[1, 2], -634820], List[List[2, 3], 291573], List[List[3, 4], 547213], List[List[4, 5], -215028], List[List[6, 7], -908720], List[List[7, 8], -12074], List[List[8, 9], -969202], List[List[9, 10], -359995], List[List[11, 12], 337814], List[List[12, 13], -874125], List[List[13, 14], 525501], List[List[14, 15], -337747], List[List[16, 17], 15166], List[List[17, 18], -183574], List[List[18, 19], -509276], List[List[19, 20], -209026], List[List[21, 22], 432329], List[List[22, 23], -216553], List[List[23, 24], -73618], List[List[24, 25], 885675], List[List[1, 6], 590857], List[List[2, 7], -994517], List[List[3, 8], -909404], List[List[4, 9], 967244], List[List[5, 10], -654326], List[List[6, 11], -428449], List[List[7, 12], 555724], List[List[8, 13], -547631], List[List[9, 14], 96092], List[List[10, 15], 90792], List[List[11, 16], 585400], List[List[12, 17], -154427], List[List[13, 18], -271589], List[List[14, 19], 724314], List[List[15, 20], 510675], List[List[16, 21], 862596], List[List[17, 22], -43449], List[List[18, 23], 652599], List[List[19, 24], 705747], List[List[20, 25], -288199]]", "msgs": [], "secs": 0.002} +{"i": 343, "status": "ok", "out": "List[List[List[1, 2], 100000], List[List[2, 3], 100000], List[List[4, 5], 100000], List[List[5, 6], 100000], List[List[7, 8], 100000], List[List[8, 9], 100000], List[List[1, 4], 100000], List[List[2, 5], 100000], List[List[3, 6], 100000], List[List[4, 7], 100000], List[List[5, 8], 100000], List[List[6, 9], 100000]]", "msgs": [], "secs": 0.001} +{"i": 344, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 345, "status": "ok", "out": "List[117557, 61803, 161803, 61803, 200000, 117557, 161803, 190211, 190211]", "msgs": [], "secs": 0.011} +{"i": 346, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetVertexWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns random real weights in the range \\!\\(\\*RowBox[{\\\"[\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\"}], \\\"]\\\"}]\\) to vertices in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetVertexWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the vertices of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetVertexWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"vs\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the vertices in the vertex list \\!\\(\\*StyleBox[\\\"vs\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SetVertexWeights, List[RuleDelayed[SetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g]], Combinatorica`Private`myfn, Combinatorica`Private`myrange, Combinatorica`Private`i], CompoundExpression[Set[List[Combinatorica`Private`myfn, Combinatorica`Private`myrange], ReplaceAll[List[WeightingFunction, WeightRange], Flatten[List[Combinatorica`Private`opts, Options[SetVertexWeights]]]]], Switch[Combinatorica`Private`myfn, Random, SetGraphOptions[Combinatorica`Private`g, Table[List[Combinatorica`Private`i, Rule[VertexWeight, RandomReal[Combinatorica`Private`myrange]]], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]], RandomInteger, SetGraphOptions[Combinatorica`Private`g, Table[List[Combinatorica`Private`i, Rule[VertexWeight, RandomInteger[Combinatorica`Private`myrange]]], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]], Blank[], SetGraphOptions[Combinatorica`Private`g, Table[List[Combinatorica`Private`i, Rule[VertexWeight, Apply[Combinatorica`Private`myfn, List[Combinatorica`Private`i, Part[Combinatorica`Private`v, Combinatorica`Private`i]]]]], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]]]]]], RuleDelayed[SetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`vs, List[RepeatedNull[Blank[Integer]]]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], Condition[SetGraphOptions[Combinatorica`Private`g, MapIndexed[Function[List[Slot[1], Rule[VertexWeight, Part[Combinatorica`Private`weights, First[Slot[2]]]]]], Combinatorica`Private`vs]], Equal[Length[Combinatorica`Private`weights], Length[Combinatorica`Private`vs]]]], RuleDelayed[SetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], SetVertexWeights[Combinatorica`Private`g, Range[V[Combinatorica`Private`g]], Combinatorica`Private`weights]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[WeightingFunction, Random], Rule[WeightRange, List[0, 1]]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SetVertexWeights\"]], False]", "msgs": [], "secs": 0.027} +{"i": 347, "status": "ok", "out": "GetVertexWeights[SetVertexWeights[Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[4, 5]], List[List[5, 6]], List[List[7, 8]], List[List[8, 9]], List[List[1, 4]], List[List[2, 5]], List[List[3, 6]], List[List[4, 7]], List[List[5, 8]], List[List[6, 9]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]]]], Random, Integer, List[10, 20]]]", "msgs": [], "secs": 0.0} +{"i": 348, "status": "ok", "out": "List[2743, 16559, 345, 15824, 18921, 75688, 88483, 28698, 25341]", "msgs": [], "secs": 0.001} +{"i": 349, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"GetEdgeWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the list of weights of the edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"GetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the list of weights in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) of the edges in \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GetEdgeWeights, List[RuleDelayed[GetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`el, List[RepeatedNull[List[List[Blank[Integer], Blank[Integer]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Map[Function[ReplaceAll[EdgeWeight, Flatten[List[Rest[Slot[1]], GraphOptions[Combinatorica`Private`g], Options[Graph]]]]], Combinatorica`Private`el]], RuleDelayed[GetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`el, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]]], Module[List[Set[Combinatorica`Private`nel, If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Combinatorica`Private`el], Combinatorica`Private`el]]], GetEdgeWeights[Combinatorica`Private`g, Select[Edges[Combinatorica`Private`g, All], Function[MemberQ[Combinatorica`Private`nel, Part[Slot[1], 1]]]]]]], RuleDelayed[GetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]]], GetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g, All]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GetEdgeWeights\"]], False]", "msgs": [], "secs": 0.028} +{"i": 350, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 351, "status": "ok", "out": "List[3, 6, 2, 7, 10, 10, 3, 9, 2, 3, 9, 3, 3, 9, 8, 0, 9, 6, 5, 2, 8, 7, 6, 4, 6, 7, 6, 8, 10, 0, 9, 1, 10, 5, 4, 3, 0, 7, 1, 4]", "msgs": [], "secs": 0.0} +{"i": 352, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"GetVertexWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the list of weights of vertices of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"GetVertexWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the list of weights in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) of the vertices in \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GetVertexWeights, List[RuleDelayed[GetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`el, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Map[Function[ReplaceAll[VertexWeight, Flatten[List[Rest[Slot[1]], GraphOptions[Combinatorica`Private`g], Options[Graph]]]]], Combinatorica`Private`el]], RuleDelayed[GetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`el, List[RepeatedNull[Blank[Integer]]]]], GetVertexWeights[Combinatorica`Private`g, Part[Vertices[Combinatorica`Private`g, All], Combinatorica`Private`el]]], RuleDelayed[GetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]]], GetVertexWeights[Combinatorica`Private`g, Vertices[Combinatorica`Private`g, All]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GetVertexWeights\"]], False]", "msgs": [], "secs": 0.028} +{"i": 353, "status": "ok", "out": "List[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]", "msgs": [], "secs": 0.0} +{"i": 354, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 355, "status": "ok", "out": "GetVertexWeights[SetVertexWeights[Graph[List[List[List[1, 2], Rule[EdgeWeight, 3]], List[List[2, 3], Rule[EdgeWeight, 6]], List[List[3, 4], Rule[EdgeWeight, 2]], List[List[4, 5], Rule[EdgeWeight, 7]], List[List[6, 7], Rule[EdgeWeight, 10]], List[List[7, 8], Rule[EdgeWeight, 10]], List[List[8, 9], Rule[EdgeWeight, 3]], List[List[9, 10], Rule[EdgeWeight, 9]], List[List[11, 12], Rule[EdgeWeight, 2]], List[List[12, 13], Rule[EdgeWeight, 3]], List[List[13, 14], Rule[EdgeWeight, 9]], List[List[14, 15], Rule[EdgeWeight, 3]], List[List[16, 17], Rule[EdgeWeight, 3]], List[List[17, 18], Rule[EdgeWeight, 9]], List[List[18, 19], Rule[EdgeWeight, 8]], List[List[19, 20], Rule[EdgeWeight, 0]], List[List[21, 22], Rule[EdgeWeight, 9]], List[List[22, 23], Rule[EdgeWeight, 6]], List[List[23, 24], Rule[EdgeWeight, 5]], List[List[24, 25], Rule[EdgeWeight, 2]], List[List[1, 6], Rule[EdgeWeight, 8]], List[List[2, 7], Rule[EdgeWeight, 7]], List[List[3, 8], Rule[EdgeWeight, 6]], List[List[4, 9], Rule[EdgeWeight, 4]], List[List[5, 10], Rule[EdgeWeight, 6]], List[List[6, 11], Rule[EdgeWeight, 7]], List[List[7, 12], Rule[EdgeWeight, 6]], List[List[8, 13], Rule[EdgeWeight, 8]], List[List[9, 14], Rule[EdgeWeight, 10]], List[List[10, 15], Rule[EdgeWeight, 0]], List[List[11, 16], Rule[EdgeWeight, 9]], List[List[12, 17], Rule[EdgeWeight, 1]], List[List[13, 18], Rule[EdgeWeight, 10]], List[List[14, 19], Rule[EdgeWeight, 5]], List[List[15, 20], Rule[EdgeWeight, 4]], List[List[16, 21], Rule[EdgeWeight, 3]], List[List[17, 22], Rule[EdgeWeight, 0]], List[List[18, 23], Rule[EdgeWeight, 7]], List[List[19, 24], Rule[EdgeWeight, 1]], List[List[20, 25], Rule[EdgeWeight, 4]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[400000, 100000]], List[List[500000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[400000, 200000]], List[List[500000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]], List[List[400000, 300000]], List[List[500000, 300000]], List[List[100000, 400000]], List[List[200000, 400000]], List[List[300000, 400000]], List[List[400000, 400000]], List[List[500000, 400000]], List[List[100000, 500000]], List[List[200000, 500000]], List[List[300000, 500000]], List[List[400000, 500000]], List[List[500000, 500000]]]], Random, Integer, List[100, 200]]]", "msgs": [], "secs": 0.0} +{"i": 356, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CostOfPath\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"p\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) sums up the weights of the edges in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) defined by the path \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CostOfPath, List[RuleDelayed[CostOfPath[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`p, Blank[List]]], Block[List[Set[Combinatorica`Private`w, GetEdgeWeights[Combinatorica`Private`g]], Combinatorica`Private`pos], CompoundExpression[If[UndirectedQ[Combinatorica`Private`g], Set[Combinatorica`Private`pos, Map[Function[Position[Map[Sort, Edges[Combinatorica`Private`g]], Slot[1]]], Map[Sort, Partition[Combinatorica`Private`p, 2, 1]]]], Set[Combinatorica`Private`pos, Map[Function[Position[Edges[Combinatorica`Private`g], Slot[1]]], Partition[Combinatorica`Private`p, 2, 1]]]], If[MemberQ[Combinatorica`Private`pos, List[]], Infinity, Apply[Plus, Part[Combinatorica`Private`w, Map[Function[Part[Slot[1], 1, 1]], Combinatorica`Private`pos]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CostOfPath\"]], False]", "msgs": [], "secs": 0.03} +{"i": 357, "status": "ok", "out": "Graph[List[List[List[1, 2], Rule[EdgeWeight, 5]], List[List[2, 3], Rule[EdgeWeight, 2]], List[List[3, 4], Rule[EdgeWeight, 5]], List[List[5, 6], Rule[EdgeWeight, 2]], List[List[6, 7], Rule[EdgeWeight, 3]], List[List[7, 8], Rule[EdgeWeight, 1]], List[List[9, 10], Rule[EdgeWeight, 4]], List[List[10, 11], Rule[EdgeWeight, 4]], List[List[11, 12], Rule[EdgeWeight, 4]], List[List[13, 14], Rule[EdgeWeight, 3]], List[List[14, 15], Rule[EdgeWeight, 5]], List[List[15, 16], Rule[EdgeWeight, 4]], List[List[1, 5], Rule[EdgeWeight, 1]], List[List[2, 6], Rule[EdgeWeight, 5]], List[List[3, 7], Rule[EdgeWeight, 5]], List[List[4, 8], Rule[EdgeWeight, 3]], List[List[5, 9], Rule[EdgeWeight, 5]], List[List[6, 10], Rule[EdgeWeight, 1]], List[List[7, 11], Rule[EdgeWeight, 5]], List[List[8, 12], Rule[EdgeWeight, 2]], List[List[9, 13], Rule[EdgeWeight, 1]], List[List[10, 14], Rule[EdgeWeight, 3]], List[List[11, 15], Rule[EdgeWeight, 4]], List[List[12, 16], Rule[EdgeWeight, 4]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[400000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[400000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]], List[List[400000, 300000]], List[List[100000, 400000]], List[List[200000, 400000]], List[List[300000, 400000]], List[List[400000, 400000]]]]", "msgs": [], "secs": 0.001} +{"i": 358, "status": "ok", "out": "17", "msgs": [], "secs": 0.0} +{"i": 359, "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.0} +{"i": 360, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TravelingSalesman\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds an optimal traveling salesman tour in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TravelingSalesman, List[RuleDelayed[TravelingSalesman[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Combinatorica`Private`v, Set[Combinatorica`Private`s, List[1]], Set[Combinatorica`Private`sol, List[]], Combinatorica`Private`done, Combinatorica`Private`cost, Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`x, Combinatorica`Private`ind, Combinatorica`Private`best, Set[Combinatorica`Private`n, V[Combinatorica`Private`g]]], CompoundExpression[Set[Combinatorica`Private`ind, Table[1, List[Combinatorica`Private`n]]], Set[Combinatorica`Private`best, Infinity], While[Greater[Length[Combinatorica`Private`s], 0], CompoundExpression[Set[Combinatorica`Private`v, Last[Combinatorica`Private`s]], Set[Combinatorica`Private`done, False], While[And[LessEqual[Part[Combinatorica`Private`ind, Combinatorica`Private`v], Length[Part[Combinatorica`Private`e, Combinatorica`Private`v]]], Not[Combinatorica`Private`done]], CompoundExpression[Set[Combinatorica`Private`x, Part[Combinatorica`Private`e, Combinatorica`Private`v, Increment[Part[Combinatorica`Private`ind, Combinatorica`Private`v]]]], Set[Combinatorica`Private`done, And[Greater[Combinatorica`Private`best, CostOfPath[Combinatorica`Private`g, Append[Combinatorica`Private`s, Combinatorica`Private`x]]], Not[MemberQ[Combinatorica`Private`s, Combinatorica`Private`x]]]]]], If[Combinatorica`Private`done, AppendTo[Combinatorica`Private`s, Combinatorica`Private`x], CompoundExpression[Set[Combinatorica`Private`s, Drop[Combinatorica`Private`s, -1]], Set[Part[Combinatorica`Private`ind, Combinatorica`Private`v], 1]]], If[Equal[Length[Combinatorica`Private`s], Combinatorica`Private`n], CompoundExpression[Set[Combinatorica`Private`cost, CostOfPath[Combinatorica`Private`g, Append[Combinatorica`Private`s, First[Combinatorica`Private`s]]]], If[Less[Combinatorica`Private`cost, Combinatorica`Private`best], CompoundExpression[Set[Combinatorica`Private`sol, Combinatorica`Private`s], Set[Combinatorica`Private`best, Combinatorica`Private`cost]]], Set[Combinatorica`Private`s, Drop[Combinatorica`Private`s, -1]]]]]], Append[Combinatorica`Private`sol, First[Combinatorica`Private`sol]]]], HamiltonianQ[Combinatorica`Private`g]]], RuleDelayed[TravelingSalesman[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Combinatorica`Private`$$dummy, CompoundExpression[Message[MessageName[TravelingSalesman, \"ham\"]], False]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TravelingSalesman\"]], False]", "msgs": [], "secs": 0.032} +{"i": 361, "status": "ok", "out": "Graph[List[List[List[1, 2], Rule[EdgeWeight, 1]], List[List[2, 3], Rule[EdgeWeight, 3]], List[List[3, 4], Rule[EdgeWeight, 1]], List[List[4, 5], Rule[EdgeWeight, 2]], List[List[5, 6], Rule[EdgeWeight, 2]], List[List[6, 7], Rule[EdgeWeight, 2]], List[List[7, 8], Rule[EdgeWeight, 1]], List[List[8, 9], Rule[EdgeWeight, 1]], List[List[9, 10], Rule[EdgeWeight, 2]], List[List[1, 10], Rule[EdgeWeight, 2]]], List[List[List[80902, 58779]], List[List[30902, 95106]], List[List[-30902, 95106]], List[List[-80902, 58779]], List[List[-100000, 0]], List[List[-80902, -58779]], List[List[-30902, -95106]], List[List[30902, -95106]], List[List[80902, -58779]], List[List[100000, 0]]]]", "msgs": [], "secs": 0.001} +{"i": 362, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1]", "msgs": [], "secs": 0.008} +{"i": 363, "status": "ok", "out": "List[81, 31, 15, 72, 88, 62]", "msgs": [], "secs": 0.0} +{"i": 364, "status": "ok", "out": "List[1, 3, 2, 4, 1]", "msgs": [], "secs": 0.003} +{"i": 365, "status": "ok", "out": "List[100000, 100000, 100000, 100000, 100000, 117557, 117557, 117557, 117557, 117557]", "msgs": [], "secs": 0.001} +{"i": 366, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 1]", "msgs": [], "secs": 0.019} +{"i": 367, "status": "ok", "out": "670228", "msgs": [], "secs": 0.0} +{"i": 368, "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.0} +{"i": 369, "status": "ok", "out": "670228", "msgs": [], "secs": 0.0} +{"i": 370, "status": "ok", "out": "Null", "msgs": [], "secs": 0.003} +{"i": 371, "status": "ok", "out": "List[List[1329, Null], List[7794, Null], List[28474, Null], List[376140, Null]]", "msgs": [], "secs": 7.074} +{"i": 372, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TriangleInequalityQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the weights assigned to the edges of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) satisfy the triangle inequality.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TriangleInequalityQ, List[RuleDelayed[TriangleInequalityQ[PatternTest[Pattern[Combinatorica`Private`e, Blank[]], Combinatorica`Private`squareMatrixQ]], Module[List[Combinatorica`Private`i, Combinatorica`Private`j, Combinatorica`Private`k, Set[Combinatorica`Private`n, Length[Combinatorica`Private`e]], Set[Combinatorica`Private`flag, True]], CompoundExpression[Do[If[And[Unequal[Part[Combinatorica`Private`e, Combinatorica`Private`i, Combinatorica`Private`k], 0], Unequal[Part[Combinatorica`Private`e, Combinatorica`Private`k, Combinatorica`Private`j], 0], Unequal[Part[Combinatorica`Private`e, Combinatorica`Private`i, Combinatorica`Private`j], 0]], If[Less[Plus[Part[Combinatorica`Private`e, Combinatorica`Private`i, Combinatorica`Private`k], Part[Combinatorica`Private`e, Combinatorica`Private`k, Combinatorica`Private`j]], Part[Combinatorica`Private`e, Combinatorica`Private`i, Combinatorica`Private`j]], CompoundExpression[Set[Combinatorica`Private`flag, False], Null]]], List[Combinatorica`Private`i, Combinatorica`Private`n], List[Combinatorica`Private`j, Combinatorica`Private`n], List[Combinatorica`Private`k, Combinatorica`Private`n]], Combinatorica`Private`flag]]], RuleDelayed[TriangleInequalityQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Block[List[Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], Set[Combinatorica`Private`w, GetEdgeWeights[Combinatorica`Private`g]], Set[Combinatorica`Private`m, Table[0, List[V[Combinatorica`Private`g]], List[V[Combinatorica`Private`g]]]], Combinatorica`Private`i], CompoundExpression[If[UndirectedQ[Combinatorica`Private`g], CompoundExpression[Set[Combinatorica`Private`e, Combinatorica`Private`Double[Combinatorica`Private`e]], Set[Combinatorica`Private`w, Join[Combinatorica`Private`w, Combinatorica`Private`w]]]], Do[Set[Part[Combinatorica`Private`m, Part[Combinatorica`Private`e, Combinatorica`Private`i, 1], Part[Combinatorica`Private`e, Combinatorica`Private`i, 2]], Part[Combinatorica`Private`w, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Combinatorica`Private`e]]], TriangleInequalityQ[Combinatorica`Private`m]]], SimpleQ[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TriangleInequalityQ\"]], False]", "msgs": [], "secs": 0.20700000000000002} +{"i": 373, "status": "ok", "out": "List[4263, 78994, 41610, 43806]", "msgs": [], "secs": 0.019} +{"i": 374, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 375, "status": "ok", "out": "List[3811, 74398, 25278, 99925, 1426, 73436, 4490, 74108, 91484, 98043]", "msgs": [], "secs": 0.004} +{"i": 376, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 377, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]], List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]]]", "msgs": [], "secs": 0.002} +{"i": 378, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 379, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.178} +{"i": 380, "status": "ok", "out": "True", "msgs": [], "secs": 0.002} +{"i": 381, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TravelingSalesmanBounds\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives upper and lower bounds on a minimum-cost traveling salesman tour of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TravelingSalesmanBounds, List[RuleDelayed[TravelingSalesmanBounds[Pattern[Combinatorica`Private`g, Blank[Graph]]], List[Combinatorica`Private`LowerBoundTSP[Combinatorica`Private`g], Combinatorica`Private`UpperBoundTSP[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TravelingSalesmanBounds\"]], False]", "msgs": [], "secs": 0.209} +{"i": 382, "status": "ok", "out": "List[5, 5]", "msgs": [], "secs": 0.004} +{"i": 383, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TransitiveClosure\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds the transitive closure of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), the supergraph of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) that contains edge \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) if and only if there is a path from \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) to \\!\\(\\*StyleBox[\\\"y\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TransitiveClosure, List[RuleDelayed[TransitiveClosure[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Combinatorica`Private`g, EmptyQ[Combinatorica`Private`g]]], RuleDelayed[TransitiveClosure[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, ToAdjacencyMatrix[Combinatorica`Private`g]]], If[UndirectedQ[Combinatorica`Private`g], FromAdjacencyMatrix[Combinatorica`Private`TC[Combinatorica`Private`e], Vertices[Combinatorica`Private`g, All]], FromAdjacencyMatrix[Combinatorica`Private`TC[Combinatorica`Private`e], Vertices[Combinatorica`Private`g, All], Rule[Type, Directed]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TransitiveClosure\"]], False]", "msgs": [], "secs": 0.146} +{"i": 384, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.014} +{"i": 385, "status": "ok", "out": "List[List[1, 2], List[1, 3], List[1, 4], List[2, 3], List[2, 4], List[3, 4]]", "msgs": [], "secs": 0.0} +{"i": 386, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 387, "status": "ok", "out": "List[List[1, 1], List[1, 2], List[1, 3], List[1, 4], List[2, 2], List[2, 3], List[2, 4], List[3, 3], List[3, 4], List[4, 4]]", "msgs": [], "secs": 0.0} +{"i": 388, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 389, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 390, "status": "ok", "out": "List[5700, Null]", "msgs": [], "secs": 0.124} +{"i": 391, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TransitiveQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) defines a transitive relation.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TransitiveQ, List[RuleDelayed[TransitiveQ[PatternTest[Pattern[Combinatorica`Private`r, Blank[]], Combinatorica`Private`squareMatrixQ]], TransitiveQ[FromAdjacencyMatrix[Combinatorica`Private`r, Rule[Type, Directed]]]], RuleDelayed[TransitiveQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], IdenticalQ[Combinatorica`Private`g, TransitiveClosure[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TransitiveQ\"]], False]", "msgs": [], "secs": 0.437} +{"i": 392, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Further output of `1` will be suppressed during this calculation.\"", "\"Uncaught `1` returned to top level.\"", "\"Further output of `1` will be suppressed during this calculation.\""], "secs": 0.132} +{"i": 393, "status": "ok", "out": "False", "msgs": [], "secs": 1.034} +{"i": 394, "status": "ok", "out": "True", "msgs": [], "secs": 1.308} +{"i": 395, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.23900000000000002} +{"i": 396, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.004} +{"i": 397, "status": "ok", "out": "", "msgs": [], "secs": 0.156} +{"i": 398, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ReflexiveQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the adjacency matrix of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) represents a reflexive binary relation.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ReflexiveQ, List[RuleDelayed[ReflexiveQ[PatternTest[Pattern[Combinatorica`Private`r, Blank[]], Combinatorica`Private`squareMatrixQ]], Module[List[Combinatorica`Private`i], Apply[And, Table[Unequal[Part[Combinatorica`Private`r, Combinatorica`Private`i, Combinatorica`Private`i], 0], List[Combinatorica`Private`i, Length[Combinatorica`Private`r]]]]]], RuleDelayed[ReflexiveQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[False, Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[ReflexiveQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], Combinatorica`Private`i], Apply[And, Table[MemberQ[Combinatorica`Private`e, List[Combinatorica`Private`i, Combinatorica`Private`i]], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ReflexiveQ\"]], False]", "msgs": [], "secs": 0.182} +{"i": 399, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 400, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 401, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 402, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 403, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 404, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AntiSymmetricQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the adjacency matrix of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) represents an anti-symmetric binary relation.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AntiSymmetricQ, List[RuleDelayed[AntiSymmetricQ[PatternTest[Pattern[Combinatorica`Private`r, Blank[]], Combinatorica`Private`squareMatrixQ]], Apply[And, Flatten[Table[Unequal[Part[Combinatorica`Private`r, Combinatorica`Private`i, Combinatorica`Private`j], Part[Combinatorica`Private`r, Combinatorica`Private`j, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Combinatorica`Private`r]], List[Combinatorica`Private`j, Plus[Combinatorica`Private`i, -1]]], 1]]], RuleDelayed[AntiSymmetricQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Set[Combinatorica`Private`e, Edges[RemoveSelfLoops[Combinatorica`Private`g]]]], Apply[And, Map[Function[Not[MemberQ[Combinatorica`Private`e, Reverse[Slot[1]]]]], Combinatorica`Private`e]]], Not[UndirectedQ[Combinatorica`Private`g]]]], RuleDelayed[AntiSymmetricQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Equal[M[RemoveSelfLoops[Combinatorica`Private`g]], 0]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`AntiSymmetricQ\"]], False]", "msgs": [], "secs": 0.08700000000000001} +{"i": 405, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.002} +{"i": 406, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 407, "status": "ok", "out": "", "msgs": [], "secs": 0.253} +{"i": 408, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 409, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"PartialOrderQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the binary relation defined by edges of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is a partial order, meaning it is transitive, reflexive and antisymmetric. \\n\\!\\(\\*RowBox[{\\\"PartialOrderQ\\\", \\\"[\\\", StyleBox[\\\"r\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the binary relation defined by the square matrix \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\) is a partial order.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, PartialOrderQ, List[RuleDelayed[PartialOrderQ[PatternTest[Pattern[Combinatorica`Private`r, Blank[]], Combinatorica`Private`SquareMatrix]], And[ReflexiveQ[Combinatorica`Private`r], AntiSymmetricQ[Combinatorica`Private`r], TransitiveQ[Combinatorica`Private`r]]], RuleDelayed[PartialOrderQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], And[ReflexiveQ[Combinatorica`Private`g], AntiSymmetricQ[Combinatorica`Private`g], TransitiveQ[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`PartialOrderQ\"]], False]", "msgs": [], "secs": 0.07} +{"i": 410, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 411, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 412, "status": "ok", "out": "List[List[1, 1], List[1, 2], List[1, 3], List[1, 4], List[1, 5], List[1, 6], List[1, 7], List[1, 8], List[1, 9], List[2, 2], List[2, 3], List[2, 4], List[2, 5], List[2, 6], List[2, 7], List[2, 8], List[2, 9], List[3, 3], List[3, 4], List[3, 5], List[3, 6], List[3, 7], List[3, 8], List[3, 9], List[4, 4], List[4, 5], List[4, 6], List[4, 7], List[4, 8], List[4, 9], List[5, 5], List[5, 6], List[5, 7], List[5, 8], List[5, 9], List[6, 6], List[6, 7], List[6, 8], List[6, 9], List[7, 7], List[7, 8], List[7, 9], List[8, 8], List[8, 9], List[9, 9]]", "msgs": [], "secs": 0.0} +{"i": 413, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 414, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TransitiveReduction\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a smallest graph that has the same transitive closure as \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TransitiveReduction, List[RuleDelayed[TransitiveReduction[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Combinatorica`Private`g, EmptyQ[Combinatorica`Private`g]]], RuleDelayed[TransitiveReduction[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`closure, ToAdjacencyMatrix[Combinatorica`Private`g]]], If[UndirectedQ[Combinatorica`Private`g], FromAdjacencyMatrix[Combinatorica`Private`TR[Combinatorica`Private`closure], Vertices[Combinatorica`Private`g, All]], If[AcyclicQ[RemoveSelfLoops[Combinatorica`Private`g]], FromAdjacencyMatrix[Combinatorica`Private`TRAcyclic[Combinatorica`Private`closure], Vertices[Combinatorica`Private`g, All], Rule[Type, Directed]], FromAdjacencyMatrix[Combinatorica`Private`TR[Combinatorica`Private`closure], Vertices[Combinatorica`Private`g, All], Rule[Type, Directed]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TransitiveReduction\"]], False]", "msgs": [], "secs": 0.07200000000000001} +{"i": 415, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.003} +{"i": 416, "status": "ok", "out": "", "msgs": [], "secs": 0.014} +{"i": 417, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 418, "status": "ok", "out": "", "msgs": [], "secs": 0.021} +{"i": 419, "status": "ok", "out": "", "msgs": [], "secs": 0.026000000000000002} +{"i": 420, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`TopologicalSort\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TopologicalSort, List[RuleDelayed[TopologicalSort[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Range[V[Combinatorica`Private`g]], EmptyQ[Combinatorica`Private`g]]], RuleDelayed[TopologicalSort[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Set[Combinatorica`Private`g1, RemoveSelfLoops[Combinatorica`Private`g]], Combinatorica`Private`e, Combinatorica`Private`indeg, Combinatorica`Private`zeros, Combinatorica`Private`v], CompoundExpression[Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g1]], Set[Combinatorica`Private`indeg, InDegree[Combinatorica`Private`g1]], Set[Combinatorica`Private`zeros, Flatten[Position[Combinatorica`Private`indeg, 0]]], Table[CompoundExpression[Set[List[Combinatorica`Private`v, Combinatorica`Private`zeros], List[First[Combinatorica`Private`zeros], Rest[Combinatorica`Private`zeros]]], Scan[Function[CompoundExpression[Decrement[Part[Combinatorica`Private`indeg, Slot[1]]], If[Equal[Part[Combinatorica`Private`indeg, Slot[1]], 0], AppendTo[Combinatorica`Private`zeros, Slot[1]]]]], Part[Combinatorica`Private`e, Combinatorica`Private`v]], Combinatorica`Private`v], List[V[Combinatorica`Private`g]]]]], And[AcyclicQ[RemoveSelfLoops[Combinatorica`Private`g]], Not[UndirectedQ[Combinatorica`Private`g]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TopologicalSort\"]], False]", "msgs": [], "secs": 0.332} +{"i": 421, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.003} +{"i": 422, "status": "ok", "out": "ShowGraph[HasseDiagram[Graph[List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]]]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.001} +{"i": 423, "status": "ok", "out": "TopologicalSort[Graph[List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]]]]]", "msgs": [], "secs": 0.002} +{"i": 424, "status": "ok", "out": "ShowGraph[ChangeEdges[Graph[List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]]]], List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]], List[List[9, 10]]]]]", "msgs": [], "secs": 0.001} +{"i": 425, "status": "ok", "out": "TopologicalSort[ChangeEdges[Graph[List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]]]], List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]], List[List[9, 10]]]]]", "msgs": [], "secs": 0.0} +{"i": 426, "status": "ok", "out": "", "msgs": [], "secs": 0.016} +{"i": 427, "status": "ok", "out": "", "msgs": [], "secs": 0.015} +{"i": 428, "status": "ok", "out": "List[1, 2, 3, 5, 7, 11, 4, 6, 9, 10, 8, 12]", "msgs": [], "secs": 0.001} +{"i": 429, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`ChromaticPolynomial\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ChromaticPolynomial, List[RuleDelayed[ChromaticPolynomial[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`z, Blank[]]], Condition[ChromaticPolynomial[MakeSimple[Combinatorica`Private`g], Combinatorica`Private`z], Not[SimpleQ[Combinatorica`Private`g]]]], RuleDelayed[ChromaticPolynomial[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`z, Blank[]]], Condition[0, IdenticalQ[Combinatorica`Private`g, CompleteGraph[0]]]], RuleDelayed[ChromaticPolynomial[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`z, Blank[]]], Condition[Module[List[Combinatorica`Private`i], Product[Plus[Combinatorica`Private`z, Times[-1, Combinatorica`Private`i]], List[Combinatorica`Private`i, 0, Plus[V[Combinatorica`Private`g], -1]]]], CompleteQ[Combinatorica`Private`g]]], RuleDelayed[ChromaticPolynomial[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`z, Blank[]]], Condition[Times[Combinatorica`Private`z, Power[Plus[Combinatorica`Private`z, -1], Plus[V[Combinatorica`Private`g], -1]]], TreeQ[Combinatorica`Private`g]]], RuleDelayed[ChromaticPolynomial[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`z, Blank[]]], If[Greater[M[Combinatorica`Private`g], Times[Binomial[V[Combinatorica`Private`g], 2], Power[2, -1]]], Combinatorica`Private`ChromaticDense[Combinatorica`Private`g, Combinatorica`Private`z], Combinatorica`Private`ChromaticSparse[Combinatorica`Private`g, Combinatorica`Private`z]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ChromaticPolynomial\"]], False]", "msgs": [], "secs": 0.11800000000000001} +{"i": 430, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 431, "status": "ok", "out": "Times[Plus[-4, z], Plus[-3, z], Plus[-2, z], Plus[-1, z], z]", "msgs": [], "secs": 0.0} +{"i": 432, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 433, "status": "ok", "out": "Power[z, 10]", "msgs": [], "secs": 0.0} +{"i": 434, "status": "ok", "out": "ChromaticPolynomial[Tree[6, List[Tree[1, List[Tree[3, List[Tree[10, None], Tree[8, List[Tree[4, List[Tree[7, None]]]]]]], Tree[9, List[Tree[5, None], Tree[2, None]]]]]]], z]", "msgs": [], "secs": 1.831} +{"i": 435, "status": "ok", "out": "Null", "msgs": [], "secs": 0.011} +{"i": 436, "status": "ok", "out": "Plus[Times[Plus[-3, z], Plus[-2, z], Plus[-1, z], z], Times[Plus[-4, z], Plus[-3, z], Plus[-2, z], Plus[-1, z], z]]", "msgs": [], "secs": 0.002} +{"i": 437, "status": "ok", "out": "Plus[Times[4, z], Times[-10, Power[z, 2]], Times[10, Power[z, 3]], Times[-5, Power[z, 4]], Power[z, 5]]", "msgs": [], "secs": 0.006} +{"i": 438, "status": "ok", "out": "List[List[List[0, Null], List[1144, Null]], List[List[0, Null], List[1840, Null]], List[List[0, Null], List[3229, Null]], List[List[0, Null], List[7073, Null]], List[List[1, Null], List[14855, Null]], List[List[1, Null], List[29625, Null]]]", "msgs": [], "secs": 2.591} +{"i": 439, "status": "ok", "out": "Plus[Times[14, z], Times[-31, Power[z, 2]], Times[24, Power[z, 3]], Times[-8, Power[z, 4]], Power[z, 5]]", "msgs": [], "secs": 0.029} +{"i": 440, "status": "ok", "out": "List[0, 0, 6, 72, 420, 1560, 4410]", "msgs": [], "secs": 0.0} +{"i": 441, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ChromaticNumber\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the chromatic number of the graph, which is the fewest number of colors necessary to color the graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ChromaticNumber, List[RuleDelayed[ChromaticNumber[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[0, Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[ChromaticNumber[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[1, EmptyQ[MakeSimple[Combinatorica`Private`g]]]], RuleDelayed[ChromaticNumber[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[2, BipartiteQ[MakeSimple[Combinatorica`Private`g]]]], RuleDelayed[ChromaticNumber[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[V[Combinatorica`Private`g], CompleteQ[MakeSimple[Combinatorica`Private`g]]]], RuleDelayed[ChromaticNumber[Pattern[Combinatorica`Private`g, Blank[Graph]]], Max[MinimumVertexColoring[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ChromaticNumber\"]], False]", "msgs": [], "secs": 0.368} +{"i": 442, "status": "ok", "out": "3", "msgs": [], "secs": 0.026000000000000002} +{"i": 443, "status": "ok", "out": "2", "msgs": [], "secs": 0.013000000000000001} +{"i": 444, "status": "ok", "out": "Null", "msgs": [], "secs": 0.012} +{"i": 445, "status": "ok", "out": "List[487, Null]", "msgs": [], "secs": 0.017} +{"i": 446, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TwoColoring\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a two-coloring of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) if \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is bipartite. It returns a list of the labels 1 and 2 corresponding to the vertices. \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TwoColoring, List[RuleDelayed[TwoColoring[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[List[], Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[TwoColoring[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[TwoColoring[MakeSimple[Combinatorica`Private`g]], Or[Not[SimpleQ[Combinatorica`Private`g]], Not[UndirectedQ[Combinatorica`Private`g]]]]], RuleDelayed[TwoColoring[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`c, ConnectedComponents[Combinatorica`Private`g]], Combinatorica`Private`p, Combinatorica`Private`b], Plus[Mod[Flatten[Map[Function[Cases[Slot[1], Blank[Integer]]], Transpose[Map[Function[BreadthFirstTraversal[Combinatorica`Private`g, Part[Slot[1], 1], Level]], Combinatorica`Private`c]]], 1], 2], 1]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TwoColoring\"]], False]", "msgs": [], "secs": 0.458} +{"i": 447, "status": "ok", "out": "TwoColoring[Tree[2, List[Tree[1, List[Tree[10, None], Tree[8, None], Tree[9, List[Tree[3, None]]]]], Tree[16, None], Tree[17, List[Tree[20, List[Tree[6, None]]]]], Tree[11, List[Tree[15, List[Tree[5, List[Tree[13, List[Tree[7, None], Tree[19, List[Tree[14, None]]], Tree[18, List[Tree[12, None]]]]]]]]]]], Tree[4, None]]]]", "msgs": [], "secs": 0.01} +{"i": 448, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 449, "status": "ok", "out": "List[1, 1, 1, 2, 2, 2, 2, 2, 2]", "msgs": [], "secs": 0.003} +{"i": 450, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 451, "status": "ok", "out": "Null", "msgs": [], "secs": 0.039} +{"i": 452, "status": "ok", "out": "List[List[List[0, Null], List[876, Null]], List[List[0, Null], List[3254, Null]], List[List[1, Null], List[6135, Null]]]", "msgs": [], "secs": 0.181} +{"i": 453, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 454, "status": "ok", "out": "MyTC[Tree[2, List[Tree[1, List[Tree[10, None], Tree[8, None], Tree[9, List[Tree[3, None]]]]], Tree[16, None], Tree[17, List[Tree[20, List[Tree[6, None]]]]], Tree[11, List[Tree[15, List[Tree[5, List[Tree[13, List[Tree[7, None], Tree[19, List[Tree[14, None]]], Tree[18, List[Tree[12, None]]]]]]]]]]], Tree[4, None]]]]", "msgs": [], "secs": 0.0} +{"i": 455, "status": "ok", "out": "List[List[200, Null], List[954, Null], List[3026, Null]]", "msgs": [], "secs": 0.043000000000000003} +{"i": 456, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BipartiteQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is bipartite.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BipartiteQ, List[RuleDelayed[BipartiteQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`c, TwoColoring[Combinatorica`Private`g]]], Apply[And, Map[Function[Unequal[Part[Combinatorica`Private`c, Part[Slot[1], 1]], Part[Combinatorica`Private`c, Part[Slot[1], 2]]]], Edges[Combinatorica`Private`g]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`BipartiteQ\"]], False]", "msgs": [], "secs": 0.027} +{"i": 457, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 458, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 459, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 460, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 461, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"VertexColoring\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) uses Brelaz's heuristic to find a good, but not necessarily minimal, vertex coloring of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, VertexColoring, List[RuleDelayed[VertexColoring[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`algo, ReplaceAll[Algorithm, Flatten[List[Combinatorica`Private`opts, Options[VertexColoring]]]]]], If[SameQ[Combinatorica`Private`algo, Brelaz], BrelazColoring[Combinatorica`Private`g], MinimumVertexColoring[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Algorithm, Brelaz]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`VertexColoring\"]], False]", "msgs": [], "secs": 0.035} +{"i": 462, "status": "ok", "out": "List[1, 2, 3, 4]", "msgs": [], "secs": 0.0} +{"i": 463, "status": "ok", "out": "List[1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1]", "msgs": [], "secs": 0.005} +{"i": 464, "status": "ok", "out": "List[1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 4, 3]", "msgs": [], "secs": 0.002} +{"i": 465, "status": "ok", "out": "List[List[1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27], List[2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28], List[30], List[29]]", "msgs": [], "secs": 0.0} +{"i": 466, "status": "ok", "out": "", "msgs": [], "secs": 0.018000000000000002} +{"i": 467, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 468, "status": "ok", "out": "Null", "msgs": [], "secs": 0.012} +{"i": 469, "status": "ok", "out": "List[List[List[1, Null], List[61, Null]], List[List[0, Null], List[638, Null]], List[List[0, Null], List[3871, Null]]]", "msgs": [], "secs": 0.068} +{"i": 470, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 471, "status": "ok", "out": "", "msgs": [], "secs": 0.032} +{"i": 472, "status": "ok", "out": "List[1, 4, 1, 2, 2, 2, 1, 1, 1, 5, 2, 4, 1, 3, 3, 2, 1, 3, 2, 2, 5, 5, 3, 3, 3, 2, 5, 4, 3, 3]", "msgs": [], "secs": 0.003} +{"i": 473, "status": "ok", "out": "List[List[1, 3, 7, 8, 9, 13, 17], List[4, 5, 6, 11, 16, 19, 20, 26], List[14, 15, 18, 23, 24, 25, 29, 30], List[2, 12, 28], List[10, 21, 22, 27]]", "msgs": [], "secs": 0.0} +{"i": 474, "status": "ok", "out": "", "msgs": [], "secs": 0.027} +{"i": 475, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EdgeColoring\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) uses Brelaz's heuristic to find a good, but not necessarily minimal, edge coloring of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EdgeColoring, List[RuleDelayed[EdgeColoring[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`c, VertexColoring[LineGraph[Combinatorica`Private`g]]], Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], Combinatorica`Private`se], CompoundExpression[Set[Combinatorica`Private`se, Sort[Table[List[Part[Combinatorica`Private`e, Combinatorica`Private`i], Combinatorica`Private`i], List[Combinatorica`Private`i, Length[Combinatorica`Private`e]]]]], Map[Last, Sort[Map[Reverse, Table[Prepend[Part[Combinatorica`Private`se, Combinatorica`Private`i], Part[Combinatorica`Private`c, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Combinatorica`Private`se]]]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EdgeColoring\"]], False]", "msgs": [], "secs": 0.097} +{"i": 476, "status": "ok", "out": "List[3, 2, 4, 5, 6, 7, 8, 9, 1, 1, 3, 1, 2, 1, 2, 1, 3, 2]", "msgs": [], "secs": 0.002} +{"i": 477, "status": "ok", "out": "List[1, 2, 3, 2, 1, 2, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 3, 1, 1, 1, 3, 4, 4, 4, 3, 2, 3, 3, 3, 1, 3, 4, 4, 4, 3]", "msgs": [], "secs": 0.004} +{"i": 478, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 479, "status": "ok", "out": "List[List[1, 5, 9, 11, 13, 15, 17, 19, 23, 24, 25, 35], List[2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 21, 31], List[3, 7, 22, 26, 30, 32, 33, 34, 36, 40], List[27, 28, 29, 37, 38, 39]]", "msgs": [], "secs": 0.0} +{"i": 480, "status": "ok", "out": "", "msgs": [], "secs": 0.021} +{"i": 481, "status": "ok", "out": "List[List[List[1, 2], List[6, 7], List[11, 12], List[13, 14], List[16, 17], List[18, 19], List[21, 22], List[23, 24], List[3, 8], List[4, 9], List[5, 10], List[15, 20]], List[List[2, 3], List[4, 5], List[7, 8], List[9, 10], List[12, 13], List[14, 15], List[17, 18], List[19, 20], List[22, 23], List[24, 25], List[1, 6], List[11, 16]], List[List[3, 4], List[8, 9], List[2, 7], List[6, 11], List[10, 15], List[12, 17], List[13, 18], List[14, 19], List[16, 21], List[20, 25]], List[List[7, 12], List[8, 13], List[9, 14], List[17, 22], List[18, 23], List[19, 24]]]", "msgs": [], "secs": 0.002} +{"i": 482, "status": "ok", "out": "", "msgs": [], "secs": 0.013000000000000001} +{"i": 483, "status": "ok", "out": "Null", "msgs": [], "secs": 0.012} +{"i": 484, "status": "ok", "out": "List[List[845, Null], List[5738, Null]]", "msgs": [], "secs": 0.096} +{"i": 485, "status": "ok", "out": "List[List[299, Null], List[1271, Null]]", "msgs": [], "secs": 0.039} +{"i": 486, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 487, "status": "ok", "out": "List[List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 488, "status": "ok", "out": "List[List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 489, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EdgeChromaticNumber\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the chromatic number for the edges of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/EdgeChromaticNumber.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Method, Automatic], RuleDelayed[PerformanceGoal, $PerformanceGoal]]], Rule[\"Attributes\", List[Protected, ReadProtected]], Rule[\"FullName\", \"System`EdgeChromaticNumber\"]], False]", "msgs": [], "secs": 0.042} +{"i": 490, "status": "msg", "out": "EdgeChromaticNumber[Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]]]", "msgs": ["EdgeChromaticNumber::graph"], "secs": 0.037} +{"i": 491, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 492, "status": "timeout", "out": "$TimedOut", "msgs": [], "secs": 4190.615} +{"i": 493, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MaximumClique\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a largest clique in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"MaximumClique\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns a \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\)-clique, if such a thing exists in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\); otherwise it returns \\!\\(\\*RowBox[{\\\"{\\\", \\\"}\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MaximumClique, List[RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[List[], Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[List[1], And[Equal[V[Combinatorica`Private`g], 1], Equal[Combinatorica`Private`k, 1]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[List[], And[Equal[V[Combinatorica`Private`g], 1], Unequal[Combinatorica`Private`k, 1]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[MaximumClique[MakeSimple[Combinatorica`Private`g], Combinatorica`Private`k], Or[Not[SimpleQ[Combinatorica`Private`g]], Not[UndirectedQ[Combinatorica`Private`g]]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Module[List[Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]]], Flatten[Position[Backtrack[Table[List[True, False], List[V[Combinatorica`Private`g]]], Function[Or[Equal[Last[Slot[1]], False], And[LessEqual[Count[Slot[1], True], Combinatorica`Private`k], Equal[Length[Intersection[Flatten[Position[Slot[1], True]], Part[Combinatorica`Private`e, Length[Slot[1]]]]], Plus[Count[Slot[1], True], -1]]]]], Function[And[Equal[Count[Slot[1], True], Combinatorica`Private`k], Or[Equal[Last[Slot[1]], False], Equal[Length[Intersection[Flatten[Position[Slot[1], True]], Part[Combinatorica`Private`e, Length[Slot[1]]]]], Plus[Count[Slot[1], True], -1]]]]], First], True]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[List[], Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[List[1], Equal[V[Combinatorica`Private`g], 1]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[List[1], EmptyQ[Combinatorica`Private`g]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Range[V[Combinatorica`Private`g]], IdenticalQ[MakeSimple[Combinatorica`Private`g], CompleteGraph[V[Combinatorica`Private`g]]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[MaximumClique[MakeSimple[Combinatorica`Private`g]], Or[Not[SimpleQ[Combinatorica`Private`g]], Not[UndirectedQ[Combinatorica`Private`g]]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`oldClique, First[Edges[Combinatorica`Private`g]]], Combinatorica`Private`c, Set[Combinatorica`Private`d, Max[Degrees[Combinatorica`Private`g]]], Combinatorica`Private`i], CompoundExpression[Do[CompoundExpression[Set[Combinatorica`Private`c, MaximumClique[Combinatorica`Private`g, Combinatorica`Private`i]], If[Equal[Combinatorica`Private`c, List[]], Break[], Set[Combinatorica`Private`oldClique, Combinatorica`Private`c]]], List[Combinatorica`Private`i, 3, Plus[Combinatorica`Private`d, 1]]], Combinatorica`Private`oldClique]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\"...", "msgs": [], "secs": 0.095} +{"i": 494, "status": "ok", "out": "List[3, 5, 7, 9, 11, 13, 15, 17, 18]", "msgs": [], "secs": 0.113} +{"i": 495, "status": "ok", "out": "List[1, 3, 5]", "msgs": [], "secs": 0.005} +{"i": 496, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]", "msgs": [], "secs": 0.001} +{"i": 497, "status": "ok", "out": "List[1, 3, 8]", "msgs": [], "secs": 0.027} +{"i": 498, "status": "ok", "out": "", "msgs": [], "secs": 0.019} +{"i": 499, "status": "ok", "out": "Null", "msgs": [], "secs": 0.016} +{"i": 500, "status": "ok", "out": "List[9261, Null]", "msgs": [], "secs": 0.121} +{"i": 501, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CliqueQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) yields True if the list of vertices \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) defines a clique in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CliqueQ, List[RuleDelayed[CliqueQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`clique, Blank[List]]], IdenticalQ[CompleteGraph[Length[Combinatorica`Private`clique]], InduceSubgraph[MakeSimple[Combinatorica`Private`g], Combinatorica`Private`clique]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CliqueQ\"]], False]", "msgs": [], "secs": 0.033} +{"i": 502, "status": "ok", "out": "True", "msgs": [], "secs": 0.003} +{"i": 503, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 504, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 505, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MinimumVertexCover\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a minimum vertex cover of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MinimumVertexCover, List[RuleDelayed[MinimumVertexCover[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[List[], EmptyQ[Combinatorica`Private`g]]], RuleDelayed[MinimumVertexCover[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Flatten[Position[Last[BipartiteMatchingAndCover[Combinatorica`Private`g]], 1]], BipartiteQ[Combinatorica`Private`g]]], RuleDelayed[MinimumVertexCover[Pattern[Combinatorica`Private`g, Blank[Graph]]], Complement[Range[V[Combinatorica`Private`g]], MaximumClique[GraphComplement[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MinimumVertexCover\"]], False]", "msgs": [], "secs": 0.033} +{"i": 506, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Highlight\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"p\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) displays \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with elements in \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\) highlighted. The second argument \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\) has the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where the \\!\\(\\*SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]]\\) are disjoint subsets of vertices and edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Highlight, List[RuleDelayed[Highlight[Pattern[Combinatorica`Private`g, Blank[Graph]], List[]], Combinatorica`Private`g], RuleDelayed[Highlight[Pattern[Combinatorica`Private`g, Blank[Graph]], List[], Blank[]], Combinatorica`Private`g], RuleDelayed[Highlight[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`l, List[BlankNullSequence[], Blank[Integer], BlankNullSequence[]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Highlight[Combinatorica`Private`g, List[Combinatorica`Private`l], Combinatorica`Private`opts]], RuleDelayed[Highlight[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`l, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`vnc, Combinatorica`Private`enc, Combinatorica`Private`vs, Combinatorica`Private`es, Combinatorica`Private`vc, Combinatorica`Private`ec, Combinatorica`Private`i, Set[Combinatorica`Private`vl, Map[Function[Cases[Slot[1], Blank[Integer]]], Combinatorica`Private`l]], Set[Combinatorica`Private`el, Map[Function[Cases[Slot[1], List[Blank[Integer], Blank[Integer]]]], Combinatorica`Private`l]], Combinatorica`Private`gopts], CompoundExpression[Set[List[Combinatorica`Private`vs, Combinatorica`Private`es, Combinatorica`Private`vc, Combinatorica`Private`ec], ReplaceAll[List[HighlightedVertexStyle, HighlightedEdgeStyle, HighlightedVertexColors, HighlightedEdgeColors], Flatten[List[Combinatorica`Private`opts, Options[Highlight]]]]], Set[Combinatorica`Private`gopts, FilterRules[List[Combinatorica`Private`opts, Complement[Options[Highlight], Options[Graph]]], Options[Graph]]], Set[Combinatorica`Private`el, If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Combinatorica`Private`el, 2], Combinatorica`Private`el]], Set[Combinatorica`Private`vnc, Length[Combinatorica`Private`vl]], Set[Combinatorica`Private`enc, Length[Combinatorica`Private`el]], If[Not[ListQ[Combinatorica`Private`vs]], Set[Combinatorica`Private`vs, List[Combinatorica`Private`vs]]], Set[Combinatorica`Private`vs, PadRight[Combinatorica`Private`vs, Combinatorica`Private`vnc, Combinatorica`Private`vs]], If[Not[ListQ[Combinatorica`Private`vc]], Set[Combinatorica`Private`vc, List[Combinatorica`Private`vc]]], Set[Combinatorica`Private`vc, PadRight[Combinatorica`Private`vc, Combinatorica`Private`vnc, Combinatorica`Private`vc]], If[Not[ListQ[Combinatorica`Private`es]], Set[Combinatorica`Private`es, List[Combinatorica`Private`es]]], Set[Combinatorica`Private`es, PadRight[Combinatorica`Private`es, Combinatorica`Private`enc, Combinatorica`Private`es]], If[Not[ListQ[Combinatorica`Private`ec]], Set[Combinatorica`Private`ec, List[Combinatorica`Private`ec]]], Set[Combinatorica`Private`ec, PadRight[Combinatorica`Private`ec, Combinatorica`Private`enc, Combinatorica`Private`ec]], SetGraphOptions[Combinatorica`Private`g, Join[Table[List[Apply[Sequence, Part[Combinatorica`Private`vl, Combinatorica`Private`i]], Rule[VertexStyle, Part[Combinatorica`Private`vs, Combinatorica`Private`i]], Rule[VertexColor, Part[Combinatorica`Private`vc, Combinator...", "msgs": [], "secs": 0.029} +{"i": 507, "status": "ok", "out": "", "msgs": [], "secs": 0.027} +{"i": 508, "status": "ok", "out": "", "msgs": [], "secs": 0.128} +{"i": 509, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`VertexCoverQ\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, VertexCoverQ, List[RuleDelayed[VertexCoverQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`vc, Blank[List]]], CliqueQ[GraphComplement[Combinatorica`Private`g], Complement[Range[V[Combinatorica`Private`g]], Combinatorica`Private`vc]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`VertexCoverQ\"]], False]", "msgs": [], "secs": 0.089} +{"i": 510, "status": "ok", "out": "List[1, 3, 6, 8, 9, 11, 14, 16]", "msgs": [], "secs": 0.019} +{"i": 511, "status": "ok", "out": "List[2, 4, 5, 7, 10, 12, 13, 15]", "msgs": [], "secs": 0.0} +{"i": 512, "status": "ok", "out": "True", "msgs": [], "secs": 0.004} +{"i": 513, "status": "ok", "out": "False", "msgs": [], "secs": 0.004} +{"i": 514, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MaximumIndependentSet\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a largest independent set of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MaximumIndependentSet, List[RuleDelayed[MaximumIndependentSet[Pattern[Combinatorica`Private`g, Blank[Graph]]], Complement[Range[V[Combinatorica`Private`g]], MinimumVertexCover[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MaximumIndependentSet\"]], False]", "msgs": [], "secs": 0.047} +{"i": 515, "status": "ok", "out": "", "msgs": [], "secs": 0.024} +{"i": 516, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"IndependentSetQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"i\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) yields True if the vertices in list \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) define an independent set in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IndependentSetQ, List[RuleDelayed[IndependentSetQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`indep, Blank[List]]], And[Equal[Complement[Combinatorica`Private`indep, Range[V[Combinatorica`Private`g]]], List[]], VertexCoverQ[Combinatorica`Private`g, Complement[Range[V[Combinatorica`Private`g]], Combinatorica`Private`indep]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IndependentSetQ\"]], False]", "msgs": [], "secs": 0.043000000000000003} +{"i": 517, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 518, "status": "ok", "out": "False", "msgs": [], "secs": 0.002} diff --git a/book/wma/Chapter5.s2.jsonl b/book/wma/Chapter5.s2.jsonl new file mode 100644 index 0000000..69ed68c --- /dev/null +++ b/book/wma/Chapter5.s2.jsonl @@ -0,0 +1,518 @@ +{"i": 1, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`ConnectedComponents\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ConnectedComponents, List[RuleDelayed[ConnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Block[List[Set[Combinatorica`Private`untraversed, Range[V[Combinatorica`Private`g]]], Combinatorica`Private`visit, Combinatorica`Private`edges, Set[Combinatorica`Private`comps, List[]], Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Set[Combinatorica`Private`parent, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`cnt, 1], Set[$RecursionLimit, Infinity], Combinatorica`Private`start], CompoundExpression[While[Unequal[Combinatorica`Private`untraversed, List[]], CompoundExpression[Set[Combinatorica`Private`visit, List[]], Set[Combinatorica`Private`edges, List[]], Set[Combinatorica`Private`start, First[Combinatorica`Private`untraversed]], Set[Part[Combinatorica`Private`parent, Combinatorica`Private`start], Combinatorica`Private`start], Combinatorica`Private`DFS[Combinatorica`Private`start], AppendTo[Combinatorica`Private`comps, Combinatorica`Private`visit], Set[Combinatorica`Private`untraversed, Complement[Combinatorica`Private`untraversed, Combinatorica`Private`visit]]]], ToCanonicalSetPartition[Combinatorica`Private`comps]]], UndirectedQ[Combinatorica`Private`g]]], RuleDelayed[ConnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], ConnectedComponents[MakeUndirected[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ConnectedComponents\"]], False]", "msgs": [], "secs": 0.047} +{"i": 2, "status": "ok", "out": "List[List[1, 10], List[2, 5], List[3, 6], List[4, 9], List[7, 8]]", "msgs": [], "secs": 0.001} +{"i": 3, "status": "ok", "out": "", "msgs": [], "secs": 0.002} +{"i": 4, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]]", "msgs": [], "secs": 0.002} +{"i": 5, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 6, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 7, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 8, "status": "ok", "out": "List[List[1, 2, 3, 4, 5], List[6, 7, 8, 9, 10, 11, 12, 13, 14, 15]]", "msgs": [], "secs": 0.0} +{"i": 9, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], List[11, 12, 13, 14, 15, 16, 17, 18, 19, 20], List[21, 22, 23, 24, 25, 26, 27, 28, 29, 30], List[31, 32, 33, 34, 35, 36, 37, 38, 39, 40], List[41, 42, 43, 44, 45, 46, 47, 48, 49, 50], List[51, 52, 53, 54, 55, 56, 57, 58, 59, 60], List[61, 62, 63, 64, 65, 66, 67, 68, 69, 70], List[71, 72, 73, 74, 75, 76, 77, 78, 79, 80], List[81, 82, 83, 84, 85, 86, 87, 88, 89, 90], List[91, 92, 93, 94, 95, 96, 97, 98, 99, 100]]", "msgs": [], "secs": 0.02} +{"i": 10, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 11, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 12, "status": "ok", "out": "List[Graph[List[List[List[7, 9]], List[List[3, 13]], List[List[19, 24]], List[List[27, 33]], List[List[38, 40]], List[List[29, 46]], List[List[33, 50]], List[List[35, 50]], List[List[48, 51]], List[List[36, 53]], List[List[31, 55]], List[List[12, 56]], List[List[21, 56]], List[List[29, 57]], List[List[23, 59]], List[List[55, 63]], List[List[2, 64]], List[List[3, 64]], List[List[36, 65]], List[List[34, 68]], List[List[35, 69]], List[List[27, 75]], List[List[27, 76]], List[List[44, 76]], List[List[7, 80]], List[List[23, 82]], List[List[20, 83]], List[List[75, 83]], List[List[15, 84]], List[List[34, 84]], List[List[32, 85]], List[List[63, 89]], List[List[35, 90]], List[List[9, 92]], List[List[1, 95]], List[List[59, 99]], List[List[30, 100]], List[List[37, 100]]], List[List[List[99803, 6279]], List[List[99211, 12533]], List[List[98229, 18738]], List[List[96858, 24869]], List[List[95106, 30902]], List[List[92978, 36812]], List[List[90483, 42578]], List[List[87631, 48175]], List[List[84433, 53583]], List[List[80902, 58779]], List[List[77051, 63742]], List[List[72897, 68455]], List[List[68455, 72897]], List[List[63742, 77051]], List[List[58779, 80902]], List[List[53583, 84433]], List[List[48175, 87631]], List[List[42578, 90483]], List[List[36812, 92978]], List[List[30902, 95106]], List[List[24869, 96858]], List[List[18738, 98229]], List[List[12533, 99211]], List[List[6279, 99803]], List[List[0, 100000]], List[List[-6279, 99803]], List[List[-12533, 99211]], List[List[-18738, 98229]], List[List[-24869, 96858]], List[List[-30902, 95106]], List[List[-36812, 92978]], List[List[-42578, 90483]], List[List[-48175, 87631]], List[List[-53583, 84433]], List[List[-58779, 80902]], List[List[-63742, 77051]], List[List[-68455, 72897]], List[List[-72897, 68455]], List[List[-77051, 63742]], List[List[-80902, 58779]], List[List[-84433, 53583]], List[List[-87631, 48175]], List[List[-90483, 42578]], List[List[-92978, 36812]], List[List[-95106, 30902]], List[List[-96858, 24869]], List[List[-98229, 18738]], List[List[-99211, 12533]], List[List[-99803, 6279]], List[List[-100000, 0]], List[List[-99803, -6279]], List[List[-99211, -12533]], List[List[-98229, -18738]], List[List[-96858, -24869]], List[List[-95106, -30902]], List[List[-92978, -36812]], List[List[-90483, -42578]], List[List[-87631, -48175]], List[List[-84433, -53583]], List[List[-80902, -58779]], List[List[-77051, -63742]], List[List[-72897, -68455]], List[List[-68455, -72897]], List[List[-63742, -77051]], List[List[-58779, -80902]], List[List[-53583, -84433]], List[List[-48175, -87631]], List[List[-42578, -90483]], List[List[-36812, -92978]], List[List[-30902, -95106]], List[List[-24869, -96858]], List[List[-18738, -98229]], List[List[-12533, -99211]], List[List[-6279, -99803]], List[List[0, -100000]], List[List[6279, -99803]], List[List[12533, -99211]], List[List[18738, -98229]], List[List[24869, -96858]], List[List[30902, -95106]], List[List[36812, -92978]], List[List[42578, -90483]], List[List[48175, -87631]], List[List[53583, -84433]], List[List[58779, -80902]], List[List[63742, -77051]], List[List[68455, -72897]], List[List[72897, -68455]], List[List[77051, -63742]], List[List[80902, -58779]], List[List[84433, -53583]], List[List[87631, -48175]], List[List[90483, -42578]], List[List[92978, -36812]], List[List[95106, -30902]], List[List[96858, -24869]], List[List[98229, -18738]], List[List[99211, -12533]], List[List[99803, -6279]], List[List[100000, 0]]]], Graph[List[List[List[1, 11]], List[List[11, 17]], List[List[6, 27]], List[List[24, 28]], List[List[3, 38]], List[List[26, 38]], List[List[26, 39]], List[List[16, 44]], List[List[23, 44]], List[List[8, 45]], List[List[13, 46]], List[List[31, 51]], List[List[26, 52]], List[List[2, 53]], List[List[21, 53]], List[List[37, 53]], List[List[29, 55]], List[List[35, 55]], List[List[45, 55]], List[List[17, 56]], List[List[23, 59]], List[List[26, 59]], List[List[24, 60]], List[List[44, 60]], List[List[52, 62]], List[List[51, 63]], List[List[49, 65]]...", "msgs": [], "secs": 46.38} +{"i": 13, "status": "ok", "out": "List[List[1, 62], List[1, 27], List[1, 19], List[1, 6], List[1, 3]]", "msgs": [], "secs": 0.093} +{"i": 14, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 15, "status": "ok", "out": "List[List[90, Null], List[229, Null], List[426, Null], List[628, Null], List[960, Null], List[1276, Null], List[1593, Null], List[2163, Null], List[2650, Null], List[3397, Null]]", "msgs": [], "secs": 0.379} +{"i": 16, "status": "msg", "out": "ListPlot[List[Part[List[90, Null], 1, 1], Part[List[229, Null], 1, 1], Part[List[426, Null], 1, 1], Part[List[628, Null], 1, 1], Part[List[960, Null], 1, 1], Part[List[1276, Null], 1, 1], Part[List[1593, Null], 1, 1], Part[List[2163, Null], 1, 1], Part[List[2650, Null], 1, 1], Part[List[3397, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "\"Further output of `1` will be suppressed during this calculation.\"", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.218} +{"i": 17, "status": "ok", "out": "Null", "msgs": [], "secs": 1.045} +{"i": 18, "status": "ok", "out": "List[100, 200, 300, 400, 500, 600, 700, 800, 900, 1000]", "msgs": [], "secs": 0.0} +{"i": 19, "status": "ok", "out": "List[93, 179, 282, 361, 475, 580, 664, 747, 830, 959]", "msgs": [], "secs": 0.001} +{"i": 20, "status": "ok", "out": "List[List[128, Null], List[206, Null], List[407, Null], List[442, Null], List[525, Null], List[771, Null], List[696, Null], List[953, Null], List[1624, Null], List[1498, Null]]", "msgs": [], "secs": 0.125} +{"i": 21, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 22, "status": "msg", "out": "ListPlot[List[Part[List[128, Null], 1, 1], Part[List[206, Null], 1, 1], Part[List[407, Null], 1, 1], Part[List[442, Null], 1, 1], Part[List[525, Null], 1, 1], Part[List[771, Null], 1, 1], Part[List[696, Null], 1, 1], Part[List[953, Null], 1, 1], Part[List[1624, Null], 1, 1], Part[List[1498, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.005} +{"i": 23, "status": "ok", "out": "List[List[7478, Null], List[20958, Null]]", "msgs": [], "secs": 0.5750000000000001} +{"i": 24, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[10, 11]], List[List[13, 14]], List[List[14, 15]], List[List[15, 16]], List[List[16, 17]], List[List[19, 20]], List[List[22, 23]], List[List[24, 25]], List[List[25, 26]], List[List[26, 27]], List[List[27, 28]], List[List[28, 29]], List[List[33, 34]], List[List[35, 36]], List[List[36, 37]], List[List[38, 39]], List[List[40, 41]], List[List[42, 43]], List[List[44, 45]], List[List[45, 46]], List[List[47, 48]], List[List[48, 49]], List[List[49, 50]], List[List[53, 54]], List[List[54, 55]], List[List[57, 58]], List[List[58, 59]], List[List[59, 60]], List[List[61, 62]], List[List[64, 65]], List[List[65, 66]], List[List[69, 70]], List[List[71, 72]], List[List[72, 73]], List[List[73, 74]], List[List[74, 75]], List[List[75, 76]], List[List[77, 78]], List[List[80, 81]], List[List[82, 83]], List[List[83, 84]], List[List[85, 86]], List[List[89, 90]], List[List[92, 93]], List[List[93, 94]], List[List[94, 95]], List[List[95, 96]], List[List[97, 98]], List[List[102, 103]], List[List[103, 104]], List[List[105, 106]], List[List[107, 108]], List[List[110, 111]], List[List[111, 112]], List[List[113, 114]], List[List[115, 116]], List[List[117, 118]], List[List[118, 119]], List[List[119, 120]], List[List[121, 122]], List[List[122, 123]], List[List[125, 126]], List[List[126, 127]], List[List[127, 128]], List[List[131, 132]], List[List[132, 133]], List[List[133, 134]], List[List[134, 135]], List[List[135, 136]], List[List[138, 139]], List[List[140, 141]], List[List[141, 142]], List[List[143, 144]], List[List[144, 145]], List[List[147, 148]], List[List[149, 150]], List[List[151, 152]], List[List[153, 154]], List[List[154, 155]], List[List[155, 156]], List[List[156, 157]], List[List[157, 158]], List[List[159, 160]], List[List[160, 161]], List[List[161, 162]], List[List[163, 164]], List[List[166, 167]], List[List[167, 168]], List[List[168, 169]], List[List[169, 170]], List[List[170, 171]], List[List[171, 172]], List[List[174, 175]], List[List[175, 176]], List[List[176, 177]], List[List[177, 178]], List[List[179, 180]], List[List[180, 181]], List[List[183, 184]], List[List[184, 185]], List[List[185, 186]], List[List[187, 188]], List[List[188, 189]], List[List[189, 190]], List[List[191, 192]], List[List[196, 197]], List[List[197, 198]], List[List[198, 199]], List[List[201, 202]], List[List[204, 205]], List[List[205, 206]], List[List[207, 208]], List[List[208, 209]], List[List[211, 212]], List[List[212, 213]], List[List[214, 215]], List[List[215, 216]], List[List[216, 217]], List[List[217, 218]], List[List[218, 219]], List[List[219, 220]], List[List[221, 222]], List[List[223, 224]], List[List[229, 230]], List[List[233, 234]], List[List[234, 235]], List[List[235, 236]], List[List[238, 239]], List[List[240, 241]], List[List[244, 245]], List[List[245, 246]], List[List[247, 248]], List[List[251, 252]], List[List[253, 254]], List[List[254, 255]], List[List[256, 257]], List[List[257, 258]], List[List[258, 259]], List[List[260, 261]], List[List[263, 264]], List[List[265, 266]], List[List[268, 269]], List[List[272, 273]], List[List[275, 276]], List[List[276, 277]], List[List[277, 278]], List[List[281, 282]], List[List[283, 284]], List[List[287, 288]], List[List[288, 289]], List[List[291, 292]], List[List[294, 295]], List[List[295, 296]], List[List[298, 299]], List[List[299, 300]], List[List[300, 301]], List[List[301, 302]], List[List[303, 304]], List[List[304, 305]], List[List[305, 306]], List[List[306, 307]], List[List[310, 311]], List[List[311, 312]], List[List[313, 314]], List[List[314, 315]], List[List[319, 320]], List[List[322, 323]], List[List[323, 324]], List[List[324, 325]], List[List[326, 327]], List[List[328, 329]], List[List[333, 334]], List[List[338, 339]], List[List[339, 340]], List[List[341, 342]], List[List[342, 343]], List[List[343, 344]], List[List[346, 347]], List[L...", "msgs": [], "secs": 1.457} +{"i": 25, "status": "ok", "out": "2456", "msgs": [], "secs": 0.0} +{"i": 26, "status": "ok", "out": "2432", "msgs": [], "secs": 0.0} +{"i": 27, "status": "ok", "out": "", "msgs": [], "secs": 0.656} +{"i": 28, "status": "ok", "out": "List[4002, Null]", "msgs": [], "secs": 0.042} +{"i": 29, "status": "ok", "out": "350", "msgs": [], "secs": 0.0} +{"i": 30, "status": "ok", "out": "153", "msgs": [], "secs": 0.0} +{"i": 31, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[10, 11]], List[List[11, 12]], List[List[12, 13]], List[List[13, 14]], List[List[14, 15]], List[List[15, 16]], List[List[16, 17]], List[List[17, 18]], List[List[18, 19]], List[List[19, 20]], List[List[20, 21]], List[List[21, 22]], List[List[22, 23]], List[List[23, 24]], List[List[24, 25]], List[List[25, 26]], List[List[26, 27]], List[List[27, 28]], List[List[28, 29]], List[List[29, 30]], List[List[30, 31]], List[List[31, 32]], List[List[32, 33]], List[List[33, 34]], List[List[34, 35]], List[List[35, 36]], List[List[36, 37]], List[List[37, 38]], List[List[38, 39]], List[List[39, 40]], List[List[40, 41]], List[List[41, 42]], List[List[42, 43]], List[List[43, 44]], List[List[44, 45]], List[List[45, 46]], List[List[46, 47]], List[List[47, 48]], List[List[48, 49]], List[List[49, 50]], List[List[50, 51]], List[List[51, 52]], List[List[52, 53]], List[List[53, 54]], List[List[54, 55]], List[List[55, 56]], List[List[56, 57]], List[List[57, 58]], List[List[58, 59]], List[List[59, 60]], List[List[60, 61]], List[List[61, 62]], List[List[62, 63]], List[List[63, 64]], List[List[64, 65]], List[List[65, 66]], List[List[66, 67]], List[List[67, 68]], List[List[68, 69]], List[List[69, 70]], List[List[70, 71]], List[List[71, 72]], List[List[72, 73]], List[List[73, 74]], List[List[74, 75]], List[List[75, 76]], List[List[76, 77]], List[List[77, 78]], List[List[78, 79]], List[List[79, 80]], List[List[80, 81]], List[List[81, 82]], List[List[82, 83]], List[List[83, 84]], List[List[84, 85]], List[List[85, 86]], List[List[86, 87]], List[List[87, 88]], List[List[88, 89]], List[List[89, 90]], List[List[90, 91]], List[List[91, 92]], List[List[92, 93]], List[List[93, 94]], List[List[94, 95]], List[List[95, 96]], List[List[96, 97]], List[List[97, 98]], List[List[98, 99]], List[List[99, 100]], List[List[101, 102]], List[List[102, 103]], List[List[103, 104]], List[List[104, 105]], List[List[105, 106]], List[List[106, 107]], List[List[107, 108]], List[List[108, 109]], List[List[109, 110]], List[List[110, 111]], List[List[111, 112]], List[List[112, 113]], List[List[113, 114]], List[List[114, 115]], List[List[115, 116]], List[List[116, 117]], List[List[117, 118]], List[List[118, 119]], List[List[119, 120]], List[List[120, 121]], List[List[121, 122]], List[List[122, 123]], List[List[123, 124]], List[List[124, 125]], List[List[125, 126]], List[List[126, 127]], List[List[127, 128]], List[List[128, 129]], List[List[129, 130]], List[List[130, 131]], List[List[131, 132]], List[List[132, 133]], List[List[133, 134]], List[List[134, 135]], List[List[135, 136]], List[List[136, 137]], List[List[137, 138]], List[List[138, 139]], List[List[139, 140]], List[List[140, 141]], List[List[141, 142]], List[List[142, 143]], List[List[143, 144]], List[List[144, 145]], List[List[145, 146]], List[List[146, 147]], List[List[147, 148]], List[List[148, 149]], List[List[149, 150]], List[List[150, 151]], List[List[151, 152]], List[List[152, 153]], List[List[153, 154]], List[List[154, 155]], List[List[155, 156]], List[List[156, 157]], List[List[157, 158]], List[List[158, 159]], List[List[159, 160]], List[List[160, 161]], List[List[161, 162]], List[List[162, 163]], List[List[163, 164]], List[List[164, 165]], List[List[165, 166]], List[List[166, 167]], List[List[167, 168]], List[List[168, 169]], List[List[169, 170]], List[List[170, 171]], List[List[171, 172]], List[List[172, 173]], List[List[173, 174]], List[List[174, 175]], List[List[175, 176]], List[List[176, 177]], List[List[177, 178]], List[List[178, 179]], List[List[179, 180]], List[List[180, 181]], List[List[181, 182]], List[List[182, 183]], List[List[183, 184]], List[List[184, 185]], List[List[185, 186]], List[List[186, 187]], List[List[187, 188]], List[List[188, 189]], List[List[189, 190]], List[List[190, 191]], List[List[191, 192]], List[List[192, 193]], L...", "msgs": [], "secs": 0.109} +{"i": 32, "status": "ok", "out": "Null", "msgs": [], "secs": 11.459} +{"i": 33, "status": "ok", "out": "", "msgs": [], "secs": 3.943} +{"i": 34, "status": "ok", "out": "4959", "msgs": [], "secs": 0.0} +{"i": 35, "status": "ok", "out": "4878", "msgs": [], "secs": 0.0} +{"i": 36, "status": "ok", "out": "List[9275, Null]", "msgs": [], "secs": 0.12} +{"i": 37, "status": "ok", "out": "List[697, 106]", "msgs": [], "secs": 0.0} +{"i": 38, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ConnectedQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if undirected graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is connected. If \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is directed, the function returns True if the underlying undirected graph is connected. \\n\\!\\(\\*RowBox[{\\\"ConnectedQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"Strong\\\"}], \\\"]\\\"}]\\) yields True if the directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is strongly connected.\\n\\!\\(\\*RowBox[{\\\"ConnectedQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"Weak\\\"}], \\\"]\\\"}]\\) yields True if the directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is weakly connected.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ConnectedQ, List[RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[True, Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Blank[]], Condition[True, Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Equal[Length[DepthFirstTraversal[Combinatorica`Private`g, 1]], V[Combinatorica`Private`g]], UndirectedQ[Combinatorica`Private`g]]], RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Equal[Length[DepthFirstTraversal[MakeUndirected[Combinatorica`Private`g], 1]], V[Combinatorica`Private`g]]], RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Weak], Condition[Equal[Length[WeaklyConnectedComponents[Combinatorica`Private`g]], 1], Not[UndirectedQ[Combinatorica`Private`g]]]], RuleDelayed[ConnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Strong], Condition[Equal[Length[StronglyConnectedComponents[Combinatorica`Private`g]], 1], Not[UndirectedQ[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ConnectedQ\"]], False]", "msgs": [], "secs": 0.055} +{"i": 39, "status": "ok", "out": "True", "msgs": [], "secs": 0.005} +{"i": 40, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 41, "status": "ok", "out": "ConnectedQ[Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]], Weak]", "msgs": [], "secs": 0.0} +{"i": 42, "status": "ok", "out": "True", "msgs": [], "secs": 0.011} +{"i": 43, "status": "ok", "out": "ConnectedQ[SetGraphOptions[Tree[19, List[Tree[12, List[Tree[3, List[Tree[15, None], Tree[13, None], Tree[6, List[Tree[2, List[Tree[7, List[Tree[18, List[Tree[5, None]]]]], Tree[4, None]]], Tree[1, List[Tree[8, List[Tree[16, None]]], Tree[10, List[Tree[11, None]]], Tree[14, None]]]]], Tree[20, List[Tree[17, List[Tree[9, None]]]]]]]]]]], Rule[EdgeDirection, On]], Strong]", "msgs": [], "secs": 0.375} +{"i": 44, "status": "ok", "out": "ConnectedQ[SetGraphOptions[Tree[11, List[Tree[18, List[Tree[17, None], Tree[15, List[Tree[14, None]]], Tree[16, None]]], Tree[6, List[Tree[19, None], Tree[7, None]]], Tree[13, List[Tree[12, None]]], Tree[2, List[Tree[8, None], Tree[3, None], Tree[5, List[Tree[9, None], Tree[10, None]]], Tree[20, None], Tree[1, List[Tree[4, None]]]]]]], Rule[EdgeDirection, On]], Weak]", "msgs": [], "secs": 0.001} +{"i": 45, "status": "ok", "out": "ConnectedQ[Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]], Weak]", "msgs": [], "secs": 0.0} +{"i": 46, "status": "ok", "out": "ConnectedQ[Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[1, 9]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]], Strong]", "msgs": [], "secs": 0.0} +{"i": 47, "status": "crash", "out": "", "msgs": [], "secs": null} +{"i": 48, "status": "ok", "out": "ShowGraph[g, Rule[VertexNumber, Text[List[3000, 0], Rule[TextStyle, List[Rule[FontSize, 14], Rule[FontColor, RGBColor[0, 0, 1]], Rule[FontWeight, Bold]]]]], Rule[PlotRange, Large[5000]]]", "msgs": [], "secs": 0.0} +{"i": 49, "status": "ok", "out": "ConnectedQ[g, Weak]", "msgs": [], "secs": 0.0} +{"i": 50, "status": "ok", "out": "ConnectedQ[g, Strong]", "msgs": [], "secs": 0.0} +{"i": 51, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 52, "status": "ok", "out": "ConnectedQ[AddEdges[g, List[List[List[9, 1]], List[List[10, 1]]]], Strong]", "msgs": [], "secs": 0.0} +{"i": 53, "status": "ok", "out": "ConnectedQ[AddEdges[g, List[List[List[9, 1]], List[List[10, 1]]]], Weak]", "msgs": [], "secs": 0.0} +{"i": 54, "status": "ok", "out": "ShowGraph[AddEdges[g, List[List[List[9, 1]], List[List[10, 1]]]]]", "msgs": [], "secs": 0.0} +{"i": 55, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`WeaklyConnectedComponents\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, WeaklyConnectedComponents, List[RuleDelayed[WeaklyConnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], ConnectedComponents[MakeUndirected[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`WeaklyConnectedComponents\"]], False]", "msgs": [], "secs": 0.03} +{"i": 56, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"StronglyConnectedComponents\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the strongly connected components of directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) as lists of vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, StronglyConnectedComponents, List[RuleDelayed[StronglyConnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Block[List[Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`s, Set[Combinatorica`Private`c, 1], Combinatorica`Private`i, Set[Combinatorica`Private`cur, List[]], Set[Combinatorica`Private`low, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`dfs, Table[0, List[V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`scc, List[]]], CompoundExpression[While[Unequal[Set[Combinatorica`Private`s, Select[Range[V[Combinatorica`Private`g]], Function[Equal[Part[Combinatorica`Private`dfs, Slot[1]], 0]]]], List[]], CompoundExpression[Combinatorica`Private`SearchStrongComp[First[Combinatorica`Private`s]], Null]], ToCanonicalSetPartition[Combinatorica`Private`scc]]], Not[UndirectedQ[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`StronglyConnectedComponents\"]], False]", "msgs": [], "secs": 0.03} +{"i": 57, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.025} +{"i": 58, "status": "ok", "out": "ShowGraph[s, Rule[VertexNumber, Text[List[-4000, -4000]]], Rule[PlotRange, Large[5000]]]", "msgs": [], "secs": 0.0} +{"i": 59, "status": "ok", "out": "WeaklyConnectedComponents[s]", "msgs": [], "secs": 0.0} +{"i": 60, "status": "ok", "out": "StronglyConnectedComponents[s]", "msgs": [], "secs": 0.0} +{"i": 61, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 62, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Further output of `1` will be suppressed during this calculation.\"", "\"Uncaught `1` returned to top level.\"", "\"Further output of `1` will be suppressed during this calculation.\""], "secs": 0.006} +{"i": 63, "status": "timeout", "out": "$TimedOut", "msgs": [], "secs": 360.877} +{"i": 64, "status": "msg", "out": "List[List[3304, Null], List[16, Null], List[21, Null], List[2, Null], List[2, Null], List[2, Null], List[2, Null], List[3, Null], List[2, Null], List[6, Null]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "\"Further output of `1` will be suppressed during this calculation.\"", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd"], "secs": 0.061} +{"i": 65, "status": "ok", "out": "gt", "msgs": [], "secs": 0.0} +{"i": 66, "status": "ok", "out": "gt", "msgs": [], "secs": 0.0} +{"i": 67, "status": "msg", "out": "ListPlot[List[Part[List[3304, Null], 1, 1], Part[List[16, Null], 1, 1], Part[List[21, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[3, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[6, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.095} +{"i": 68, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 69, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[1, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 70, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 71, "status": "msg", "out": "$Failed", "msgs": ["Get::noopen"], "secs": 0.021} +{"i": 72, "status": "msg", "out": "MultipleListPlot[List[Part[List[3304, Null], 1, 1], Part[List[16, Null], 1, 1], Part[List[21, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[3, Null], 1, 1], Part[List[2, Null], 1, 1], Part[List[6, Null], 1, 1]], List[Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[1, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd"], "secs": 0.0} +{"i": 73, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.037} +{"i": 74, "status": "ok", "out": "List[List[0, Null], List[0, Null], 1, 1]", "msgs": [], "secs": 0.0} +{"i": 75, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"OrientGraph\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns a direction to each edge of a bridgeless, undirected graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), so that the graph is strongly connected.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, OrientGraph, List[RuleDelayed[OrientGraph[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Combinatorica`Private`pairs, Combinatorica`Private`newg, Combinatorica`Private`rest, Combinatorica`Private`cc, Combinatorica`Private`c, Combinatorica`Private`i, Combinatorica`Private`e], CompoundExpression[Set[Combinatorica`Private`pairs, Flatten[Map[Function[Partition[Slot[1], 2, 1]], ExtractCycles[Combinatorica`Private`g]], 1]], Set[Combinatorica`Private`newg, FromUnorderedPairs[Combinatorica`Private`pairs, Vertices[Combinatorica`Private`g, All]]], Set[Combinatorica`Private`rest, ToOrderedPairs[GraphDifference[Combinatorica`Private`g, Combinatorica`Private`newg]]], Set[Combinatorica`Private`cc, Sort[ConnectedComponents[Combinatorica`Private`newg], Function[GreaterEqual[Length[Slot[1]], Length[Slot[2]]]]]], Set[Combinatorica`Private`c, First[Combinatorica`Private`cc]], Do[CompoundExpression[Set[Combinatorica`Private`e, Select[Combinatorica`Private`rest, Function[And[MemberQ[Combinatorica`Private`c, Part[Slot[1], 1]], MemberQ[Part[Combinatorica`Private`cc, Combinatorica`Private`i], Part[Slot[1], 2]]]]]], Set[Combinatorica`Private`rest, Complement[Combinatorica`Private`rest, Combinatorica`Private`e, Map[Reverse, Combinatorica`Private`e]]], Set[Combinatorica`Private`c, Union[Combinatorica`Private`c, Part[Combinatorica`Private`cc, Combinatorica`Private`i]]], Set[Combinatorica`Private`pairs, Join[Combinatorica`Private`pairs, Prepend[Rest[Combinatorica`Private`e], Reverse[Part[Combinatorica`Private`e, 1]]]]]], List[Combinatorica`Private`i, 2, Length[Combinatorica`Private`cc]]], FromOrderedPairs[Join[Combinatorica`Private`pairs, Select[Combinatorica`Private`rest, Function[Greater[Part[Slot[1], 1], Part[Slot[1], 2]]]]], Vertices[Combinatorica`Private`g, All]]]], SameQ[Bridges[Combinatorica`Private`g], List[]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`OrientGraph\"]], False]", "msgs": [], "secs": 0.044} +{"i": 76, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 77, "status": "ok", "out": "", "msgs": [], "secs": 0.292} +{"i": 78, "status": "ok", "out": "1", "msgs": [], "secs": 0.002} +{"i": 79, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 80, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.002} +{"i": 81, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 82, "status": "ok", "out": "Null", "msgs": [], "secs": 0.033} +{"i": 83, "status": "ok", "out": "1", "msgs": [], "secs": 0.0} +{"i": 84, "status": "ok", "out": "Null", "msgs": [], "secs": 0.004} +{"i": 85, "status": "ok", "out": "List[170524, Null]", "msgs": [], "secs": 2.094} +{"i": 86, "status": "ok", "out": "List[176497, Null]", "msgs": [], "secs": 3.231} +{"i": 87, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 88, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BiconnectedComponents\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a list of the biconnected components of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). If \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is directed, the underlying undirected graph is used.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BiconnectedComponents, List[RuleDelayed[BiconnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Map[Function[List[Slot[1]]], Range[V[Combinatorica`Private`g]]], EmptyQ[Combinatorica`Private`g]]], RuleDelayed[BiconnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[First[Combinatorica`Private`FindBiconnectedComponents[Combinatorica`Private`g]], UndirectedQ[Combinatorica`Private`g]]], RuleDelayed[BiconnectedComponents[Pattern[Combinatorica`Private`g, Blank[Graph]]], First[Combinatorica`Private`FindBiconnectedComponents[MakeUndirected[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`BiconnectedComponents\"]], False]", "msgs": [], "secs": 0.048} +{"i": 89, "status": "ok", "out": "BiconnectedComponents[Tree[100, List[Tree[96, List[Tree[74, None]]], Tree[86, None], Tree[88, List[Tree[38, List[Tree[67, List[Tree[1, None], Tree[32, List[Tree[77, List[Tree[97, None], Tree[90, List[Tree[6, None]]], Tree[72, None], Tree[59, List[Tree[52, List[Tree[60, List[Tree[71, List[Tree[91, None]]]]]]]]], Tree[35, None], Tree[81, List[Tree[28, None], Tree[51, None], Tree[76, None], Tree[13, List[Tree[34, List[Tree[22, None], Tree[42, None], Tree[29, None]]], Tree[16, List[Tree[37, List[Tree[24, List[Tree[19, List[Tree[17, None]]], Tree[84, None], Tree[93, None]]]]]]], Tree[30, None], Tree[9, None]]]]], Tree[25, None], Tree[40, List[Tree[69, None], Tree[85, None]]], Tree[4, List[Tree[68, List[Tree[98, List[Tree[44, None]]], Tree[92, List[Tree[5, None]]]]], Tree[7, None], Tree[66, List[Tree[2, None]]], Tree[79, None], Tree[70, None], Tree[82, List[Tree[8, List[Tree[46, None], Tree[89, List[Tree[26, None], Tree[45, List[Tree[15, None]]]]], Tree[14, None], Tree[12, None]]]]]]]]], Tree[41, None]]], Tree[47, List[Tree[95, List[Tree[21, None]]]]], Tree[78, List[Tree[83, None]]]]], Tree[48, List[Tree[23, List[Tree[20, None], Tree[3, List[Tree[18, None], Tree[55, None]]]]], Tree[11, None], Tree[57, List[Tree[58, List[Tree[94, None], Tree[75, List[Tree[43, List[Tree[39, List[Tree[80, None], Tree[33, None], Tree[64, None], Tree[53, List[Tree[54, None]]]]], Tree[36, None]]], Tree[73, List[Tree[99, List[Tree[49, List[Tree[61, None], Tree[50, None], Tree[63, List[Tree[31, None]]]]]]]]], Tree[10, None], Tree[87, None]]]]], Tree[65, None]]]]], Tree[56, None], Tree[27, List[Tree[62, None]]]]]]]]]]", "msgs": [], "secs": 1.495} +{"i": 90, "status": "ok", "out": "1", "msgs": [], "secs": 0.0} +{"i": 91, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]]", "msgs": [], "secs": 0.035} +{"i": 92, "status": "ok", "out": "", "msgs": [], "secs": 0.015} +{"i": 93, "status": "ok", "out": "List[List[29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49], List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 49]]", "msgs": [], "secs": 0.002} +{"i": 94, "status": "ok", "out": "Null", "msgs": [], "secs": 0.08} +{"i": 95, "status": "ok", "out": "List[List[54, Null], List[39, Null], List[77, Null], List[190, Null], List[164, Null], List[169, Null], List[262, Null], List[192, Null], List[208, Null], List[280, Null], List[349, Null], List[255, Null], List[295, Null], List[332, Null], List[545, Null], List[544, Null], List[472, Null], List[485, Null], List[469, Null], List[681, Null]]", "msgs": [], "secs": 0.296} +{"i": 96, "status": "msg", "out": "ListPlot[List[Part[List[54, Null], 1, 1], Part[List[39, Null], 1, 1], Part[List[77, Null], 1, 1], Part[List[190, Null], 1, 1], Part[List[164, Null], 1, 1], Part[List[169, Null], 1, 1], Part[List[262, Null], 1, 1], Part[List[192, Null], 1, 1], Part[List[208, Null], 1, 1], Part[List[280, Null], 1, 1], Part[List[349, Null], 1, 1], Part[List[255, Null], 1, 1], Part[List[295, Null], 1, 1], Part[List[332, Null], 1, 1], Part[List[545, Null], 1, 1], Part[List[544, Null], 1, 1], Part[List[472, Null], 1, 1], Part[List[485, Null], 1, 1], Part[List[469, Null], 1, 1], Part[List[681, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.003} +{"i": 97, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 98, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 99, "status": "msg", "out": "MultipleListPlot[List[Part[List[54, Null], 1, 1], Part[List[39, Null], 1, 1], Part[List[77, Null], 1, 1], Part[List[190, Null], 1, 1], Part[List[164, Null], 1, 1], Part[List[169, Null], 1, 1], Part[List[262, Null], 1, 1], Part[List[192, Null], 1, 1], Part[List[208, Null], 1, 1], Part[List[280, Null], 1, 1], Part[List[349, Null], 1, 1], Part[List[255, Null], 1, 1], Part[List[295, Null], 1, 1], Part[List[332, Null], 1, 1], Part[List[545, Null], 1, 1], Part[List[544, Null], 1, 1], Part[List[472, Null], 1, 1], Part[List[485, Null], 1, 1], Part[List[469, Null], 1, 1], Part[List[681, Null], 1, 1]], List[Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1], Part[List[0, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd"], "secs": 0.001} +{"i": 100, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BiconnectedQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is biconnected. If \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is directed, the underlying undirected graph is used.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BiconnectedQ, List[RuleDelayed[BiconnectedQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Equal[Length[BiconnectedComponents[Combinatorica`Private`g]], 1]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`BiconnectedQ\"]], False]", "msgs": [], "secs": 0.084} +{"i": 101, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 102, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 103, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 104, "status": "ok", "out": "False", "msgs": [], "secs": 0.005} +{"i": 105, "status": "ok", "out": "False", "msgs": [], "secs": 0.01} +{"i": 106, "status": "ok", "out": "", "msgs": [], "secs": 0.016} +{"i": 107, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ArticulationVertices\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a list of all articulation vertices in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). These are vertices whose removal will disconnect the graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ArticulationVertices, List[RuleDelayed[ArticulationVertices[Pattern[Combinatorica`Private`g, Blank[Graph]]], Union[Last[Combinatorica`Private`FindBiconnectedComponents[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ArticulationVertices\"]], False]", "msgs": [], "secs": 0.083} +{"i": 108, "status": "ok", "out": "Null", "msgs": [], "secs": 0.007} +{"i": 109, "status": "ok", "out": "List[20]", "msgs": [], "secs": 0.001} +{"i": 110, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.006} +{"i": 111, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Bridges\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a list of the bridges of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), where each bridge is an edge whose removal disconnects the graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Bridges, List[RuleDelayed[Bridges[Pattern[Combinatorica`Private`g, Blank[Graph]]], Select[BiconnectedComponents[Combinatorica`Private`g], Function[Equal[Length[Slot[1]], 2]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Bridges\"]], False]", "msgs": [], "secs": 0.048} +{"i": 112, "status": "ok", "out": "Bridges[Tree[3, List[Tree[8, List[Tree[4, List[Tree[9, None], Tree[5, List[Tree[1, List[Tree[10, None]]]]], Tree[6, List[Tree[2, None]]]]], Tree[7, None]]]]]]", "msgs": [], "secs": 0.001} +{"i": 113, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 114, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.014} +{"i": 115, "status": "ok", "out": "List[List[5, 6]]", "msgs": [], "secs": 0.001} +{"i": 116, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 117, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`EdgeConnectivity\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EdgeConnectivity, List[RuleDelayed[EdgeConnectivity[Pattern[Combinatorica`Private`gin, Blank[Graph]]], Module[List[Combinatorica`Private`i, Set[Combinatorica`Private`g, Combinatorica`Private`gin]], CompoundExpression[If[MultipleEdgesQ[Combinatorica`Private`g], CompoundExpression[Message[MessageName[EdgeConnectivity, \"multedge\"]], Set[Combinatorica`Private`g, RemoveMultipleEdges[Combinatorica`Private`g, True]]]], Apply[Min, Table[NetworkFlow[Combinatorica`Private`g, 1, Combinatorica`Private`i], List[Combinatorica`Private`i, 2, V[Combinatorica`Private`g]]]]]]], RuleDelayed[EdgeConnectivity[Pattern[Combinatorica`Private`gin, Blank[Graph]], Cut], Module[List[Combinatorica`Private`i, Combinatorica`Private`c, Set[Combinatorica`Private`g, Combinatorica`Private`gin]], CompoundExpression[If[MultipleEdgesQ[Combinatorica`Private`g], CompoundExpression[Message[MessageName[EdgeConnectivity, \"multedge\"]], Set[Combinatorica`Private`g, RemoveMultipleEdges[Combinatorica`Private`g, True]]]], Last[First[Sort[Table[List[Length[Set[Combinatorica`Private`c, NetworkFlow[Combinatorica`Private`g, 1, Combinatorica`Private`i, Cut]]], Combinatorica`Private`c], List[Combinatorica`Private`i, 2, V[Combinatorica`Private`g]]]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EdgeConnectivity\"]], False]", "msgs": [], "secs": 1.055} +{"i": 118, "status": "ok", "out": "2", "msgs": [], "secs": 2.609} +{"i": 119, "status": "ok", "out": "1", "msgs": [], "secs": 0.025} +{"i": 120, "status": "ok", "out": "2", "msgs": [], "secs": 0.262} +{"i": 121, "status": "ok", "out": "6", "msgs": [], "secs": 0.44} +{"i": 122, "status": "ok", "out": "11", "msgs": [], "secs": 0.98} +{"i": 123, "status": "ok", "out": "9", "msgs": [], "secs": 0.081} +{"i": 124, "status": "ok", "out": "Null", "msgs": [], "secs": 0.004} +{"i": 125, "status": "ok", "out": "List[List[156, Null], List[368, Null], List[408, Null], List[632, Null], List[1524, Null], List[1897, Null], List[2670, Null], List[5246, Null], List[4801, Null], List[5141, Null], List[9980, Null], List[6072, Null], List[9248, Null], List[8988, Null], List[15295, Null]]", "msgs": [], "secs": 0.751} +{"i": 126, "status": "ok", "out": "List[5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75]", "msgs": [], "secs": 0.0} +{"i": 127, "status": "ok", "out": "List[2, 4, 4, 5, 16, 16, 21, 25, 33, 30, 35, 26, 42, 34, 39]", "msgs": [], "secs": 0.0} +{"i": 128, "status": "msg", "out": "ListPlot[List[Part[List[156, Null], 1, 1], Part[List[368, Null], 1, 1], Part[List[408, Null], 1, 1], Part[List[632, Null], 1, 1], Part[List[1524, Null], 1, 1], Part[List[1897, Null], 1, 1], Part[List[2670, Null], 1, 1], Part[List[5246, Null], 1, 1], Part[List[4801, Null], 1, 1], Part[List[5141, Null], 1, 1], Part[List[9980, Null], 1, 1], Part[List[6072, Null], 1, 1], Part[List[9248, Null], 1, 1], Part[List[8988, Null], 1, 1], Part[List[15295, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.006} +{"i": 129, "status": "ok", "out": "Null", "msgs": [], "secs": 0.017} +{"i": 130, "status": "ok", "out": "List[List[11781, Null], List[43504, Null], List[81988, Null], List[133374, Null], List[231934, Null], List[332163, Null], List[459152, Null], List[580888, Null], List[744536, Null], List[1177053, Null]]", "msgs": [], "secs": 55.95} +{"i": 131, "status": "msg", "out": "ListPlot[List[Part[List[11781, Null], 1, 1], Part[List[43504, Null], 1, 1], Part[List[81988, Null], 1, 1], Part[List[133374, Null], 1, 1], Part[List[231934, Null], 1, 1], Part[List[332163, Null], 1, 1], Part[List[459152, Null], 1, 1], Part[List[580888, Null], 1, 1], Part[List[744536, Null], 1, 1], Part[List[1177053, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.009000000000000001} +{"i": 132, "status": "ok", "out": "Null", "msgs": [], "secs": 0.003} +{"i": 133, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 134, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`VertexConnectivity\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, VertexConnectivity, List[RuleDelayed[VertexConnectivity[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[0, EmptyQ[Combinatorica`Private`g]]], RuleDelayed[VertexConnectivity[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Plus[V[Combinatorica`Private`g], -1], CompleteQ[Combinatorica`Private`g]]], RuleDelayed[VertexConnectivity[Pattern[Combinatorica`Private`gin, Blank[Graph]]], Module[List[Set[Combinatorica`Private`g, Combinatorica`Private`gin], Combinatorica`Private`p, Set[Combinatorica`Private`k, V[Combinatorica`Private`gin]], Set[Combinatorica`Private`i, 0], Combinatorica`Private`notedges], CompoundExpression[If[MultipleEdgesQ[Combinatorica`Private`g], CompoundExpression[Message[MessageName[VertexConnectivity, \"multedge\"]], Set[Combinatorica`Private`g, RemoveMultipleEdges[Combinatorica`Private`g, True]]]], Set[Combinatorica`Private`p, VertexConnectivityGraph[Combinatorica`Private`g]], Set[Combinatorica`Private`notedges, ToUnorderedPairs[GraphComplement[Combinatorica`Private`g]]], While[LessEqual[Increment[Combinatorica`Private`i], Combinatorica`Private`k], Set[Combinatorica`Private`k, Min[Map[Function[NetworkFlow[Combinatorica`Private`p, Times[2, Part[Slot[1], 1]], Plus[Times[2, Part[Slot[1], 2]], -1]]], Select[Combinatorica`Private`notedges, Function[Equal[First[Slot[1]], Combinatorica`Private`i]]]], Combinatorica`Private`k]]], Combinatorica`Private`k]]], RuleDelayed[VertexConnectivity[Pattern[Combinatorica`Private`g, Blank[Graph]], Cut], Condition[Range[Plus[V[Combinatorica`Private`g], -1]], CompleteQ[Combinatorica`Private`g]]], RuleDelayed[VertexConnectivity[Pattern[Combinatorica`Private`gin, Blank[Graph]], Cut], Module[List[Set[Combinatorica`Private`g, Combinatorica`Private`gin], Combinatorica`Private`p, Set[Combinatorica`Private`k, V[Combinatorica`Private`gin]], Set[Combinatorica`Private`i, 0], Combinatorica`Private`notedges, Set[Combinatorica`Private`c, List[]], Combinatorica`Private`tc], CompoundExpression[If[MultipleEdgesQ[Combinatorica`Private`g], CompoundExpression[Message[MessageName[VertexConnectivity, \"multedge\"]], Set[Combinatorica`Private`g, RemoveMultipleEdges[Combinatorica`Private`g, True]]]], Set[Combinatorica`Private`p, VertexConnectivityGraph[Combinatorica`Private`g]], Set[Combinatorica`Private`notedges, ToUnorderedPairs[GraphComplement[Combinatorica`Private`g]]], While[LessEqual[Increment[Combinatorica`Private`i], Combinatorica`Private`k], Set[List[Combinatorica`Private`k, Combinatorica`Private`c], First[Sort[Append[Map[Function[List[Length[Set[Combinatorica`Private`tc, NetworkFlow[Combinatorica`Private`p, Times[2, Part[Slot[1], 1]], Plus[Times[2, Part[Slot[1], 2]], -1], Cut]]], Combinatorica`Private`tc]], Select[Combinatorica`Private`notedges, Function[Equal[First[Slot[1]], Combinatorica`Private`i]]]], List[Combinatorica`Private`k, Combinatorica`Private`c]]]]]], Map[Function[Ceiling[Times[First[Slot[1]], Power[2, -1]]]], Combinatorica`Private`c]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`VertexConnectivity\"]], False]", "msgs": [], "secs": 0.185} +{"i": 135, "status": "ok", "out": "2", "msgs": [], "secs": 0.775} +{"i": 136, "status": "ok", "out": "1", "msgs": [], "secs": 0.20600000000000002} +{"i": 137, "status": "ok", "out": "3", "msgs": [], "secs": 0.0} +{"i": 138, "status": "ok", "out": "DiscreteMath`OldCombinatorica`VertexConnectivity[DiscreteMath`OldCombinatorica`CompleteGraph[4]]", "msgs": [], "secs": 0.0} +{"i": 139, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 140, "status": "ok", "out": "List[112698, Null]", "msgs": [], "secs": 1.516} +{"i": 141, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 142, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"VertexConnectivityGraph\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns a directed graph that contains an edge corresponding to each vertex in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and in which edge-disjoint paths correspond to vertex-disjoint paths in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, VertexConnectivityGraph, List[RuleDelayed[VertexConnectivityGraph[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`n, V[Combinatorica`Private`g]], Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g, All]], Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g, All]], Set[Combinatorica`Private`epsilon, Round[Times[Power[10, 5], 0.05`]]], Combinatorica`Private`ne, Combinatorica`Private`nv], CompoundExpression[Set[Combinatorica`Private`ne, Join[Map[Function[List[List[Times[2, Part[First[Slot[1]], 1]], Plus[Times[2, Part[First[Slot[1]], 2]], -1]], Rule[EdgeWeight, 2]]], Combinatorica`Private`e], Table[List[List[Plus[Times[2, Combinatorica`Private`i], -1], Times[2, Combinatorica`Private`i]]], List[Combinatorica`Private`i, Combinatorica`Private`n]]]], If[UndirectedQ[Combinatorica`Private`g], Set[Combinatorica`Private`ne, Join[Combinatorica`Private`ne, Map[Function[List[List[Times[2, Part[First[Slot[1]], 2]], Plus[Times[2, Part[First[Slot[1]], 1]], -1]], Rule[EdgeWeight, 2]]], Combinatorica`Private`e]]]], Set[Combinatorica`Private`nv, Flatten[Map[Function[List[Prepend[Rest[Slot[1]], Plus[First[Slot[1]], Times[-1, List[Combinatorica`Private`epsilon, 0]]]], Prepend[Rest[Slot[1]], Plus[First[Slot[1]], List[Combinatorica`Private`epsilon, 0]]]]], Combinatorica`Private`v], 1]], SetGraphOptions[ChangeEdges[ChangeVertices[Combinatorica`Private`g, Combinatorica`Private`nv], Combinatorica`Private`ne], Rule[EdgeDirection, True]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`VertexConnectivityGraph\"]], False]", "msgs": [], "secs": 0.064} +{"i": 143, "status": "ok", "out": "", "msgs": [], "secs": 0.025} +{"i": 144, "status": "ok", "out": "ShowGraph[Tree[5, List[Tree[6, List[Tree[3, None], Tree[4, None]]], Tree[8, List[Tree[9, List[Tree[7, None]]]]], Tree[2, List[Tree[10, None], Tree[1, None]]]]]]", "msgs": [], "secs": 0.007} +{"i": 145, "status": "ok", "out": "ShowGraph[VertexConnectivityGraph[Tree[5, List[Tree[6, List[Tree[3, None], Tree[4, None]]], Tree[8, List[Tree[9, List[Tree[7, None]]]]], Tree[2, List[Tree[10, None], Tree[1, None]]]]]], Rule[HeadScaling, Relative], Rule[ImageSize, 400], Rule[VertexStyle, Disc[1500]]]", "msgs": [], "secs": 0.0} +{"i": 146, "status": "ok", "out": "List[58, Null]", "msgs": [], "secs": 0.003} +{"i": 147, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Harary\\\", \\\"[\\\", RowBox[{StyleBox[\\\"k\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) constructs the minimal \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\)-connected graph on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Harary, List[RuleDelayed[Harary[PatternTest[Pattern[Combinatorica`Private`k, Blank[]], EvenQ], Pattern[Combinatorica`Private`n, Blank[Integer]]], Condition[CirculantGraph[Combinatorica`Private`n, Range[Times[Combinatorica`Private`k, Power[2, -1]]]], And[Greater[Combinatorica`Private`k, 1], Greater[Combinatorica`Private`n, Combinatorica`Private`k]]]], RuleDelayed[Harary[PatternTest[Pattern[Combinatorica`Private`k, Blank[]], OddQ], PatternTest[Pattern[Combinatorica`Private`n, Blank[]], EvenQ]], Condition[CirculantGraph[Combinatorica`Private`n, Append[Range[Times[Combinatorica`Private`k, Power[2, -1]]], Times[Combinatorica`Private`n, Power[2, -1]]]], And[Greater[Combinatorica`Private`k, 1], Greater[Combinatorica`Private`n, Combinatorica`Private`k]]]], RuleDelayed[Harary[PatternTest[Pattern[Combinatorica`Private`k, Blank[]], OddQ], PatternTest[Pattern[Combinatorica`Private`n, Blank[]], OddQ]], Condition[AddEdges[Harary[Plus[Combinatorica`Private`k, -1], Combinatorica`Private`n], Join[List[List[List[1, Times[Plus[Combinatorica`Private`n, 1], Power[2, -1]]]], List[List[1, Times[Plus[Combinatorica`Private`n, 3], Power[2, -1]]]]], Table[List[List[Combinatorica`Private`i, Plus[Combinatorica`Private`i, Times[Plus[Combinatorica`Private`n, 1], Power[2, -1]]]]], List[Combinatorica`Private`i, 2, Times[Plus[Combinatorica`Private`n, -1], Power[2, -1]]]]]], And[Greater[Combinatorica`Private`k, 1], Greater[Combinatorica`Private`n, Combinatorica`Private`k]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Harary\"]], False]", "msgs": [], "secs": 0.036000000000000004} +{"i": 148, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 149, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 150, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 151, "status": "ok", "out": "CompleteQ[Harary[10, 9]]", "msgs": [], "secs": 0.0} +{"i": 152, "status": "ok", "out": "List[List[22, Null], List[26, Null], List[53, Null], List[50, Null], List[60, Null], List[69, Null], List[89, Null], List[154, Null], List[148, Null], List[130, Null], List[158, Null], List[153, Null], List[151, Null], List[160, Null], List[195, Null], List[237, Null], List[234, Null], List[204, Null], List[256, Null], List[238, Null]]", "msgs": [], "secs": 0.041} +{"i": 153, "status": "msg", "out": "ListPlot[List[Part[List[22, Null], 1, 1], Part[List[26, Null], 1, 1], Part[List[53, Null], 1, 1], Part[List[50, Null], 1, 1], Part[List[60, Null], 1, 1], Part[List[69, Null], 1, 1], Part[List[89, Null], 1, 1], Part[List[154, Null], 1, 1], Part[List[148, Null], 1, 1], Part[List[130, Null], 1, 1], Part[List[158, Null], 1, 1], Part[List[153, Null], 1, 1], Part[List[151, Null], 1, 1], Part[List[160, Null], 1, 1], Part[List[195, Null], 1, 1], Part[List[237, Null], 1, 1], Part[List[234, Null], 1, 1], Part[List[204, Null], 1, 1], Part[List[256, Null], 1, 1], Part[List[238, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 154, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 155, "status": "ok", "out": "List[List[15, Null], List[25, Null], List[37, Null], List[45, Null], List[61, Null], List[80, Null], List[88, Null], List[106, Null], List[124, Null], List[126, Null], List[124, Null], List[154, Null], List[176, Null], List[188, Null], List[167, Null], List[175, Null], List[185, Null], List[219, Null], List[220, Null], List[226, Null]]", "msgs": [], "secs": 0.029} +{"i": 156, "status": "msg", "out": "ListPlot[List[Part[List[15, Null], 1, 1], Part[List[25, Null], 1, 1], Part[List[37, Null], 1, 1], Part[List[45, Null], 1, 1], Part[List[61, Null], 1, 1], Part[List[80, Null], 1, 1], Part[List[88, Null], 1, 1], Part[List[106, Null], 1, 1], Part[List[124, Null], 1, 1], Part[List[126, Null], 1, 1], Part[List[124, Null], 1, 1], Part[List[154, Null], 1, 1], Part[List[176, Null], 1, 1], Part[List[188, Null], 1, 1], Part[List[167, Null], 1, 1], Part[List[175, Null], 1, 1], Part[List[185, Null], 1, 1], Part[List[219, Null], 1, 1], Part[List[220, Null], 1, 1], Part[List[226, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.0} +{"i": 157, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 158, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"IdenticalQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) yields True if graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\) have identical edge lists, even though the associated graphics information need not be the same.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IdenticalQ, List[RuleDelayed[IdenticalQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[True, And[EmptyQ[Combinatorica`Private`g], EmptyQ[Combinatorica`Private`h], Equal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]]]]], RuleDelayed[IdenticalQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], Condition[False, Unequal[UndirectedQ[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`h]]]], RuleDelayed[IdenticalQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]]], And[Equal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]], If[UndirectedQ[Combinatorica`Private`g], SameQ[Sort[Map[Sort, Edges[Combinatorica`Private`g]]], Sort[Map[Sort, Edges[Combinatorica`Private`h]]]], SameQ[Sort[Edges[Combinatorica`Private`g]], Sort[Edges[Combinatorica`Private`h]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IdenticalQ\"]], False]", "msgs": [], "secs": 0.025} +{"i": 159, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 160, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 161, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 162, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 163, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 164, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 165, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 166, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 167, "status": "ok", "out": "Null", "msgs": [], "secs": 0.07100000000000001} +{"i": 168, "status": "ok", "out": "List[1252, Null]", "msgs": [], "secs": 0.016} +{"i": 169, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"IsomorphismQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"p\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) tests if permutation \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\) defines an isomorphism between graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IsomorphismQ, List[RuleDelayed[IsomorphismQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`p, Blank[List]]], Condition[False, Or[Unequal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]], Not[PermutationQ[Combinatorica`Private`p]], Unequal[Length[Combinatorica`Private`p], V[Combinatorica`Private`g]]]]], RuleDelayed[IsomorphismQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`p, Blank[List]]], IdenticalQ[Combinatorica`Private`g, PermuteSubgraph[Combinatorica`Private`h, Combinatorica`Private`p]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IsomorphismQ\"]], False]", "msgs": [], "secs": 0.031} +{"i": 170, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 171, "status": "ok", "out": "List[True, False, False, False, False, True, False, True, False, True, False, False, False, False, True, False, True, False, True, False, False, False, False, True]", "msgs": [], "secs": 0.006} +{"i": 172, "status": "ok", "out": "8", "msgs": [], "secs": 0.0} +{"i": 173, "status": "ok", "out": "Null", "msgs": [], "secs": 0.056} +{"i": 174, "status": "ok", "out": "List[List[566, Null], List[973, Null], List[1782, Null], List[2934, Null], List[4253, Null], List[7473, Null], List[12695, Null], List[22699, Null]]", "msgs": [], "secs": 0.804} +{"i": 175, "status": "msg", "out": "ListPlot[List[Part[List[566, Null], 1, 1], Part[List[973, Null], 1, 1], Part[List[1782, Null], 1, 1], Part[List[2934, Null], 1, 1], Part[List[4253, Null], 1, 1], Part[List[7473, Null], 1, 1], Part[List[12695, Null], 1, 1], Part[List[22699, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 176, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 177, "status": "ok", "out": "List[List[1, Null], List[0, Null], List[2, Null], List[0, Null], List[0, Null], List[1, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 178, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Isomorphism\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives an isomorphism between graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\) if one exists. \\n\\!\\(\\*RowBox[{\\\"Isomorphism\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"], \\\",\\\", \\\"All\\\"}], \\\"]\\\"}]\\) gives all isomorphisms between graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Isomorphism\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the automorphism group of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Isomorphism, List[RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[List[], Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[List[List[1]], Equal[V[Combinatorica`Private`g], 1]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`invariants, ReplaceAll[Invariants, Flatten[List[Combinatorica`Private`opts, Options[Isomorphism]]]]]], Isomorphism[Combinatorica`Private`g, Combinatorica`Private`g, Equivalences[Combinatorica`Private`g, Apply[Sequence, Combinatorica`Private`invariants]], All]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Optional[Pattern[Combinatorica`Private`flag, Blank[Symbol]], One], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[List[], Unequal[V[Combinatorica`Private`g], V[Combinatorica`Private`h]]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Optional[Pattern[Combinatorica`Private`flag, Blank[Symbol]], One], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[List[List[1]], And[Equal[V[Combinatorica`Private`g], 1], Equal[V[Combinatorica`Private`h], 1], Equal[M[Combinatorica`Private`g], M[Combinatorica`Private`h]]]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Optional[Pattern[Combinatorica`Private`flag, Blank[Symbol]], One], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`invariants, ReplaceAll[Invariants, Flatten[List[Combinatorica`Private`opts, Options[Isomorphism]]]]]], Isomorphism[Combinatorica`Private`g, Combinatorica`Private`h, Equivalences[Combinatorica`Private`g, Combinatorica`Private`h, Apply[Sequence, Combinatorica`Private`invariants]], Combinatorica`Private`flag]]], RuleDelayed[Isomorphism[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`equiv, Blank[List]], Optional[Pattern[Combinatorica`Private`flag, Blank[Symbol]], One]], If[Not[MemberQ[Combinatorica`Private`equiv, List[]]], Backtrack[Combinatorica`Private`equiv, Function[And[IdenticalQ[PermuteSubgraph[Combinatorica`Private`g, Range[Length[Slot[1]]]], PermuteSubgraph[Combinatorica`Private`h, Slot[1]]], Not[MemberQ[Drop[Slot[1], -1], Last[Slot[1]]]]]], Function[IsomorphismQ[Combinatorica`Private`g, Combinatorica`Private`h, Slot[1]]], Combinatorica`Private`flag], List[]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Invariants, List[DegreesOf2Neighborhood, NumberOf2Paths, Distances]]]], Rule[...", "msgs": [], "secs": 0.051000000000000004} +{"i": 179, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.003} +{"i": 180, "status": "ok", "out": "List[List[1, 2, 3, 4, 5], List[1, 4, 3, 2, 5], List[2, 1, 4, 3, 5], List[2, 3, 4, 1, 5], List[3, 2, 1, 4, 5], List[3, 4, 1, 2, 5], List[4, 1, 2, 3, 5], List[4, 3, 2, 1, 5]]", "msgs": [], "secs": 0.034} +{"i": 181, "status": "ok", "out": "List[List[1, 2, 3, 4, 5], List[1, 2, 4, 3, 5], List[1, 3, 2, 4, 5], List[1, 3, 4, 2, 5], List[1, 4, 2, 3, 5], List[1, 4, 3, 2, 5], List[2, 1, 3, 4, 5], List[2, 1, 4, 3, 5], List[2, 3, 1, 4, 5], List[2, 3, 4, 1, 5], List[2, 4, 1, 3, 5], List[2, 4, 3, 1, 5], List[3, 1, 2, 4, 5], List[3, 1, 4, 2, 5], List[3, 2, 1, 4, 5], List[3, 2, 4, 1, 5], List[3, 4, 1, 2, 5], List[3, 4, 2, 1, 5], List[4, 1, 2, 3, 5], List[4, 1, 3, 2, 5], List[4, 2, 1, 3, 5], List[4, 2, 3, 1, 5], List[4, 3, 1, 2, 5], List[4, 3, 2, 1, 5]]", "msgs": [], "secs": 0.031} +{"i": 182, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.0} +{"i": 183, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], List[1, 10, 9, 8, 7, 6, 5, 4, 3, 2], List[2, 1, 10, 9, 8, 7, 6, 5, 4, 3], List[2, 3, 4, 5, 6, 7, 8, 9, 10, 1], List[3, 2, 1, 10, 9, 8, 7, 6, 5, 4], List[3, 4, 5, 6, 7, 8, 9, 10, 1, 2], List[4, 3, 2, 1, 10, 9, 8, 7, 6, 5], List[4, 5, 6, 7, 8, 9, 10, 1, 2, 3], List[5, 4, 3, 2, 1, 10, 9, 8, 7, 6], List[5, 6, 7, 8, 9, 10, 1, 2, 3, 4], List[6, 5, 4, 3, 2, 1, 10, 9, 8, 7], List[6, 7, 8, 9, 10, 1, 2, 3, 4, 5], List[7, 6, 5, 4, 3, 2, 1, 10, 9, 8], List[7, 8, 9, 10, 1, 2, 3, 4, 5, 6], List[8, 7, 6, 5, 4, 3, 2, 1, 10, 9], List[8, 9, 10, 1, 2, 3, 4, 5, 6, 7], List[9, 8, 7, 6, 5, 4, 3, 2, 1, 10], List[9, 10, 1, 2, 3, 4, 5, 6, 7, 8], List[10, 1, 2, 3, 4, 5, 6, 7, 8, 9], List[10, 9, 8, 7, 6, 5, 4, 3, 2, 1]]", "msgs": [], "secs": 0.397} +{"i": 184, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 185, "status": "ok", "out": "List[List[18019, Null], List[35374, Null], List[45690, Null], List[81951, Null], List[117802, Null], List[191064, Null]]", "msgs": [], "secs": 5.864} +{"i": 186, "status": "ok", "out": "List[List[1, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 187, "status": "ok", "out": "List[List[1, 2, 3, 4, 5], List[1, 5, 4, 3, 2], List[2, 1, 5, 4, 3], List[2, 3, 4, 5, 1], List[3, 2, 1, 5, 4], List[3, 4, 5, 1, 2], List[4, 3, 2, 1, 5], List[4, 5, 1, 2, 3], List[5, 1, 2, 3, 4], List[5, 4, 3, 2, 1]]", "msgs": [], "secs": 0.022} +{"i": 188, "status": "ok", "out": "List[List[1, 2, 3, 4, 5], List[5, 4, 3, 2, 1]]", "msgs": [], "secs": 0.006} +{"i": 189, "status": "ok", "out": "Isomorphism[Tree[5, List[Tree[6, None], Tree[1, List[Tree[4, List[Tree[3, None], Tree[7, None], Tree[2, None]]]]]]]]", "msgs": [], "secs": 0.009000000000000001} +{"i": 190, "status": "ok", "out": "ShowGraph[Tree[5, List[Tree[6, None], Tree[1, List[Tree[4, List[Tree[3, None], Tree[7, None], Tree[2, None]]]]]]], Rule[VertexNumber, On], Rule[PlotRange, Large[10000]]]", "msgs": [], "secs": 0.001} +{"i": 191, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"IsomorphicQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) yields True if graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\) are isomorphic. \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IsomorphicQ, List[RuleDelayed[IsomorphicQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[True, IdenticalQ[Combinatorica`Private`g, Combinatorica`Private`h]]], RuleDelayed[IsomorphicQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`invariants, ReplaceAll[Invariants, Flatten[List[Combinatorica`Private`opts, Options[IsomorphicQ]]]]]], Not[SameQ[Isomorphism[Combinatorica`Private`g, Combinatorica`Private`h, Rule[Invariants, Combinatorica`Private`invariants]], List[]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Invariants, List[DegreesOf2Neighborhood, NumberOf2Paths, Distances]]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IsomorphicQ\"]], False]", "msgs": [], "secs": 0.026000000000000002} +{"i": 192, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 193, "status": "ok", "out": "True", "msgs": [], "secs": 0.002} +{"i": 194, "status": "ok", "out": "IsomorphicQ[Tree[2, List[Tree[5, List[Tree[10, List[Tree[6, List[Tree[12, None], Tree[4, List[Tree[8, None], Tree[20, List[Tree[11, None], Tree[14, None]]], Tree[1, None], Tree[16, List[Tree[15, None]]], Tree[17, None], Tree[3, None]]], Tree[19, None]]]]], Tree[18, None], Tree[7, None], Tree[9, None], Tree[13, None]]]]], Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[1, 10]], List[List[1, 11]], List[List[1, 12]], List[List[1, 13]], List[List[1, 14]], List[List[1, 15]], List[List[1, 16]], List[List[1, 17]], List[List[1, 18]], List[List[1, 19]], List[List[1, 20]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[2, 10]], List[List[2, 11]], List[List[2, 12]], List[List[2, 13]], List[List[2, 14]], List[List[2, 15]], List[List[2, 16]], List[List[2, 17]], List[List[2, 18]], List[List[2, 19]], List[List[2, 20]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[3, 10]], List[List[3, 11]], List[List[3, 12]], List[List[3, 13]], List[List[3, 14]], List[List[3, 15]], List[List[3, 16]], List[List[3, 17]], List[List[3, 18]], List[List[3, 19]], List[List[3, 20]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[4, 10]], List[List[4, 11]], List[List[4, 12]], List[List[4, 13]], List[List[4, 14]], List[List[4, 15]], List[List[4, 16]], List[List[4, 17]], List[List[4, 18]], List[List[4, 19]], List[List[4, 20]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[5, 10]], List[List[5, 11]], List[List[5, 12]], List[List[5, 13]], List[List[5, 14]], List[List[5, 15]], List[List[5, 16]], List[List[5, 17]], List[List[5, 18]], List[List[5, 19]], List[List[5, 20]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[6, 10]], List[List[6, 11]], List[List[6, 12]], List[List[6, 13]], List[List[6, 14]], List[List[6, 15]], List[List[6, 16]], List[List[6, 17]], List[List[6, 18]], List[List[6, 19]], List[List[6, 20]], List[List[7, 8]], List[List[7, 9]], List[List[7, 10]], List[List[7, 11]], List[List[7, 12]], List[List[7, 13]], List[List[7, 14]], List[List[7, 15]], List[List[7, 16]], List[List[7, 17]], List[List[7, 18]], List[List[7, 19]], List[List[7, 20]], List[List[8, 9]], List[List[8, 10]], List[List[8, 11]], List[List[8, 12]], List[List[8, 13]], List[List[8, 14]], List[List[8, 15]], List[List[8, 16]], List[List[8, 17]], List[List[8, 18]], List[List[8, 19]], List[List[8, 20]], List[List[9, 10]], List[List[9, 11]], List[List[9, 12]], List[List[9, 13]], List[List[9, 14]], List[List[9, 15]], List[List[9, 16]], List[List[9, 17]], List[List[9, 18]], List[List[9, 19]], List[List[9, 20]], List[List[10, 11]], List[List[10, 12]], List[List[10, 13]], List[List[10, 14]], List[List[10, 15]], List[List[10, 16]], List[List[10, 17]], List[List[10, 18]], List[List[10, 19]], List[List[10, 20]], List[List[11, 12]], List[List[11, 13]], List[List[11, 14]], List[List[11, 15]], List[List[11, 16]], List[List[11, 17]], List[List[11, 18]], List[List[11, 19]], List[List[11, 20]], List[List[12, 13]], List[List[12, 14]], List[List[12, 15]], List[List[12, 16]], List[List[12, 17]], List[List[12, 18]], List[List[12, 19]], List[List[12, 20]], List[List[13, 14]], List[List[13, 15]], List[List[13, 16]], List[List[13, 17]], List[List[13, 18]], List[List[13, 19]], List[List[13, 20]], List[List[14, 15]], List[List[14, 16]], List[List[14, 17]], List[List[14, 18]], List[List[14, 19]], List[List[14, 20]], List[List[15, 16]], List[List[15, 17]], List[List[15, 18]], List[List[15, 19]], List[List[15, 20]], List[List[16, 17]], List[List[16, 18]], List[List[16, 19]], List[List[16, 20]], List[List[17, 18]], List[List[17, 19]], List[List[17, 20]], List[List[18, 19]], List[List[18, 20]], List[List[19, 20]]], List[List[List[95106, 30902]], List[...", "msgs": [], "secs": 0.001} +{"i": 195, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Equivalences\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) lists the vertex equivalence classes between graphs \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"h\\\", \\\"TI\\\"]\\) defined by their vertex degrees. \\n\\!\\(\\*RowBox[{\\\"Equivalences\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) lists the vertex equivalences for graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) defined by the vertex degrees. \\n\\!\\(\\*RowBox[{\\\"Equivalences\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"h\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) and \\!\\(\\*RowBox[{\\\"Equivalences\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) can also be used, where \\!\\(\\*RowBox[{SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are functions that compute other vertex invariants. It is expected that for each function \\!\\(\\*SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]]\\), the call \\!\\(\\*RowBox[{SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]], \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the corresponding invariant at vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). The functions \\!\\(\\*RowBox[{SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"f\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}]\\) are evaluated in order, and the evaluation stops either when all functions have been evaluated or when an empty equivalence class is found. Three vertex invariants, DegreesOf2Neighborhood, NumberOf2Paths, and Distances are \\!\\(\\*StyleBox[\\\"Combinatorica\\\", FontSlant -> \\\"Italic\\\"]\\) functions and can be used to refine the equivalences.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Equivalences, List[RuleDelayed[Equivalences[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`h, Blank[Graph]], Pattern[Combinatorica`Private`f, BlankNullSequence[]]], Module[List[Set[Combinatorica`Private`dg, Degrees[Combinatorica`Private`g]], Set[Combinatorica`Private`dh, Degrees[Combinatorica`Private`h]], Combinatorica`Private`eq], CompoundExpression[Set[Combinatorica`Private`eq, Table[Flatten[Position[Combinatorica`Private`dh, Part[Combinatorica`Private`dg, Combinatorica`Private`i]], 1], List[Combinatorica`Private`i, Length[Combinatorica`Private`dg]]]], Combinatorica`Private`EQ[Combinatorica`Private`g, Combinatorica`Private`h, Combinatorica`Private`eq, Combinatorica`Private`f]]]], RuleDelayed[Equivalences[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`f, BlankNullSequence[]]], Equivalences[Combinatorica`Private`g, Combinatorica`Private`g, Combinatorica`Private`f]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Equivalences\"]], False]", "msgs": [], "secs": 0.026000000000000002} +{"i": 196, "status": "ok", "out": "List[List[], List[], List[], List[], List[], List[], List[], List[], List[], List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]]", "msgs": [], "secs": 0.001} +{"i": 197, "status": "ok", "out": "List[List[], List[], List[], List[], List[], List[], List[], List[], List[], List[]]", "msgs": [], "secs": 0.0} +{"i": 198, "status": "ok", "out": "List[List[1, 10], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[2, 3, 4, 5, 6, 7, 8, 9], List[1, 10]]", "msgs": [], "secs": 0.0} +{"i": 199, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 200, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 201, "status": "ok", "out": "", "msgs": [], "secs": 0.002} +{"i": 202, "status": "ok", "out": "List[3, 3, 3, 3, 3, 3, 3, 3]", "msgs": [], "secs": 0.0} +{"i": 203, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 204, "status": "ok", "out": "List[3, 3, 3, 3, 3, 3, 3, 3]", "msgs": [], "secs": 0.0} +{"i": 205, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8]]", "msgs": [], "secs": 0.0} +{"i": 206, "status": "ok", "out": "List[]", "msgs": [], "secs": 0.002} +{"i": 207, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8], List[1, 2, 3, 4, 5, 6, 7, 8]]", "msgs": [], "secs": 0.003} +{"i": 208, "status": "ok", "out": "Null", "msgs": [], "secs": 0.012} +{"i": 209, "status": "ok", "out": "List[List[1, 10], List[2, 9], List[3, 4, 5, 6, 7, 8], List[3, 4, 5, 6, 7, 8], List[3, 4, 5, 6, 7, 8], List[3, 4, 5, 6, 7, 8], List[3, 4, 5, 6, 7, 8], List[3, 4, 5, 6, 7, 8], List[2, 9], List[1, 10]]", "msgs": [], "secs": 0.0} +{"i": 210, "status": "ok", "out": "List[List[1, 10], List[2, 9], List[3, 8], List[4, 5, 6, 7], List[4, 5, 6, 7], List[4, 5, 6, 7], List[4, 5, 6, 7], List[3, 8], List[2, 9], List[1, 10]]", "msgs": [], "secs": 0.001} +{"i": 211, "status": "ok", "out": "List[List[1, 10], List[2, 9], List[3, 8], List[4, 7], List[5, 6], List[5, 6], List[4, 7], List[3, 8], List[2, 9], List[1, 10]]", "msgs": [], "secs": 0.002} +{"i": 212, "status": "ok", "out": "List[List[1, 2, 3, 4], List[1, 2, 3, 4], List[1, 2, 3, 4], List[1, 2, 3, 4], List[5]]", "msgs": [], "secs": 0.0} +{"i": 213, "status": "ok", "out": "List[List[1, 2, 3, 4], List[1, 2, 3, 4], List[1, 2, 3, 4], List[1, 2, 3, 4]]", "msgs": [], "secs": 0.0} +{"i": 214, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Automorphisms\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the automorphism group of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Automorphisms, List[RuleDelayed[Automorphisms[Pattern[Combinatorica`Private`g, Blank[Graph]]], Isomorphism[Combinatorica`Private`g]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Automorphisms\"]], False]", "msgs": [], "secs": 0.034} +{"i": 215, "status": "ok", "out": "List[List[1, 2, 3, 4], List[1, 3, 2, 4], List[2, 1, 3, 4], List[2, 3, 1, 4], List[3, 1, 2, 4], List[3, 2, 1, 4]]", "msgs": [], "secs": 0.006} +{"i": 216, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SelfComplementaryQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is self-complementary, meaning it is isomorphic to its complement.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SelfComplementaryQ, List[RuleDelayed[SelfComplementaryQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], IsomorphicQ[Combinatorica`Private`g, GraphComplement[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SelfComplementaryQ\"]], False]", "msgs": [], "secs": 0.021} +{"i": 217, "status": "ok", "out": "True", "msgs": [], "secs": 0.002} +{"i": 218, "status": "ok", "out": "True", "msgs": [], "secs": 0.003} +{"i": 219, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 220, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`FindCycle\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, FindCycle, List[RuleDelayed[FindCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], Directed], CompoundExpression[Message[MessageName[FindCycle, \"obsolete\"]], FindCycle[Combinatorica`Private`g]]], RuleDelayed[FindCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[First[Select[Edges[Combinatorica`Private`g], Function[Equal[Part[Slot[1], 1], Part[Slot[1], 2]]]]], SelfLoopsQ[Combinatorica`Private`g]]], RuleDelayed[FindCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Set[Combinatorica`Private`e, Part[Cases[Split[Sort[Edges[Combinatorica`Private`g]]], List[Pattern[Combinatorica`Private`x, Blank[List]], Pattern[Combinatorica`Private`x, Blank[List]], BlankNullSequence[]]], 1, 1]]], Append[Combinatorica`Private`e, Part[Combinatorica`Private`e, 1]]], And[UndirectedQ[Combinatorica`Private`g], MultipleEdgesQ[Combinatorica`Private`g]]]], RuleDelayed[FindCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], FindCycle[ToAdjacencyLists[Combinatorica`Private`g], UndirectedQ[Combinatorica`Private`g]]], RuleDelayed[FindCycle[Pattern[Combinatorica`Private`al, Blank[List]], Optional[Pattern[Combinatorica`Private`tag, Blank[]], True]], Block[List[Set[Combinatorica`Private`e, Combinatorica`Private`al], Combinatorica`Private`c, Set[Combinatorica`Private`parent, Table[0, List[Length[Combinatorica`Private`al]]]], Set[Combinatorica`Private`s, Table[0, List[Length[Combinatorica`Private`al]]]], Set[Combinatorica`Private`f, Table[0, List[Length[Combinatorica`Private`al]]]], Set[Combinatorica`Private`cnt, 1], Combinatorica`Private`start, Combinatorica`Private`edge, Set[$RecursionLimit, Infinity]], CompoundExpression[While[Greater[Count[Combinatorica`Private`parent, 0], 0], CompoundExpression[Set[Combinatorica`Private`start, Part[Position[Combinatorica`Private`parent, 0], 1, 1]], Set[Part[Combinatorica`Private`parent, Combinatorica`Private`start], Combinatorica`Private`start], Set[Combinatorica`Private`edge, Catch[Combinatorica`Private`FindBackEdge[Combinatorica`Private`start, Combinatorica`Private`tag]]], If[UnsameQ[Combinatorica`Private`edge, Null], CompoundExpression[Set[Combinatorica`Private`c, Reverse[NestWhileList[Function[Part[Combinatorica`Private`parent, Slot[1]]], Part[Combinatorica`Private`parent, Part[Combinatorica`Private`edge, 1]], Function[Unequal[Slot[1], Part[Combinatorica`Private`edge, 2]]]]]], Return[Prepend[Append[Combinatorica`Private`c, Part[Combinatorica`Private`edge, 1]], Part[Combinatorica`Private`edge, 1]]]]]]], List[]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`FindCycle\"]], False]", "msgs": [], "secs": 0.083} +{"i": 221, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 222, "status": "ok", "out": "List[6, 3, 2, 4, 6]", "msgs": [], "secs": 0.0} +{"i": 223, "status": "ok", "out": "ShowGraph[AddEdges[Tree[8, List[Tree[9, None], Tree[3, List[Tree[7, List[Tree[5, List[Tree[10, List[Tree[1, None]]]]], Tree[2, None], Tree[4, None]]], Tree[6, None]]]]], List[List[List[1, 10]]]], Rule[VertexNumber, On], Rule[PlotRange, Large[5000]]]", "msgs": [], "secs": 0.0} +{"i": 224, "status": "ok", "out": "FindCycle[AddEdges[Tree[8, List[Tree[9, None], Tree[3, List[Tree[7, List[Tree[5, List[Tree[10, List[Tree[1, None]]]]], Tree[2, None], Tree[4, None]]], Tree[6, None]]]]], List[List[List[1, 10]]]]]", "msgs": [], "secs": 0.0} +{"i": 225, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 226, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 227, "status": "ok", "out": "ShowGraph[HighlightCycle[AddEdges[Tree[8, List[Tree[9, None], Tree[3, List[Tree[7, List[Tree[5, List[Tree[10, List[Tree[1, None]]]]], Tree[2, None], Tree[4, None]]], Tree[6, None]]]]], List[List[List[1, 10]]]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 228, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 229, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.024} +{"i": 230, "status": "ok", "out": "ShowGraph[AddEdges[DeleteEdges[AddEdges[Tree[8, List[Tree[9, None], Tree[3, List[Tree[7, List[Tree[5, List[Tree[10, List[Tree[1, None]]]]], Tree[2, None], Tree[4, None]]], Tree[6, None]]]]], List[List[List[1, 10]]]], List[List[16, 17], List[17, 22]]], List[List[List[17, 16]], List[List[22, 17]]]], Rule[VertexNumber, On], Rule[PlotRange, Large[10000]]]", "msgs": [], "secs": 0.0} +{"i": 231, "status": "ok", "out": "ShowGraph[HighlightCycle[AddEdges[DeleteEdges[AddEdges[Tree[8, List[Tree[9, None], Tree[3, List[Tree[7, List[Tree[5, List[Tree[10, List[Tree[1, None]]]]], Tree[2, None], Tree[4, None]]], Tree[6, None]]]]], List[List[List[1, 10]]]], List[List[16, 17], List[17, 22]]], List[List[List[17, 16]], List[List[22, 17]]]]]]", "msgs": [], "secs": 0.0} +{"i": 232, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 233, "status": "ok", "out": "List[List[1, 2], List[2, 3], List[3, 4], List[1, 2]]", "msgs": [], "secs": 0.0} +{"i": 234, "status": "ok", "out": "List[1, 2, 1]", "msgs": [], "secs": 0.0} +{"i": 235, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 236, "status": "ok", "out": "List[1, 1]", "msgs": [], "secs": 0.0} +{"i": 237, "status": "ok", "out": "Null", "msgs": [], "secs": 0.026000000000000002} +{"i": 238, "status": "ok", "out": "List[List[97, Null], List[154, Null], List[223, Null], List[152, Null], List[156, Null], List[135, Null], List[867, Null], List[389, Null], List[1370, Null], List[1424, Null]]", "msgs": [], "secs": 0.062} +{"i": 239, "status": "msg", "out": "ListPlot[List[Part[List[97, Null], 1, 1], Part[List[154, Null], 1, 1], Part[List[223, Null], 1, 1], Part[List[152, Null], 1, 1], Part[List[156, Null], 1, 1], Part[List[135, Null], 1, 1], Part[List[867, Null], 1, 1], Part[List[389, Null], 1, 1], Part[List[1370, Null], 1, 1], Part[List[1424, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.001} +{"i": 240, "status": "ok", "out": "Null", "msgs": [], "secs": 0.06} +{"i": 241, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 242, "status": "ok", "out": "List[List[181, Null], List[307, Null], List[530, Null], List[637, Null], List[823, Null], List[872, Null], List[1089, Null], List[1359, Null], List[1488, Null], List[1553, Null]]", "msgs": [], "secs": 0.13} +{"i": 243, "status": "ok", "out": "List[List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39], List[39, 19, 20, 40, 39]]", "msgs": [], "secs": 0.0} +{"i": 244, "status": "msg", "out": "ListPlot[List[Part[List[181, Null], 1, 1], Part[List[307, Null], 1, 1], Part[List[530, Null], 1, 1], Part[List[637, Null], 1, 1], Part[List[823, Null], 1, 1], Part[List[872, Null], 1, 1], Part[List[1089, Null], 1, 1], Part[List[1359, Null], 1, 1], Part[List[1488, Null], 1, 1], Part[List[1553, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.0} +{"i": 245, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 246, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[1, Null]]", "msgs": [], "secs": 0.0} +{"i": 247, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AcyclicQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is acyclic.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AcyclicQ, List[RuleDelayed[AcyclicQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], SameQ[FindCycle[Combinatorica`Private`g], List[]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`AcyclicQ\"]], False]", "msgs": [], "secs": 0.027} +{"i": 248, "status": "ok", "out": "AcyclicQ[Tree[62, List[Tree[6, List[Tree[79, List[Tree[99, List[Tree[71, List[Tree[42, None], Tree[66, None]]], Tree[29, List[Tree[32, List[Tree[86, List[Tree[19, List[Tree[70, None], Tree[100, None], Tree[43, List[Tree[11, List[Tree[93, None], Tree[97, List[Tree[83, None]]]]], Tree[47, List[Tree[38, List[Tree[31, None], Tree[35, List[Tree[78, None]]], Tree[54, None], Tree[50, List[Tree[21, None]]], Tree[88, None]]], Tree[7, List[Tree[4, List[Tree[65, None]]], Tree[34, List[Tree[59, None]]], Tree[37, List[Tree[74, List[Tree[41, None], Tree[40, List[Tree[56, List[Tree[5, None]]], Tree[10, List[Tree[46, List[Tree[80, List[Tree[91, List[Tree[3, List[Tree[61, None]]], Tree[18, List[Tree[8, None], Tree[64, List[Tree[12, None]]], Tree[28, None]]]]]]]]]]], Tree[53, None]]], Tree[27, None]]], Tree[72, List[Tree[15, List[Tree[58, List[Tree[9, List[Tree[36, None], Tree[94, None]]]]], Tree[25, None], Tree[96, List[Tree[55, None], Tree[39, List[Tree[84, List[Tree[90, List[Tree[26, List[Tree[67, None], Tree[49, None], Tree[13, None]]], Tree[81, List[Tree[45, None]]], Tree[69, None], Tree[22, None], Tree[63, None], Tree[1, None]]], Tree[89, List[Tree[52, List[Tree[23, None]]]]]]]]]]], Tree[77, None]]]]]]], Tree[98, None]]], Tree[14, List[Tree[33, None]]], Tree[2, List[Tree[20, None], Tree[17, None]]], Tree[68, None]]], Tree[48, None]]], Tree[76, List[Tree[73, None]]], Tree[92, List[Tree[75, None], Tree[24, List[Tree[85, None]]]]]]]]]]], Tree[82, None], Tree[51, List[Tree[57, List[Tree[87, None], Tree[44, None], Tree[16, None], Tree[95, None]]], Tree[60, None], Tree[30, None]]]]]]]]]]]]]]", "msgs": [], "secs": 0.002} +{"i": 249, "status": "ok", "out": "False", "msgs": [], "secs": 0.002} +{"i": 250, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 251, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TreeQ\\\", \\\"[\\\", StyleBox[\\\"tree\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if \\!\\(\\*StyleBox[\\\"tree\\\", \\\"TI\\\"]\\) is a valid Tree object and False otherwise.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/TreeQ.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected, ReadProtected]], Rule[\"FullName\", \"System`TreeQ\"]], False]", "msgs": [], "secs": 0.058} +{"i": 252, "status": "ok", "out": "False", "msgs": [], "secs": 0.003} +{"i": 253, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 254, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 255, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 256, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 257, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 258, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ExtractCycles\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a maximal list of edge-disjoint cycles in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ExtractCycles, List[RuleDelayed[ExtractCycles[Pattern[Combinatorica`Private`gi, Blank[Graph]]], Module[List[Set[Combinatorica`Private`g, Combinatorica`Private`gi], Set[Combinatorica`Private`cycles, List[]], Combinatorica`Private`c], CompoundExpression[While[Not[SameQ[List[], Set[Combinatorica`Private`c, FindCycle[Combinatorica`Private`g]]]], CompoundExpression[PrependTo[Combinatorica`Private`cycles, Combinatorica`Private`c], Set[Combinatorica`Private`g, DeleteCycle[Combinatorica`Private`g, Combinatorica`Private`c]], Null]], Combinatorica`Private`cycles]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ExtractCycles\"]], False]", "msgs": [], "secs": 0.043000000000000003} +{"i": 259, "status": "ok", "out": "List[List[9, 1, 2, 3, 4, 5, 6, 7, 8, 9]]", "msgs": [], "secs": 0.003} +{"i": 260, "status": "ok", "out": "List[List[9, 7, 8, 9], List[9, 5, 8, 6, 9], List[7, 5, 6, 7], List[9, 3, 8, 4, 9], List[7, 3, 6, 4, 7], List[5, 3, 4, 5], List[9, 1, 8, 2, 9], List[7, 1, 6, 2, 7], List[5, 1, 4, 2, 5], List[3, 1, 2, 3]]", "msgs": [], "secs": 0.005} +{"i": 261, "status": "ok", "out": "List[List[List[7, 9], List[7, 8], List[8, 9]], List[List[5, 9], List[5, 8], List[6, 8], List[6, 9]], List[List[5, 7], List[5, 6], List[6, 7]], List[List[3, 9], List[3, 8], List[4, 8], List[4, 9]], List[List[3, 7], List[3, 6], List[4, 6], List[4, 7]], List[List[3, 5], List[3, 4], List[4, 5]], List[List[1, 9], List[1, 8], List[2, 8], List[2, 9]], List[List[1, 7], List[1, 6], List[2, 6], List[2, 7]], List[List[1, 5], List[1, 4], List[2, 4], List[2, 5]], List[List[1, 3], List[1, 2], List[2, 3]]]", "msgs": [], "secs": 0.0} +{"i": 262, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 263, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 264, "status": "ok", "out": "List[List[380, Null], List[1514, Null], List[3471, Null], List[6173, Null], List[10727, Null]]", "msgs": [], "secs": 0.251} +{"i": 265, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 266, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 267, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DeleteCycle\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) deletes a simple cycle \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) from graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) is specified as a sequence of vertices in which the first and last vertices are identical. \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) can be directed or undirected. If \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) does not contain \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\), it is returned unchanged; otherwise \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is returned with \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) deleted.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DeleteCycle, List[RuleDelayed[DeleteCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`c, Blank[List]], Directed], CompoundExpression[Message[MessageName[DeleteCycle, \"obsolete\"]], DeleteCycle[Combinatorica`Private`g, Combinatorica`Private`c]]], RuleDelayed[DeleteCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], List[]], Combinatorica`Private`g], RuleDelayed[DeleteCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`c, Blank[List]]], Condition[Module[List[Set[Combinatorica`Private`e, If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Partition[Combinatorica`Private`c, 2, 1]], Partition[Combinatorica`Private`c, 2, 1]]]], If[Equal[Complement[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], List[]], DeleteEdges[Combinatorica`Private`g, Combinatorica`Private`e], Combinatorica`Private`g]], Equal[Last[Combinatorica`Private`c], First[Combinatorica`Private`c]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DeleteCycle\"]], False]", "msgs": [], "secs": 0.029} +{"i": 268, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 269, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 270, "status": "ok", "out": "Null", "msgs": [], "secs": 0.007} +{"i": 271, "status": "ok", "out": "List[1082, Null]", "msgs": [], "secs": 0.013000000000000001} +{"i": 272, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 273, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 274, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Girth\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the length of a shortest cycle in a simple graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Girth, List[RuleDelayed[Girth[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[1, SelfLoopsQ[Combinatorica`Private`g]]], RuleDelayed[Girth[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[2, MultipleEdgesQ[Combinatorica`Private`g]]], RuleDelayed[Girth[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Combinatorica`Private`v, Combinatorica`Private`dist, Combinatorica`Private`queue, Set[Combinatorica`Private`n, V[Combinatorica`Private`g]], Set[Combinatorica`Private`girth, Infinity], Combinatorica`Private`parent, Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`x], CompoundExpression[Do[CompoundExpression[Set[Combinatorica`Private`dist, Set[Combinatorica`Private`parent, Table[Infinity, List[Combinatorica`Private`n]]]], Set[Part[Combinatorica`Private`dist, Combinatorica`Private`v], Set[Part[Combinatorica`Private`parent, Combinatorica`Private`v], 0]], Set[Combinatorica`Private`queue, List[Combinatorica`Private`v]], While[Unequal[Combinatorica`Private`queue, List[]], CompoundExpression[Set[List[Combinatorica`Private`x, Combinatorica`Private`queue], List[First[Combinatorica`Private`queue], Rest[Combinatorica`Private`queue]]], Scan[Function[If[And[Less[Plus[Part[Combinatorica`Private`dist, Slot[1]], Part[Combinatorica`Private`dist, Combinatorica`Private`x]], Combinatorica`Private`girth], Unequal[Part[Combinatorica`Private`parent, Combinatorica`Private`x], Slot[1]]], Set[Combinatorica`Private`girth, Plus[Part[Combinatorica`Private`dist, Slot[1]], Part[Combinatorica`Private`dist, Combinatorica`Private`x], 1]], If[Equal[Part[Combinatorica`Private`dist, Slot[1]], Infinity], CompoundExpression[Set[Part[Combinatorica`Private`dist, Slot[1]], Plus[Part[Combinatorica`Private`dist, Combinatorica`Private`x], 1]], Set[Part[Combinatorica`Private`parent, Slot[1]], Combinatorica`Private`x], If[Less[Times[2, Part[Combinatorica`Private`dist, Slot[1]]], Plus[Combinatorica`Private`girth, -1]], AppendTo[Combinatorica`Private`queue, Slot[1]]]]]]], Part[Combinatorica`Private`e, Combinatorica`Private`x]], Null]]], List[Combinatorica`Private`v, Combinatorica`Private`n]], Combinatorica`Private`girth]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`Girth\"]], False]", "msgs": [], "secs": 0.034} +{"i": 275, "status": "ok", "out": "3", "msgs": [], "secs": 0.001} +{"i": 276, "status": "ok", "out": "4", "msgs": [], "secs": 0.004} +{"i": 277, "status": "ok", "out": "10", "msgs": [], "secs": 0.002} +{"i": 278, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 279, "status": "ok", "out": "6", "msgs": [], "secs": 0.001} +{"i": 280, "status": "ok", "out": "4", "msgs": [], "secs": 0.001} +{"i": 281, "status": "ok", "out": "Girth[Tree[2, List[Tree[7, List[Tree[5, List[Tree[1, None], Tree[8, List[Tree[9, None], Tree[6, List[Tree[10, None]]], Tree[3, None]]]]], Tree[4, None]]]]]]", "msgs": [], "secs": 0.0} +{"i": 282, "status": "ok", "out": "Null", "msgs": [], "secs": 0.01} +{"i": 283, "status": "ok", "out": "List[List[50, Null], List[153, Null], List[323, Null], List[634, Null], List[931, Null], List[1277, Null], List[1723, Null], List[3174, Null], List[3426, Null], List[4243, Null]]", "msgs": [], "secs": 0.201} +{"i": 284, "status": "msg", "out": "ListPlot[List[Part[List[50, Null], 1, 1], Part[List[153, Null], 1, 1], Part[List[323, Null], 1, 1], Part[List[634, Null], 1, 1], Part[List[931, Null], 1, 1], Part[List[1277, Null], 1, 1], Part[List[1723, Null], 1, 1], Part[List[3174, Null], 1, 1], Part[List[3426, Null], 1, 1], Part[List[4243, Null], 1, 1]], Rule[PlotJoined, True]]", "msgs": ["Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "Part::partd", "ListPlot::optx"], "secs": 0.0} +{"i": 285, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 286, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 287, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"OutDegree\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the out-degree of vertex \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) in directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"OutDegree\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the sequence of out-degrees of the vertices in directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, OutDegree, List[RuleDelayed[OutDegree[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`n, Blank[Integer]]], Length[Select[Edges[Combinatorica`Private`g], Function[Equal[First[Slot[1]], Combinatorica`Private`n]]]]], RuleDelayed[OutDegree[Pattern[Combinatorica`Private`g, Blank[Graph]]], Map[Length, ToAdjacencyLists[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`OutDegree\"]], False]", "msgs": [], "secs": 0.03} +{"i": 288, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 10000]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.013000000000000001} +{"i": 289, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 290, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 10000]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.007} +{"i": 291, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"InDegree\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the in-degree of vertex \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) in directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"InDegree\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the sequence of in-degrees of the vertices in directed graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, InDegree, List[RuleDelayed[InDegree[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`n, Blank[Integer]]], Length[Select[Edges[Combinatorica`Private`g], Function[Equal[Last[Slot[1]], Combinatorica`Private`n]]]]], RuleDelayed[InDegree[Pattern[Combinatorica`Private`g, Blank[Graph]]], OutDegree[ReverseEdges[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`InDegree\"]], False]", "msgs": [], "secs": 0.032} +{"i": 292, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 10000]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.009000000000000001} +{"i": 293, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ReverseEdges\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) flips the directions of all edges in a directed graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ReverseEdges, List[RuleDelayed[ReverseEdges[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[ChangeEdges[Combinatorica`Private`g, Map[Function[Prepend[Rest[Slot[1]], Reverse[First[Slot[1]]]]], Edges[Combinatorica`Private`g, All]]], Not[UndirectedQ[Combinatorica`Private`g]]]], RuleDelayed[ReverseEdges[Pattern[Combinatorica`Private`g, Blank[Graph]]], Combinatorica`Private`g]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ReverseEdges\"]], False]", "msgs": [], "secs": 0.025} +{"i": 294, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 10000]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.006} +{"i": 295, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 296, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EulerianQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is Eulerian, meaning there exists a tour that includes each edge exactly once.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EulerianQ, List[RuleDelayed[EulerianQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Directed], CompoundExpression[Message[MessageName[EulerianQ, \"obsolete\"]], EulerianQ[Combinatorica`Private`g]]], RuleDelayed[EulerianQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[And[ConnectedQ[Combinatorica`Private`g], SameQ[InDegree[Combinatorica`Private`g], OutDegree[Combinatorica`Private`g]]], Not[UndirectedQ[Combinatorica`Private`g]]]], RuleDelayed[EulerianQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[And[ConnectedQ[Combinatorica`Private`g], Apply[And, Map[EvenQ, Degrees[Combinatorica`Private`g]]]], UndirectedQ[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EulerianQ\"]], False]", "msgs": [], "secs": 0.03} +{"i": 297, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 298, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 299, "status": "ok", "out": "False", "msgs": [], "secs": 0.002} +{"i": 300, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 301, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 302, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 303, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 304, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 305, "status": "ok", "out": "100000000000", "msgs": [], "secs": 0.0} +{"i": 306, "status": "ok", "out": "Null", "msgs": [], "secs": 0.026000000000000002} +{"i": 307, "status": "crash", "out": "", "msgs": [], "secs": null} +{"i": 308, "status": "ok", "out": "List[1, Null]", "msgs": [], "secs": 0.0} +{"i": 309, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 310, "status": "ok", "out": "List[2229, Null]", "msgs": [], "secs": 0.03} +{"i": 311, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 312, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 313, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EulerianCycle\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds an Eulerian cycle of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) if one exists.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EulerianCycle, List[RuleDelayed[EulerianCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], Directed], CompoundExpression[Message[MessageName[EulerianCycle, \"obsolete\"]], EulerianCycle[Combinatorica`Private`g]]], RuleDelayed[Condition[EulerianCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], EmptyQ[Combinatorica`Private`g]], List[]], RuleDelayed[EulerianCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Combinatorica`Private`euler, Combinatorica`Private`c, Combinatorica`Private`cycles, Combinatorica`Private`v], CompoundExpression[Set[Combinatorica`Private`cycles, Map[Function[Drop[Slot[1], -1]], ExtractCycles[Combinatorica`Private`g]]], Set[List[Combinatorica`Private`euler, Combinatorica`Private`cycles], List[First[Combinatorica`Private`cycles], Rest[Combinatorica`Private`cycles]]], Do[CompoundExpression[Set[Combinatorica`Private`c, First[Select[Combinatorica`Private`cycles, Function[UnsameQ[Intersection[Combinatorica`Private`euler, Slot[1]], List[]]]]]], Set[Combinatorica`Private`v, First[Intersection[Combinatorica`Private`euler, Combinatorica`Private`c]]], Set[Combinatorica`Private`euler, Join[RotateLeft[Combinatorica`Private`c, Part[Position[Combinatorica`Private`c, Combinatorica`Private`v], 1, 1]], RotateLeft[Combinatorica`Private`euler, Part[Position[Combinatorica`Private`euler, Combinatorica`Private`v], 1, 1]]]], Set[Combinatorica`Private`cycles, Sort[DeleteCases[Combinatorica`Private`cycles, Combinatorica`Private`c, List[1], 1]]]], List[Length[Combinatorica`Private`cycles]]], Append[Combinatorica`Private`euler, First[Combinatorica`Private`euler]]]], EulerianQ[Combinatorica`Private`g]]], RuleDelayed[EulerianCycle[Pattern[Combinatorica`Private`g, Blank[Graph]]], List[]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EulerianCycle\"]], False]", "msgs": [], "secs": 0.045} +{"i": 314, "status": "ok", "out": "List[7, 2, 8, 1, 5, 4, 6, 3, 7, 4, 8, 3, 5, 2, 6, 1, 7]", "msgs": [], "secs": 0.003} +{"i": 315, "status": "ok", "out": "List[10, 11, 12, 9, 13, 14, 15, 16, 13, 1, 2, 14, 10, 6, 2, 3, 15, 11, 7, 3, 4, 16, 12, 8, 4, 1, 5, 6, 7, 8, 5, 9, 10]", "msgs": [], "secs": 0.009000000000000001} +{"i": 316, "status": "ok", "out": "Null", "msgs": [], "secs": 0.024} +{"i": 317, "status": "ok", "out": "List[List[24, Null], List[342, Null], List[81, Null], List[5917, Null], List[704, Null]]", "msgs": [], "secs": 0.083} +{"i": 318, "status": "ok", "out": "List[List[81, Null], List[303, Null], List[1064, Null], List[7946, Null], List[24440, Null]]", "msgs": [], "secs": 0.625} +{"i": 319, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 320, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 321, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`DeBruijnGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DeBruijnGraph, List[RuleDelayed[DeBruijnGraph[PatternTest[Pattern[Combinatorica`Private`m, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Block[List[Combinatorica`Private`alph, Combinatorica`Private`states, Combinatorica`Private`s, Combinatorica`Private`i, Combinatorica`Private`j], CompoundExpression[Set[Combinatorica`Private`alph, Table[Combinatorica`Private`i, List[Combinatorica`Private`i, 0, Plus[Combinatorica`Private`m, -1]]]], Set[Combinatorica`Private`states, Strings[Combinatorica`Private`alph, Combinatorica`Private`n]], Set[Combinatorica`Private`s, Length[Combinatorica`Private`states]], Graph[Flatten[Table[Table[List[List[Combinatorica`Private`i, Part[Position[Combinatorica`Private`states, Append[Rest[Part[Combinatorica`Private`states, Combinatorica`Private`i]], Part[Combinatorica`Private`alph, Combinatorica`Private`j]]], 1, 1]]], List[Combinatorica`Private`j, Length[Combinatorica`Private`alph]]], List[Combinatorica`Private`i, Combinatorica`Private`s]], 1], CircularEmbedding[Combinatorica`Private`s], Rule[EdgeDirection, True]]]]], RuleDelayed[DeBruijnGraph[Pattern[Combinatorica`Private`alph, Blank[List]], PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[Module[List[Combinatorica`Private`label, Set[Combinatorica`Private`nalpha, Union[Combinatorica`Private`alph]]], CompoundExpression[Set[Combinatorica`Private`label, ReplaceAll[VertexLabel, Flatten[List[Combinatorica`Private`opts, Options[DeBruijnGraph]]]]], If[Or[SameQ[Combinatorica`Private`label, True], SameQ[Combinatorica`Private`label, On]], SetVertexLabels[DeBruijnGraph[Length[Combinatorica`Private`nalpha], Combinatorica`Private`n], Map[Function[Apply[StringJoin, Map[ToString, Slot[1]]]], Strings[Combinatorica`Private`nalpha, Combinatorica`Private`n]]], DeBruijnGraph[Length[Combinatorica`Private`nalpha], Combinatorica`Private`n]]]], Unequal[Combinatorica`Private`alph, List[]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DeBruijnGraph\"]], False]", "msgs": [], "secs": 0.041} +{"i": 322, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 323, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 324, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 325, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 326, "status": "msg", "out": "Part[List[\"000\", \"001\", \"010\", \"011\", \"100\", \"101\", \"110\", \"111\"], List[8, 15, 13, 10, 4, 7, 14, 11, 6, 12, 8, 16, 16, 15, 14, 12, 7, 13, 9, 2, 3, 6, 11, 5, 10, 3, 5, 9, 1, 1, 2, 4, 8]]", "msgs": ["Part::partw"], "secs": 0.019} +{"i": 327, "status": "ok", "out": "List[List[17, Null], List[26, Null], List[68, Null], List[241, Null], List[1012, Null], List[3589, Null], List[13657, Null], List[58442, Null]]", "msgs": [], "secs": 0.8280000000000001} +{"i": 328, "status": "ok", "out": "List[List[15, Null], List[26, Null], List[79, Null], List[368, Null], List[1034, Null], List[3557, Null], List[14414, Null], List[70397, Null]]", "msgs": [], "secs": 1.34} +{"i": 329, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"HamiltonianCycle\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a Hamiltonian cycle in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) if one exists. \\n\\!\\(\\*RowBox[{\\\"HamiltonianCycle\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", \\\"All\\\"}], \\\"]\\\"}]\\) gives all Hamiltonian cycles of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, HamiltonianCycle, List[RuleDelayed[HamiltonianCycle[Pattern[Combinatorica`Private`g, Blank[Graph]], Optional[Pattern[Combinatorica`Private`flag, Blank[]], One]], Module[List[Set[Combinatorica`Private`s, List[1]], Set[Combinatorica`Private`all, List[]], Combinatorica`Private`done, Set[Combinatorica`Private`adj, Edges[Combinatorica`Private`g]], Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`x, Combinatorica`Private`v, Combinatorica`Private`ind, Set[Combinatorica`Private`n, V[Combinatorica`Private`g]]], CompoundExpression[If[Less[Combinatorica`Private`n, 3], Return[List[]]], Set[Combinatorica`Private`ind, Table[1, List[Combinatorica`Private`n]]], While[Greater[Length[Combinatorica`Private`s], 0], CompoundExpression[Set[Combinatorica`Private`v, Last[Combinatorica`Private`s]], Set[Combinatorica`Private`done, False], While[And[LessEqual[Part[Combinatorica`Private`ind, Combinatorica`Private`v], Length[Part[Combinatorica`Private`e, Combinatorica`Private`v]]], Not[Combinatorica`Private`done]], CompoundExpression[Set[Combinatorica`Private`x, Part[Combinatorica`Private`e, Combinatorica`Private`v, Increment[Part[Combinatorica`Private`ind, Combinatorica`Private`v]]]], Set[Combinatorica`Private`done, And[Not[MemberQ[Combinatorica`Private`s, Combinatorica`Private`x]], Or[Equal[Length[Combinatorica`Private`s], 1], BiconnectedQ[DeleteVertices[AddEdges[Combinatorica`Private`g, List[List[1, Combinatorica`Private`x]]], Rest[Combinatorica`Private`s]]]]]]]], If[Combinatorica`Private`done, AppendTo[Combinatorica`Private`s, Combinatorica`Private`x], CompoundExpression[Set[Combinatorica`Private`s, Drop[Combinatorica`Private`s, -1]], Set[Part[Combinatorica`Private`ind, Combinatorica`Private`v], 1]]], If[Equal[Length[Combinatorica`Private`s], Combinatorica`Private`n], If[MemberQ[Combinatorica`Private`adj, Sort[List[Combinatorica`Private`x, 1]]], CompoundExpression[AppendTo[Combinatorica`Private`all, Append[Combinatorica`Private`s, First[Combinatorica`Private`s]]], If[SameQ[Combinatorica`Private`flag, All], Set[Combinatorica`Private`s, Drop[Combinatorica`Private`s, -1]], CompoundExpression[Set[Combinatorica`Private`all, Flatten[Combinatorica`Private`all]], Set[Combinatorica`Private`s, List[]]]]], Set[Combinatorica`Private`s, Drop[Combinatorica`Private`s, -1]]]]]], Combinatorica`Private`all]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`HamiltonianCycle\"]], False]", "msgs": [], "secs": 0.051000000000000004} +{"i": 330, "status": "ok", "out": "List[List[1, 4, 2, 5, 3, 6, 1], List[1, 4, 2, 6, 3, 5, 1], List[1, 4, 3, 5, 2, 6, 1], List[1, 4, 3, 6, 2, 5, 1], List[1, 5, 2, 4, 3, 6, 1], List[1, 5, 2, 6, 3, 4, 1], List[1, 5, 3, 4, 2, 6, 1], List[1, 5, 3, 6, 2, 4, 1], List[1, 6, 2, 4, 3, 5, 1], List[1, 6, 2, 5, 3, 4, 1], List[1, 6, 3, 4, 2, 5, 1], List[1, 6, 3, 5, 2, 4, 1]]", "msgs": [], "secs": 0.045} +{"i": 331, "status": "ok", "out": "", "msgs": [], "secs": 0.014} +{"i": 332, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 7, 1]", "msgs": [], "secs": 0.006} +{"i": 333, "status": "ok", "out": "List[1, 2, 3, 4, 5, 10, 9, 8, 7, 6, 11, 12, 13, 14, 15, 20, 19, 18, 17, 16, 21, 22, 23, 24, 25, 1]", "msgs": [], "secs": 0.05} +{"i": 334, "status": "ok", "out": "List[]", "msgs": [], "secs": 1.823} +{"i": 335, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 336, "status": "ok", "out": "List[List[651, Null], List[782, Null], List[88179, Null], List[3332, Null]]", "msgs": [], "secs": 1.053} +{"i": 337, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 338, "status": "ok", "out": "List[List[0, Null], List[0, Null], List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 339, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns random real weights in the range \\!\\(\\*RowBox[{\\\"[\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\"}], \\\"]\\\"}]\\) to edges in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns edge weights to the edges in the edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges in edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SetEdgeWeights, List[RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g]], Combinatorica`Private`myfn, Combinatorica`Private`myrange], CompoundExpression[Set[List[Combinatorica`Private`myfn, Combinatorica`Private`myrange], ReplaceAll[List[WeightingFunction, WeightRange], Flatten[List[Combinatorica`Private`opts, Options[SetEdgeWeights]]]]], Switch[Combinatorica`Private`myfn, Random, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomReal[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], RandomInteger, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomInteger[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], Alternatives[Euclidean, LNorm[Blank[]]], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Combinatorica`Private`Distance[Part[Combinatorica`Private`v, Slot[1]], Combinatorica`Private`myfn]]]], Combinatorica`Private`e]], Blank[], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Apply[Combinatorica`Private`myfn, Transpose[List[Slot[1], Part[Combinatorica`Private`v, Slot[1]]]]]]]], Combinatorica`Private`e]]]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`opts]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], Condition[SetGraphOptions[Combinatorica`Private`g, MapIndexed[Function[List[Slot[1], Rule[EdgeWeight, Part[Combinatorica`Private`weights, First[Slot[2]]]]]], If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Combinatorica`Private`e], Combinatorica`Private`e]]], Equal[Length[Combinatorica`Private`weights], Length[Combinatorica`Private`e]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`weights]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[WeightingFunction, Random], Rule[WeightRange, List[0, 1]]]], Rule[\"Attributes\", List[Pro...", "msgs": [], "secs": 0.023} +{"i": 340, "status": "ok", "out": "List[List[List[1, 2], 81330], List[List[2, 3], 76382], List[List[3, 4], 53507], List[List[4, 5], 33030], List[List[6, 7], 97469], List[List[7, 8], 65132], List[List[8, 9], 30375], List[List[9, 10], 49767], List[List[11, 12], 2251], List[List[12, 13], 13213], List[List[13, 14], 15350], List[List[14, 15], 20843], List[List[16, 17], 28369], List[List[17, 18], 67000], List[List[18, 19], 61566], List[List[19, 20], 73776], List[List[21, 22], 22862], List[List[22, 23], 90922], List[List[23, 24], 71499], List[List[24, 25], 18498], List[List[1, 6], 75573], List[List[2, 7], 72971], List[List[3, 8], 20724], List[List[4, 9], 47426], List[List[5, 10], 41477], List[List[6, 11], 91452], List[List[7, 12], 88761], List[List[8, 13], 41943], List[List[9, 14], 31744], List[List[10, 15], 9575], List[List[11, 16], 89070], List[List[12, 17], 75049], List[List[13, 18], 89825], List[List[14, 19], 29787], List[List[15, 20], 94990], List[List[16, 21], 20391], List[List[17, 22], 4750], List[List[18, 23], 63698], List[List[19, 24], 33701], List[List[20, 25], 93377]]", "msgs": [], "secs": 0.002} +{"i": 341, "status": "ok", "out": "List[List[List[1, 2], 17], List[List[2, 3], 10], List[List[3, 4], 15], List[List[4, 5], 19], List[List[6, 7], 13], List[List[7, 8], 16], List[List[8, 9], 15], List[List[9, 10], 17], List[List[11, 12], 20], List[List[12, 13], 20], List[List[13, 14], 20], List[List[14, 15], 15], List[List[16, 17], 19], List[List[17, 18], 12], List[List[18, 19], 16], List[List[19, 20], 17], List[List[21, 22], 15], List[List[22, 23], 10], List[List[23, 24], 11], List[List[24, 25], 20], List[List[1, 6], 11], List[List[2, 7], 12], List[List[3, 8], 11], List[List[4, 9], 10], List[List[5, 10], 19], List[List[6, 11], 14], List[List[7, 12], 18], List[List[8, 13], 17], List[List[9, 14], 12], List[List[10, 15], 18], List[List[11, 16], 13], List[List[12, 17], 15], List[List[13, 18], 20], List[List[14, 19], 19], List[List[15, 20], 12], List[List[16, 21], 10], List[List[17, 22], 14], List[List[18, 23], 16], List[List[19, 24], 20], List[List[20, 25], 13]]", "msgs": [], "secs": 0.002} +{"i": 342, "status": "ok", "out": "List[List[List[1, 2], 720202], List[List[2, 3], 929658], List[List[3, 4], -197246], List[List[4, 5], 254593], List[List[6, 7], -903520], List[List[7, 8], -227511], List[List[8, 9], -397912], List[List[9, 10], 101337], List[List[11, 12], 164753], List[List[12, 13], -870512], List[List[13, 14], -773018], List[List[14, 15], -475655], List[List[16, 17], 640962], List[List[17, 18], 255970], List[List[18, 19], 185758], List[List[19, 20], -341450], List[List[21, 22], -886081], List[List[22, 23], 502707], List[List[23, 24], -530258], List[List[24, 25], 858401], List[List[1, 6], -133402], List[List[2, 7], 930550], List[List[3, 8], -178355], List[List[4, 9], -902354], List[List[5, 10], -778379], List[List[6, 11], -827840], List[List[7, 12], 818236], List[List[8, 13], -693111], List[List[9, 14], 680956], List[List[10, 15], 984137], List[List[11, 16], 993281], List[List[12, 17], -18198], List[List[13, 18], 168206], List[List[14, 19], 141069], List[List[15, 20], 467925], List[List[16, 21], -591915], List[List[17, 22], 124370], List[List[18, 23], 401882], List[List[19, 24], -413622], List[List[20, 25], -128349]]", "msgs": [], "secs": 0.002} +{"i": 343, "status": "ok", "out": "List[List[List[1, 2], 100000], List[List[2, 3], 100000], List[List[4, 5], 100000], List[List[5, 6], 100000], List[List[7, 8], 100000], List[List[8, 9], 100000], List[List[1, 4], 100000], List[List[2, 5], 100000], List[List[3, 6], 100000], List[List[4, 7], 100000], List[List[5, 8], 100000], List[List[6, 9], 100000]]", "msgs": [], "secs": 0.001} +{"i": 344, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 345, "status": "ok", "out": "List[61803, 61803, 200000, 61803, 190211, 161803, 117557, 161803, 190211, 117557, 61803, 61803, 190211, 200000, 61803]", "msgs": [], "secs": 0.016} +{"i": 346, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetVertexWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns random real weights in the range \\!\\(\\*RowBox[{\\\"[\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\"}], \\\"]\\\"}]\\) to vertices in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetVertexWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the vertices of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetVertexWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"vs\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the vertices in the vertex list \\!\\(\\*StyleBox[\\\"vs\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SetVertexWeights, List[RuleDelayed[SetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g]], Combinatorica`Private`myfn, Combinatorica`Private`myrange, Combinatorica`Private`i], CompoundExpression[Set[List[Combinatorica`Private`myfn, Combinatorica`Private`myrange], ReplaceAll[List[WeightingFunction, WeightRange], Flatten[List[Combinatorica`Private`opts, Options[SetVertexWeights]]]]], Switch[Combinatorica`Private`myfn, Random, SetGraphOptions[Combinatorica`Private`g, Table[List[Combinatorica`Private`i, Rule[VertexWeight, RandomReal[Combinatorica`Private`myrange]]], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]], RandomInteger, SetGraphOptions[Combinatorica`Private`g, Table[List[Combinatorica`Private`i, Rule[VertexWeight, RandomInteger[Combinatorica`Private`myrange]]], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]], Blank[], SetGraphOptions[Combinatorica`Private`g, Table[List[Combinatorica`Private`i, Rule[VertexWeight, Apply[Combinatorica`Private`myfn, List[Combinatorica`Private`i, Part[Combinatorica`Private`v, Combinatorica`Private`i]]]]], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]]]]]], RuleDelayed[SetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`vs, List[RepeatedNull[Blank[Integer]]]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], Condition[SetGraphOptions[Combinatorica`Private`g, MapIndexed[Function[List[Slot[1], Rule[VertexWeight, Part[Combinatorica`Private`weights, First[Slot[2]]]]]], Combinatorica`Private`vs]], Equal[Length[Combinatorica`Private`weights], Length[Combinatorica`Private`vs]]]], RuleDelayed[SetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], SetVertexWeights[Combinatorica`Private`g, Range[V[Combinatorica`Private`g]], Combinatorica`Private`weights]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[WeightingFunction, Random], Rule[WeightRange, List[0, 1]]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SetVertexWeights\"]], False]", "msgs": [], "secs": 0.023} +{"i": 347, "status": "ok", "out": "GetVertexWeights[SetVertexWeights[Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[4, 5]], List[List[5, 6]], List[List[7, 8]], List[List[8, 9]], List[List[1, 4]], List[List[2, 5]], List[List[3, 6]], List[List[4, 7]], List[List[5, 8]], List[List[6, 9]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]]]], Random, Integer, List[10, 20]]]", "msgs": [], "secs": 0.0} +{"i": 348, "status": "ok", "out": "List[4404, 68382, 41982, 19161, 72645, 60964, 71952, 34929, 86833]", "msgs": [], "secs": 0.001} +{"i": 349, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"GetEdgeWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the list of weights of the edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"GetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the list of weights in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) of the edges in \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GetEdgeWeights, List[RuleDelayed[GetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`el, List[RepeatedNull[List[List[Blank[Integer], Blank[Integer]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Map[Function[ReplaceAll[EdgeWeight, Flatten[List[Rest[Slot[1]], GraphOptions[Combinatorica`Private`g], Options[Graph]]]]], Combinatorica`Private`el]], RuleDelayed[GetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`el, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]]], Module[List[Set[Combinatorica`Private`nel, If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Combinatorica`Private`el], Combinatorica`Private`el]]], GetEdgeWeights[Combinatorica`Private`g, Select[Edges[Combinatorica`Private`g, All], Function[MemberQ[Combinatorica`Private`nel, Part[Slot[1], 1]]]]]]], RuleDelayed[GetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]]], GetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g, All]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GetEdgeWeights\"]], False]", "msgs": [], "secs": 0.022} +{"i": 350, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 351, "status": "ok", "out": "List[4, 9, 0, 0, 3, 2, 7, 6, 5, 6, 9, 6, 6, 6, 4, 4, 7, 7, 1, 7, 9, 6, 4, 8, 0, 8, 1, 5, 10, 3, 8, 4, 8, 2, 6, 3, 9, 4, 3, 3]", "msgs": [], "secs": 0.0} +{"i": 352, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"GetVertexWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the list of weights of vertices of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"GetVertexWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the list of weights in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) of the vertices in \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GetVertexWeights, List[RuleDelayed[GetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`el, List[RepeatedNull[List[List[PatternTest[Blank[], NumericQ], PatternTest[Blank[], NumericQ]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Map[Function[ReplaceAll[VertexWeight, Flatten[List[Rest[Slot[1]], GraphOptions[Combinatorica`Private`g], Options[Graph]]]]], Combinatorica`Private`el]], RuleDelayed[GetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`el, List[RepeatedNull[Blank[Integer]]]]], GetVertexWeights[Combinatorica`Private`g, Part[Vertices[Combinatorica`Private`g, All], Combinatorica`Private`el]]], RuleDelayed[GetVertexWeights[Pattern[Combinatorica`Private`g, Blank[Graph]]], GetVertexWeights[Combinatorica`Private`g, Vertices[Combinatorica`Private`g, All]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GetVertexWeights\"]], False]", "msgs": [], "secs": 0.02} +{"i": 353, "status": "ok", "out": "List[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]", "msgs": [], "secs": 0.0} +{"i": 354, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 355, "status": "ok", "out": "GetVertexWeights[SetVertexWeights[Graph[List[List[List[1, 2], Rule[EdgeWeight, 4]], List[List[2, 3], Rule[EdgeWeight, 9]], List[List[3, 4], Rule[EdgeWeight, 0]], List[List[4, 5], Rule[EdgeWeight, 0]], List[List[6, 7], Rule[EdgeWeight, 3]], List[List[7, 8], Rule[EdgeWeight, 2]], List[List[8, 9], Rule[EdgeWeight, 7]], List[List[9, 10], Rule[EdgeWeight, 6]], List[List[11, 12], Rule[EdgeWeight, 5]], List[List[12, 13], Rule[EdgeWeight, 6]], List[List[13, 14], Rule[EdgeWeight, 9]], List[List[14, 15], Rule[EdgeWeight, 6]], List[List[16, 17], Rule[EdgeWeight, 6]], List[List[17, 18], Rule[EdgeWeight, 6]], List[List[18, 19], Rule[EdgeWeight, 4]], List[List[19, 20], Rule[EdgeWeight, 4]], List[List[21, 22], Rule[EdgeWeight, 7]], List[List[22, 23], Rule[EdgeWeight, 7]], List[List[23, 24], Rule[EdgeWeight, 1]], List[List[24, 25], Rule[EdgeWeight, 7]], List[List[1, 6], Rule[EdgeWeight, 9]], List[List[2, 7], Rule[EdgeWeight, 6]], List[List[3, 8], Rule[EdgeWeight, 4]], List[List[4, 9], Rule[EdgeWeight, 8]], List[List[5, 10], Rule[EdgeWeight, 0]], List[List[6, 11], Rule[EdgeWeight, 8]], List[List[7, 12], Rule[EdgeWeight, 1]], List[List[8, 13], Rule[EdgeWeight, 5]], List[List[9, 14], Rule[EdgeWeight, 10]], List[List[10, 15], Rule[EdgeWeight, 3]], List[List[11, 16], Rule[EdgeWeight, 8]], List[List[12, 17], Rule[EdgeWeight, 4]], List[List[13, 18], Rule[EdgeWeight, 8]], List[List[14, 19], Rule[EdgeWeight, 2]], List[List[15, 20], Rule[EdgeWeight, 6]], List[List[16, 21], Rule[EdgeWeight, 3]], List[List[17, 22], Rule[EdgeWeight, 9]], List[List[18, 23], Rule[EdgeWeight, 4]], List[List[19, 24], Rule[EdgeWeight, 3]], List[List[20, 25], Rule[EdgeWeight, 3]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[400000, 100000]], List[List[500000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[400000, 200000]], List[List[500000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]], List[List[400000, 300000]], List[List[500000, 300000]], List[List[100000, 400000]], List[List[200000, 400000]], List[List[300000, 400000]], List[List[400000, 400000]], List[List[500000, 400000]], List[List[100000, 500000]], List[List[200000, 500000]], List[List[300000, 500000]], List[List[400000, 500000]], List[List[500000, 500000]]]], Random, Integer, List[100, 200]]]", "msgs": [], "secs": 0.0} +{"i": 356, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CostOfPath\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"p\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) sums up the weights of the edges in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) defined by the path \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CostOfPath, List[RuleDelayed[CostOfPath[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`p, Blank[List]]], Block[List[Set[Combinatorica`Private`w, GetEdgeWeights[Combinatorica`Private`g]], Combinatorica`Private`pos], CompoundExpression[If[UndirectedQ[Combinatorica`Private`g], Set[Combinatorica`Private`pos, Map[Function[Position[Map[Sort, Edges[Combinatorica`Private`g]], Slot[1]]], Map[Sort, Partition[Combinatorica`Private`p, 2, 1]]]], Set[Combinatorica`Private`pos, Map[Function[Position[Edges[Combinatorica`Private`g], Slot[1]]], Partition[Combinatorica`Private`p, 2, 1]]]], If[MemberQ[Combinatorica`Private`pos, List[]], Infinity, Apply[Plus, Part[Combinatorica`Private`w, Map[Function[Part[Slot[1], 1, 1]], Combinatorica`Private`pos]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CostOfPath\"]], False]", "msgs": [], "secs": 0.02} +{"i": 357, "status": "ok", "out": "Graph[List[List[List[1, 2], Rule[EdgeWeight, 1]], List[List[2, 3], Rule[EdgeWeight, 2]], List[List[3, 4], Rule[EdgeWeight, 1]], List[List[5, 6], Rule[EdgeWeight, 5]], List[List[6, 7], Rule[EdgeWeight, 3]], List[List[7, 8], Rule[EdgeWeight, 5]], List[List[9, 10], Rule[EdgeWeight, 2]], List[List[10, 11], Rule[EdgeWeight, 3]], List[List[11, 12], Rule[EdgeWeight, 5]], List[List[13, 14], Rule[EdgeWeight, 5]], List[List[14, 15], Rule[EdgeWeight, 2]], List[List[15, 16], Rule[EdgeWeight, 4]], List[List[1, 5], Rule[EdgeWeight, 3]], List[List[2, 6], Rule[EdgeWeight, 5]], List[List[3, 7], Rule[EdgeWeight, 2]], List[List[4, 8], Rule[EdgeWeight, 1]], List[List[5, 9], Rule[EdgeWeight, 3]], List[List[6, 10], Rule[EdgeWeight, 4]], List[List[7, 11], Rule[EdgeWeight, 2]], List[List[8, 12], Rule[EdgeWeight, 3]], List[List[9, 13], Rule[EdgeWeight, 4]], List[List[10, 14], Rule[EdgeWeight, 2]], List[List[11, 15], Rule[EdgeWeight, 3]], List[List[12, 16], Rule[EdgeWeight, 1]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[400000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[400000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]], List[List[400000, 300000]], List[List[100000, 400000]], List[List[200000, 400000]], List[List[300000, 400000]], List[List[400000, 400000]]]]", "msgs": [], "secs": 0.001} +{"i": 358, "status": "ok", "out": "8", "msgs": [], "secs": 0.0} +{"i": 359, "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.0} +{"i": 360, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TravelingSalesman\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds an optimal traveling salesman tour in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TravelingSalesman, List[RuleDelayed[TravelingSalesman[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Combinatorica`Private`v, Set[Combinatorica`Private`s, List[1]], Set[Combinatorica`Private`sol, List[]], Combinatorica`Private`done, Combinatorica`Private`cost, Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]], Combinatorica`Private`x, Combinatorica`Private`ind, Combinatorica`Private`best, Set[Combinatorica`Private`n, V[Combinatorica`Private`g]]], CompoundExpression[Set[Combinatorica`Private`ind, Table[1, List[Combinatorica`Private`n]]], Set[Combinatorica`Private`best, Infinity], While[Greater[Length[Combinatorica`Private`s], 0], CompoundExpression[Set[Combinatorica`Private`v, Last[Combinatorica`Private`s]], Set[Combinatorica`Private`done, False], While[And[LessEqual[Part[Combinatorica`Private`ind, Combinatorica`Private`v], Length[Part[Combinatorica`Private`e, Combinatorica`Private`v]]], Not[Combinatorica`Private`done]], CompoundExpression[Set[Combinatorica`Private`x, Part[Combinatorica`Private`e, Combinatorica`Private`v, Increment[Part[Combinatorica`Private`ind, Combinatorica`Private`v]]]], Set[Combinatorica`Private`done, And[Greater[Combinatorica`Private`best, CostOfPath[Combinatorica`Private`g, Append[Combinatorica`Private`s, Combinatorica`Private`x]]], Not[MemberQ[Combinatorica`Private`s, Combinatorica`Private`x]]]]]], If[Combinatorica`Private`done, AppendTo[Combinatorica`Private`s, Combinatorica`Private`x], CompoundExpression[Set[Combinatorica`Private`s, Drop[Combinatorica`Private`s, -1]], Set[Part[Combinatorica`Private`ind, Combinatorica`Private`v], 1]]], If[Equal[Length[Combinatorica`Private`s], Combinatorica`Private`n], CompoundExpression[Set[Combinatorica`Private`cost, CostOfPath[Combinatorica`Private`g, Append[Combinatorica`Private`s, First[Combinatorica`Private`s]]]], If[Less[Combinatorica`Private`cost, Combinatorica`Private`best], CompoundExpression[Set[Combinatorica`Private`sol, Combinatorica`Private`s], Set[Combinatorica`Private`best, Combinatorica`Private`cost]]], Set[Combinatorica`Private`s, Drop[Combinatorica`Private`s, -1]]]]]], Append[Combinatorica`Private`sol, First[Combinatorica`Private`sol]]]], HamiltonianQ[Combinatorica`Private`g]]], RuleDelayed[TravelingSalesman[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Combinatorica`Private`$$dummy, CompoundExpression[Message[MessageName[TravelingSalesman, \"ham\"]], False]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TravelingSalesman\"]], False]", "msgs": [], "secs": 0.021} +{"i": 361, "status": "ok", "out": "Graph[List[List[List[1, 2], Rule[EdgeWeight, 2]], List[List[2, 3], Rule[EdgeWeight, 3]], List[List[3, 4], Rule[EdgeWeight, 1]], List[List[4, 5], Rule[EdgeWeight, 2]], List[List[5, 6], Rule[EdgeWeight, 3]], List[List[6, 7], Rule[EdgeWeight, 1]], List[List[7, 8], Rule[EdgeWeight, 2]], List[List[8, 9], Rule[EdgeWeight, 3]], List[List[9, 10], Rule[EdgeWeight, 3]], List[List[1, 10], Rule[EdgeWeight, 2]]], List[List[List[80902, 58779]], List[List[30902, 95106]], List[List[-30902, 95106]], List[List[-80902, 58779]], List[List[-100000, 0]], List[List[-80902, -58779]], List[List[-30902, -95106]], List[List[30902, -95106]], List[List[80902, -58779]], List[List[100000, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 362, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1]", "msgs": [], "secs": 0.006} +{"i": 363, "status": "ok", "out": "List[47, 11, 5, 11, 100, 37]", "msgs": [], "secs": 0.0} +{"i": 364, "status": "ok", "out": "List[1, 2, 3, 4, 1]", "msgs": [], "secs": 0.002} +{"i": 365, "status": "ok", "out": "List[100000, 100000, 100000, 100000, 100000, 117557, 117557, 117557, 117557, 117557]", "msgs": [], "secs": 0.001} +{"i": 366, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 1]", "msgs": [], "secs": 0.015} +{"i": 367, "status": "ok", "out": "670228", "msgs": [], "secs": 0.0} +{"i": 368, "status": "ok", "out": "DirectedInfinity[1]", "msgs": [], "secs": 0.0} +{"i": 369, "status": "ok", "out": "670228", "msgs": [], "secs": 0.0} +{"i": 370, "status": "ok", "out": "Null", "msgs": [], "secs": 0.002} +{"i": 371, "status": "ok", "out": "List[List[977, Null], List[7888, Null], List[47791, Null], List[167408, Null]]", "msgs": [], "secs": 4.8790000000000004} +{"i": 372, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TriangleInequalityQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the weights assigned to the edges of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) satisfy the triangle inequality.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TriangleInequalityQ, List[RuleDelayed[TriangleInequalityQ[PatternTest[Pattern[Combinatorica`Private`e, Blank[]], Combinatorica`Private`squareMatrixQ]], Module[List[Combinatorica`Private`i, Combinatorica`Private`j, Combinatorica`Private`k, Set[Combinatorica`Private`n, Length[Combinatorica`Private`e]], Set[Combinatorica`Private`flag, True]], CompoundExpression[Do[If[And[Unequal[Part[Combinatorica`Private`e, Combinatorica`Private`i, Combinatorica`Private`k], 0], Unequal[Part[Combinatorica`Private`e, Combinatorica`Private`k, Combinatorica`Private`j], 0], Unequal[Part[Combinatorica`Private`e, Combinatorica`Private`i, Combinatorica`Private`j], 0]], If[Less[Plus[Part[Combinatorica`Private`e, Combinatorica`Private`i, Combinatorica`Private`k], Part[Combinatorica`Private`e, Combinatorica`Private`k, Combinatorica`Private`j]], Part[Combinatorica`Private`e, Combinatorica`Private`i, Combinatorica`Private`j]], CompoundExpression[Set[Combinatorica`Private`flag, False], Null]]], List[Combinatorica`Private`i, Combinatorica`Private`n], List[Combinatorica`Private`j, Combinatorica`Private`n], List[Combinatorica`Private`k, Combinatorica`Private`n]], Combinatorica`Private`flag]]], RuleDelayed[TriangleInequalityQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Block[List[Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], Set[Combinatorica`Private`w, GetEdgeWeights[Combinatorica`Private`g]], Set[Combinatorica`Private`m, Table[0, List[V[Combinatorica`Private`g]], List[V[Combinatorica`Private`g]]]], Combinatorica`Private`i], CompoundExpression[If[UndirectedQ[Combinatorica`Private`g], CompoundExpression[Set[Combinatorica`Private`e, Combinatorica`Private`Double[Combinatorica`Private`e]], Set[Combinatorica`Private`w, Join[Combinatorica`Private`w, Combinatorica`Private`w]]]], Do[Set[Part[Combinatorica`Private`m, Part[Combinatorica`Private`e, Combinatorica`Private`i, 1], Part[Combinatorica`Private`e, Combinatorica`Private`i, 2]], Part[Combinatorica`Private`w, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Combinatorica`Private`e]]], TriangleInequalityQ[Combinatorica`Private`m]]], SimpleQ[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TriangleInequalityQ\"]], False]", "msgs": [], "secs": 0.226} +{"i": 373, "status": "ok", "out": "List[11864, 42649, 80830, 75105]", "msgs": [], "secs": 0.025} +{"i": 374, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 375, "status": "ok", "out": "List[83997, 66562, 52884, 94488, 99104, 5235, 6406, 83828, 3700, 60118]", "msgs": [], "secs": 0.005} +{"i": 376, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 377, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]], List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]]]", "msgs": [], "secs": 0.001} +{"i": 378, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 379, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.17200000000000001} +{"i": 380, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 381, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TravelingSalesmanBounds\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives upper and lower bounds on a minimum-cost traveling salesman tour of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TravelingSalesmanBounds, List[RuleDelayed[TravelingSalesmanBounds[Pattern[Combinatorica`Private`g, Blank[Graph]]], List[Combinatorica`Private`LowerBoundTSP[Combinatorica`Private`g], Combinatorica`Private`UpperBoundTSP[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TravelingSalesmanBounds\"]], False]", "msgs": [], "secs": 0.11900000000000001} +{"i": 382, "status": "ok", "out": "List[5, 5]", "msgs": [], "secs": 0.002} +{"i": 383, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TransitiveClosure\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds the transitive closure of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\), the supergraph of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) that contains edge \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) if and only if there is a path from \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) to \\!\\(\\*StyleBox[\\\"y\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TransitiveClosure, List[RuleDelayed[TransitiveClosure[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Combinatorica`Private`g, EmptyQ[Combinatorica`Private`g]]], RuleDelayed[TransitiveClosure[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, ToAdjacencyMatrix[Combinatorica`Private`g]]], If[UndirectedQ[Combinatorica`Private`g], FromAdjacencyMatrix[Combinatorica`Private`TC[Combinatorica`Private`e], Vertices[Combinatorica`Private`g, All]], FromAdjacencyMatrix[Combinatorica`Private`TC[Combinatorica`Private`e], Vertices[Combinatorica`Private`g, All], Rule[Type, Directed]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TransitiveClosure\"]], False]", "msgs": [], "secs": 0.061} +{"i": 384, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.002} +{"i": 385, "status": "ok", "out": "List[List[1, 2], List[1, 3], List[1, 4], List[2, 3], List[2, 4], List[3, 4]]", "msgs": [], "secs": 0.0} +{"i": 386, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 387, "status": "ok", "out": "List[List[1, 1], List[1, 2], List[1, 3], List[1, 4], List[2, 2], List[2, 3], List[2, 4], List[3, 3], List[3, 4], List[4, 4]]", "msgs": [], "secs": 0.0} +{"i": 388, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 389, "status": "ok", "out": "Null", "msgs": [], "secs": 0.004} +{"i": 390, "status": "ok", "out": "List[3488, Null]", "msgs": [], "secs": 0.079} +{"i": 391, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TransitiveQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) defines a transitive relation.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TransitiveQ, List[RuleDelayed[TransitiveQ[PatternTest[Pattern[Combinatorica`Private`r, Blank[]], Combinatorica`Private`squareMatrixQ]], TransitiveQ[FromAdjacencyMatrix[Combinatorica`Private`r, Rule[Type, Directed]]]], RuleDelayed[TransitiveQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], IdenticalQ[Combinatorica`Private`g, TransitiveClosure[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TransitiveQ\"]], False]", "msgs": [], "secs": 0.068} +{"i": 392, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Further output of `1` will be suppressed during this calculation.\"", "\"Uncaught `1` returned to top level.\"", "\"Further output of `1` will be suppressed during this calculation.\""], "secs": 0.10200000000000001} +{"i": 393, "status": "ok", "out": "False", "msgs": [], "secs": 0.08600000000000001} +{"i": 394, "status": "ok", "out": "True", "msgs": [], "secs": 0.321} +{"i": 395, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 396, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.003} +{"i": 397, "status": "ok", "out": "", "msgs": [], "secs": 0.181} +{"i": 398, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ReflexiveQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the adjacency matrix of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) represents a reflexive binary relation.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ReflexiveQ, List[RuleDelayed[ReflexiveQ[PatternTest[Pattern[Combinatorica`Private`r, Blank[]], Combinatorica`Private`squareMatrixQ]], Module[List[Combinatorica`Private`i], Apply[And, Table[Unequal[Part[Combinatorica`Private`r, Combinatorica`Private`i, Combinatorica`Private`i], 0], List[Combinatorica`Private`i, Length[Combinatorica`Private`r]]]]]], RuleDelayed[ReflexiveQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[False, Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[ReflexiveQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], Combinatorica`Private`i], Apply[And, Table[MemberQ[Combinatorica`Private`e, List[Combinatorica`Private`i, Combinatorica`Private`i]], List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ReflexiveQ\"]], False]", "msgs": [], "secs": 0.10200000000000001} +{"i": 399, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 400, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 401, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 402, "status": "ok", "out": "Null", "msgs": [], "secs": 0.006} +{"i": 403, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 404, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AntiSymmetricQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the adjacency matrix of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) represents an anti-symmetric binary relation.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AntiSymmetricQ, List[RuleDelayed[AntiSymmetricQ[PatternTest[Pattern[Combinatorica`Private`r, Blank[]], Combinatorica`Private`squareMatrixQ]], Apply[And, Flatten[Table[Unequal[Part[Combinatorica`Private`r, Combinatorica`Private`i, Combinatorica`Private`j], Part[Combinatorica`Private`r, Combinatorica`Private`j, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Combinatorica`Private`r]], List[Combinatorica`Private`j, Plus[Combinatorica`Private`i, -1]]], 1]]], RuleDelayed[AntiSymmetricQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Set[Combinatorica`Private`e, Edges[RemoveSelfLoops[Combinatorica`Private`g]]]], Apply[And, Map[Function[Not[MemberQ[Combinatorica`Private`e, Reverse[Slot[1]]]]], Combinatorica`Private`e]]], Not[UndirectedQ[Combinatorica`Private`g]]]], RuleDelayed[AntiSymmetricQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Equal[M[RemoveSelfLoops[Combinatorica`Private`g]], 0]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`AntiSymmetricQ\"]], False]", "msgs": [], "secs": 0.035} +{"i": 405, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.003} +{"i": 406, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 407, "status": "ok", "out": "", "msgs": [], "secs": 0.13} +{"i": 408, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 409, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"PartialOrderQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the binary relation defined by edges of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is a partial order, meaning it is transitive, reflexive and antisymmetric. \\n\\!\\(\\*RowBox[{\\\"PartialOrderQ\\\", \\\"[\\\", StyleBox[\\\"r\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if the binary relation defined by the square matrix \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\) is a partial order.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, PartialOrderQ, List[RuleDelayed[PartialOrderQ[PatternTest[Pattern[Combinatorica`Private`r, Blank[]], Combinatorica`Private`SquareMatrix]], And[ReflexiveQ[Combinatorica`Private`r], AntiSymmetricQ[Combinatorica`Private`r], TransitiveQ[Combinatorica`Private`r]]], RuleDelayed[PartialOrderQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], And[ReflexiveQ[Combinatorica`Private`g], AntiSymmetricQ[Combinatorica`Private`g], TransitiveQ[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`PartialOrderQ\"]], False]", "msgs": [], "secs": 0.037} +{"i": 410, "status": "ok", "out": "False", "msgs": [], "secs": 0.007} +{"i": 411, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 412, "status": "ok", "out": "List[List[1, 1], List[1, 2], List[1, 3], List[1, 4], List[1, 5], List[1, 6], List[1, 7], List[1, 8], List[1, 9], List[2, 2], List[2, 3], List[2, 4], List[2, 5], List[2, 6], List[2, 7], List[2, 8], List[2, 9], List[3, 3], List[3, 4], List[3, 5], List[3, 6], List[3, 7], List[3, 8], List[3, 9], List[4, 4], List[4, 5], List[4, 6], List[4, 7], List[4, 8], List[4, 9], List[5, 5], List[5, 6], List[5, 7], List[5, 8], List[5, 9], List[6, 6], List[6, 7], List[6, 8], List[6, 9], List[7, 7], List[7, 8], List[7, 9], List[8, 8], List[8, 9], List[9, 9]]", "msgs": [], "secs": 0.0} +{"i": 413, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 414, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TransitiveReduction\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a smallest graph that has the same transitive closure as \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TransitiveReduction, List[RuleDelayed[TransitiveReduction[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Combinatorica`Private`g, EmptyQ[Combinatorica`Private`g]]], RuleDelayed[TransitiveReduction[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`closure, ToAdjacencyMatrix[Combinatorica`Private`g]]], If[UndirectedQ[Combinatorica`Private`g], FromAdjacencyMatrix[Combinatorica`Private`TR[Combinatorica`Private`closure], Vertices[Combinatorica`Private`g, All]], If[AcyclicQ[RemoveSelfLoops[Combinatorica`Private`g]], FromAdjacencyMatrix[Combinatorica`Private`TRAcyclic[Combinatorica`Private`closure], Vertices[Combinatorica`Private`g, All], Rule[Type, Directed]], FromAdjacencyMatrix[Combinatorica`Private`TR[Combinatorica`Private`closure], Vertices[Combinatorica`Private`g, All], Rule[Type, Directed]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TransitiveReduction\"]], False]", "msgs": [], "secs": 0.068} +{"i": 415, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.002} +{"i": 416, "status": "ok", "out": "", "msgs": [], "secs": 0.015} +{"i": 417, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 418, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 419, "status": "ok", "out": "", "msgs": [], "secs": 0.014} +{"i": 420, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`TopologicalSort\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TopologicalSort, List[RuleDelayed[TopologicalSort[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Range[V[Combinatorica`Private`g]], EmptyQ[Combinatorica`Private`g]]], RuleDelayed[TopologicalSort[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Module[List[Set[Combinatorica`Private`g1, RemoveSelfLoops[Combinatorica`Private`g]], Combinatorica`Private`e, Combinatorica`Private`indeg, Combinatorica`Private`zeros, Combinatorica`Private`v], CompoundExpression[Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g1]], Set[Combinatorica`Private`indeg, InDegree[Combinatorica`Private`g1]], Set[Combinatorica`Private`zeros, Flatten[Position[Combinatorica`Private`indeg, 0]]], Table[CompoundExpression[Set[List[Combinatorica`Private`v, Combinatorica`Private`zeros], List[First[Combinatorica`Private`zeros], Rest[Combinatorica`Private`zeros]]], Scan[Function[CompoundExpression[Decrement[Part[Combinatorica`Private`indeg, Slot[1]]], If[Equal[Part[Combinatorica`Private`indeg, Slot[1]], 0], AppendTo[Combinatorica`Private`zeros, Slot[1]]]]], Part[Combinatorica`Private`e, Combinatorica`Private`v]], Combinatorica`Private`v], List[V[Combinatorica`Private`g]]]]], And[AcyclicQ[RemoveSelfLoops[Combinatorica`Private`g]], Not[UndirectedQ[Combinatorica`Private`g]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TopologicalSort\"]], False]", "msgs": [], "secs": 0.058} +{"i": 421, "status": "msg", "out": "Hold[Throw[TerminatedEvaluation[\"RecursionLimit\"], TerminatedEvaluation[\"RecursionLimit\", 1024]]]", "msgs": ["\"Recursion depth of `1` exceeded.\"", "\"Uncaught `1` returned to top level.\""], "secs": 0.001} +{"i": 422, "status": "ok", "out": "ShowGraph[HasseDiagram[Graph[List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]]]]], Rule[VertexNumber, On]]", "msgs": [], "secs": 0.0} +{"i": 423, "status": "ok", "out": "TopologicalSort[Graph[List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]]]]]", "msgs": [], "secs": 0.0} +{"i": 424, "status": "ok", "out": "ShowGraph[ChangeEdges[Graph[List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]]]], List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]], List[List[9, 10]]]]]", "msgs": [], "secs": 0.0} +{"i": 425, "status": "ok", "out": "TopologicalSort[ChangeEdges[Graph[List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]]]], List[List[List[1, 1]], List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[1, 5]], List[List[1, 6]], List[List[1, 7]], List[List[1, 8]], List[List[1, 9]], List[List[2, 2]], List[List[2, 3]], List[List[2, 4]], List[List[2, 5]], List[List[2, 6]], List[List[2, 7]], List[List[2, 8]], List[List[2, 9]], List[List[3, 3]], List[List[3, 4]], List[List[3, 5]], List[List[3, 6]], List[List[3, 7]], List[List[3, 8]], List[List[3, 9]], List[List[4, 4]], List[List[4, 5]], List[List[4, 6]], List[List[4, 7]], List[List[4, 8]], List[List[4, 9]], List[List[5, 5]], List[List[5, 6]], List[List[5, 7]], List[List[5, 8]], List[List[5, 9]], List[List[6, 6]], List[List[6, 7]], List[List[6, 8]], List[List[6, 9]], List[List[7, 7]], List[List[7, 8]], List[List[7, 9]], List[List[8, 8]], List[List[8, 9]], List[List[9, 9]], List[List[9, 10]]]]]", "msgs": [], "secs": 0.0} +{"i": 426, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 427, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 428, "status": "ok", "out": "List[1, 2, 3, 5, 7, 11, 4, 6, 9, 10, 8, 12]", "msgs": [], "secs": 0.001} +{"i": 429, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`ChromaticPolynomial\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ChromaticPolynomial, List[RuleDelayed[ChromaticPolynomial[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`z, Blank[]]], Condition[ChromaticPolynomial[MakeSimple[Combinatorica`Private`g], Combinatorica`Private`z], Not[SimpleQ[Combinatorica`Private`g]]]], RuleDelayed[ChromaticPolynomial[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`z, Blank[]]], Condition[0, IdenticalQ[Combinatorica`Private`g, CompleteGraph[0]]]], RuleDelayed[ChromaticPolynomial[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`z, Blank[]]], Condition[Module[List[Combinatorica`Private`i], Product[Plus[Combinatorica`Private`z, Times[-1, Combinatorica`Private`i]], List[Combinatorica`Private`i, 0, Plus[V[Combinatorica`Private`g], -1]]]], CompleteQ[Combinatorica`Private`g]]], RuleDelayed[ChromaticPolynomial[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`z, Blank[]]], Condition[Times[Combinatorica`Private`z, Power[Plus[Combinatorica`Private`z, -1], Plus[V[Combinatorica`Private`g], -1]]], TreeQ[Combinatorica`Private`g]]], RuleDelayed[ChromaticPolynomial[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`z, Blank[]]], If[Greater[M[Combinatorica`Private`g], Times[Binomial[V[Combinatorica`Private`g], 2], Power[2, -1]]], Combinatorica`Private`ChromaticDense[Combinatorica`Private`g, Combinatorica`Private`z], Combinatorica`Private`ChromaticSparse[Combinatorica`Private`g, Combinatorica`Private`z]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ChromaticPolynomial\"]], False]", "msgs": [], "secs": 0.061} +{"i": 430, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 431, "status": "ok", "out": "Times[Plus[-4, z], Plus[-3, z], Plus[-2, z], Plus[-1, z], z]", "msgs": [], "secs": 0.0} +{"i": 432, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 433, "status": "ok", "out": "Power[z, 10]", "msgs": [], "secs": 0.0} +{"i": 434, "status": "ok", "out": "ChromaticPolynomial[Tree[10, List[Tree[3, None], Tree[7, List[Tree[1, None]]], Tree[2, None], Tree[5, List[Tree[6, None], Tree[4, None]]], Tree[8, List[Tree[9, None]]]]], z]", "msgs": [], "secs": 0.29} +{"i": 435, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 436, "status": "ok", "out": "Plus[Times[Plus[-3, z], Plus[-2, z], Plus[-1, z], z], Times[Plus[-4, z], Plus[-3, z], Plus[-2, z], Plus[-1, z], z]]", "msgs": [], "secs": 0.001} +{"i": 437, "status": "ok", "out": "Plus[Times[4, z], Times[-10, Power[z, 2]], Times[10, Power[z, 3]], Times[-5, Power[z, 4]], Power[z, 5]]", "msgs": [], "secs": 0.003} +{"i": 438, "status": "ok", "out": "List[List[List[0, Null], List[306, Null]], List[List[0, Null], List[504, Null]], List[List[0, Null], List[1196, Null]], List[List[0, Null], List[3064, Null]], List[List[0, Null], List[4317, Null]], List[List[0, Null], List[8980, Null]]]", "msgs": [], "secs": 0.20800000000000002} +{"i": 439, "status": "ok", "out": "Plus[Times[14, z], Times[-31, Power[z, 2]], Times[24, Power[z, 3]], Times[-8, Power[z, 4]], Power[z, 5]]", "msgs": [], "secs": 0.004} +{"i": 440, "status": "ok", "out": "List[0, 0, 6, 72, 420, 1560, 4410]", "msgs": [], "secs": 0.0} +{"i": 441, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ChromaticNumber\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the chromatic number of the graph, which is the fewest number of colors necessary to color the graph.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ChromaticNumber, List[RuleDelayed[ChromaticNumber[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[0, Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[ChromaticNumber[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[1, EmptyQ[MakeSimple[Combinatorica`Private`g]]]], RuleDelayed[ChromaticNumber[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[2, BipartiteQ[MakeSimple[Combinatorica`Private`g]]]], RuleDelayed[ChromaticNumber[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[V[Combinatorica`Private`g], CompleteQ[MakeSimple[Combinatorica`Private`g]]]], RuleDelayed[ChromaticNumber[Pattern[Combinatorica`Private`g, Blank[Graph]]], Max[MinimumVertexColoring[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ChromaticNumber\"]], False]", "msgs": [], "secs": 0.032} +{"i": 442, "status": "ok", "out": "3", "msgs": [], "secs": 0.001} +{"i": 443, "status": "ok", "out": "2", "msgs": [], "secs": 0.001} +{"i": 444, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 445, "status": "ok", "out": "List[112, Null]", "msgs": [], "secs": 0.001} +{"i": 446, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TwoColoring\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a two-coloring of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) if \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is bipartite. It returns a list of the labels 1 and 2 corresponding to the vertices. \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TwoColoring, List[RuleDelayed[TwoColoring[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[List[], Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[TwoColoring[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[TwoColoring[MakeSimple[Combinatorica`Private`g]], Or[Not[SimpleQ[Combinatorica`Private`g]], Not[UndirectedQ[Combinatorica`Private`g]]]]], RuleDelayed[TwoColoring[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`c, ConnectedComponents[Combinatorica`Private`g]], Combinatorica`Private`p, Combinatorica`Private`b], Plus[Mod[Flatten[Map[Function[Cases[Slot[1], Blank[Integer]]], Transpose[Map[Function[BreadthFirstTraversal[Combinatorica`Private`g, Part[Slot[1], 1], Level]], Combinatorica`Private`c]]], 1], 2], 1]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TwoColoring\"]], False]", "msgs": [], "secs": 0.022} +{"i": 447, "status": "ok", "out": "TwoColoring[Tree[15, List[Tree[17, List[Tree[12, None], Tree[19, List[Tree[7, List[Tree[2, None], Tree[9, None]]]]]]], Tree[6, List[Tree[20, None]]], Tree[10, List[Tree[13, None], Tree[3, List[Tree[18, List[Tree[8, List[Tree[14, List[Tree[11, None]]]]], Tree[5, None]]], Tree[4, List[Tree[16, None]]], Tree[1, None]]]]]]]]", "msgs": [], "secs": 0.001} +{"i": 448, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 449, "status": "ok", "out": "List[1, 1, 1, 2, 2, 2, 2, 2, 2]", "msgs": [], "secs": 0.001} +{"i": 450, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 451, "status": "ok", "out": "Null", "msgs": [], "secs": 0.007} +{"i": 452, "status": "ok", "out": "List[List[List[0, Null], List[307, Null]], List[List[0, Null], List[1431, Null]], List[List[0, Null], List[4188, Null]]]", "msgs": [], "secs": 0.06} +{"i": 453, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 454, "status": "ok", "out": "MyTC[Tree[15, List[Tree[17, List[Tree[12, None], Tree[19, List[Tree[7, List[Tree[2, None], Tree[9, None]]]]]]], Tree[6, List[Tree[20, None]]], Tree[10, List[Tree[13, None], Tree[3, List[Tree[18, List[Tree[8, List[Tree[14, List[Tree[11, None]]]]], Tree[5, None]]], Tree[4, List[Tree[16, None]]], Tree[1, None]]]]]]]]", "msgs": [], "secs": 0.0} +{"i": 455, "status": "ok", "out": "List[List[163, Null], List[786, Null], List[2531, Null]]", "msgs": [], "secs": 0.035} +{"i": 456, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BipartiteQ\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) is bipartite.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BipartiteQ, List[RuleDelayed[BipartiteQ[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`c, TwoColoring[Combinatorica`Private`g]]], Apply[And, Map[Function[Unequal[Part[Combinatorica`Private`c, Part[Slot[1], 1]], Part[Combinatorica`Private`c, Part[Slot[1], 2]]]], Edges[Combinatorica`Private`g]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`BipartiteQ\"]], False]", "msgs": [], "secs": 0.021} +{"i": 457, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} +{"i": 458, "status": "ok", "out": "True", "msgs": [], "secs": 0.0} +{"i": 459, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 460, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 461, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"VertexColoring\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) uses Brelaz's heuristic to find a good, but not necessarily minimal, vertex coloring of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, VertexColoring, List[RuleDelayed[VertexColoring[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`algo, ReplaceAll[Algorithm, Flatten[List[Combinatorica`Private`opts, Options[VertexColoring]]]]]], If[SameQ[Combinatorica`Private`algo, Brelaz], BrelazColoring[Combinatorica`Private`g], MinimumVertexColoring[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Algorithm, Brelaz]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`VertexColoring\"]], False]", "msgs": [], "secs": 0.023} +{"i": 462, "status": "ok", "out": "List[1, 2, 3, 4]", "msgs": [], "secs": 0.0} +{"i": 463, "status": "ok", "out": "List[1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1]", "msgs": [], "secs": 0.003} +{"i": 464, "status": "ok", "out": "List[1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 4, 3]", "msgs": [], "secs": 0.001} +{"i": 465, "status": "ok", "out": "List[List[1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27], List[2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28], List[30], List[29]]", "msgs": [], "secs": 0.0} +{"i": 466, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 467, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 468, "status": "ok", "out": "Null", "msgs": [], "secs": 0.005} +{"i": 469, "status": "ok", "out": "List[List[List[0, Null], List[45, Null]], List[List[0, Null], List[484, Null]], List[List[0, Null], List[2337, Null]]]", "msgs": [], "secs": 0.036000000000000004} +{"i": 470, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 471, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 472, "status": "ok", "out": "List[1, 3, 1, 3, 2, 1, 3, 4, 1, 4, 3, 2, 2, 5, 3, 4, 2, 1, 2, 3, 3, 3, 4, 1, 4, 2, 2, 5, 2, 4]", "msgs": [], "secs": 0.001} +{"i": 473, "status": "ok", "out": "List[List[1, 3, 6, 9, 18, 24], List[5, 12, 13, 17, 19, 26, 27, 29], List[2, 4, 7, 11, 15, 20, 21, 22], List[8, 10, 16, 23, 25, 30], List[14, 28]]", "msgs": [], "secs": 0.0} +{"i": 474, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 475, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EdgeColoring\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) uses Brelaz's heuristic to find a good, but not necessarily minimal, edge coloring of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, EdgeColoring, List[RuleDelayed[EdgeColoring[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`c, VertexColoring[LineGraph[Combinatorica`Private`g]]], Set[Combinatorica`Private`e, Edges[Combinatorica`Private`g]], Combinatorica`Private`se], CompoundExpression[Set[Combinatorica`Private`se, Sort[Table[List[Part[Combinatorica`Private`e, Combinatorica`Private`i], Combinatorica`Private`i], List[Combinatorica`Private`i, Length[Combinatorica`Private`e]]]]], Map[Last, Sort[Map[Reverse, Table[Prepend[Part[Combinatorica`Private`se, Combinatorica`Private`i], Part[Combinatorica`Private`c, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Combinatorica`Private`se]]]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`EdgeColoring\"]], False]", "msgs": [], "secs": 0.031} +{"i": 476, "status": "ok", "out": "List[3, 2, 4, 5, 6, 7, 8, 9, 1, 1, 3, 1, 2, 1, 2, 1, 3, 2]", "msgs": [], "secs": 0.001} +{"i": 477, "status": "ok", "out": "List[1, 2, 3, 2, 1, 2, 3, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 3, 1, 1, 1, 3, 4, 4, 4, 3, 2, 3, 3, 3, 1, 3, 4, 4, 4, 3]", "msgs": [], "secs": 0.002} +{"i": 478, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 479, "status": "ok", "out": "List[List[1, 5, 9, 11, 13, 15, 17, 19, 23, 24, 25, 35], List[2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 21, 31], List[3, 7, 22, 26, 30, 32, 33, 34, 36, 40], List[27, 28, 29, 37, 38, 39]]", "msgs": [], "secs": 0.0} +{"i": 480, "status": "ok", "out": "", "msgs": [], "secs": 0.013000000000000001} +{"i": 481, "status": "ok", "out": "List[List[List[1, 2], List[6, 7], List[11, 12], List[13, 14], List[16, 17], List[18, 19], List[21, 22], List[23, 24], List[3, 8], List[4, 9], List[5, 10], List[15, 20]], List[List[2, 3], List[4, 5], List[7, 8], List[9, 10], List[12, 13], List[14, 15], List[17, 18], List[19, 20], List[22, 23], List[24, 25], List[1, 6], List[11, 16]], List[List[3, 4], List[8, 9], List[2, 7], List[6, 11], List[10, 15], List[12, 17], List[13, 18], List[14, 19], List[16, 21], List[20, 25]], List[List[7, 12], List[8, 13], List[9, 14], List[17, 22], List[18, 23], List[19, 24]]]", "msgs": [], "secs": 0.001} +{"i": 482, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 483, "status": "ok", "out": "Null", "msgs": [], "secs": 0.007} +{"i": 484, "status": "ok", "out": "List[List[653, Null], List[4286, Null]]", "msgs": [], "secs": 0.051000000000000004} +{"i": 485, "status": "ok", "out": "List[List[180, Null], List[708, Null]]", "msgs": [], "secs": 0.009000000000000001} +{"i": 486, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 487, "status": "ok", "out": "List[List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 488, "status": "ok", "out": "List[List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} +{"i": 489, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"EdgeChromaticNumber\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the chromatic number for the edges of the graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/EdgeChromaticNumber.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Method, Automatic], RuleDelayed[PerformanceGoal, $PerformanceGoal]]], Rule[\"Attributes\", List[Protected, ReadProtected]], Rule[\"FullName\", \"System`EdgeChromaticNumber\"]], False]", "msgs": [], "secs": 0.03} +{"i": 490, "status": "msg", "out": "EdgeChromaticNumber[Graph[List[List[List[1, 10]], List[List[2, 10]], List[List[3, 10]], List[List[4, 10]], List[List[5, 10]], List[List[6, 10]], List[List[7, 10]], List[List[8, 10]], List[List[9, 10]]], List[List[List[76604, 64279]], List[List[17365, 98481]], List[List[-50000, 86603]], List[List[-93969, 34202]], List[List[-93969, -34202]], List[List[-50000, -86603]], List[List[17365, -98481]], List[List[76604, -64279]], List[List[100000, 0]], List[List[0, 0]]]]]", "msgs": ["EdgeChromaticNumber::graph"], "secs": 0.025} +{"i": 491, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 492, "status": "timeout", "out": "$TimedOut", "msgs": [], "secs": 120.081} +{"i": 493, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MaximumClique\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a largest clique in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"MaximumClique\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns a \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\)-clique, if such a thing exists in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\); otherwise it returns \\!\\(\\*RowBox[{\\\"{\\\", \\\"}\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MaximumClique, List[RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[List[], Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[List[1], And[Equal[V[Combinatorica`Private`g], 1], Equal[Combinatorica`Private`k, 1]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[List[], And[Equal[V[Combinatorica`Private`g], 1], Unequal[Combinatorica`Private`k, 1]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[MaximumClique[MakeSimple[Combinatorica`Private`g], Combinatorica`Private`k], Or[Not[SimpleQ[Combinatorica`Private`g]], Not[UndirectedQ[Combinatorica`Private`g]]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Module[List[Set[Combinatorica`Private`e, ToAdjacencyLists[Combinatorica`Private`g]]], Flatten[Position[Backtrack[Table[List[True, False], List[V[Combinatorica`Private`g]]], Function[Or[Equal[Last[Slot[1]], False], And[LessEqual[Count[Slot[1], True], Combinatorica`Private`k], Equal[Length[Intersection[Flatten[Position[Slot[1], True]], Part[Combinatorica`Private`e, Length[Slot[1]]]]], Plus[Count[Slot[1], True], -1]]]]], Function[And[Equal[Count[Slot[1], True], Combinatorica`Private`k], Or[Equal[Last[Slot[1]], False], Equal[Length[Intersection[Flatten[Position[Slot[1], True]], Part[Combinatorica`Private`e, Length[Slot[1]]]]], Plus[Count[Slot[1], True], -1]]]]], First], True]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[List[], Equal[V[Combinatorica`Private`g], 0]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[List[1], Equal[V[Combinatorica`Private`g], 1]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[List[1], EmptyQ[Combinatorica`Private`g]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Range[V[Combinatorica`Private`g]], IdenticalQ[MakeSimple[Combinatorica`Private`g], CompleteGraph[V[Combinatorica`Private`g]]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[MaximumClique[MakeSimple[Combinatorica`Private`g]], Or[Not[SimpleQ[Combinatorica`Private`g]], Not[UndirectedQ[Combinatorica`Private`g]]]]], RuleDelayed[MaximumClique[Pattern[Combinatorica`Private`g, Blank[Graph]]], Module[List[Set[Combinatorica`Private`oldClique, First[Edges[Combinatorica`Private`g]]], Combinatorica`Private`c, Set[Combinatorica`Private`d, Max[Degrees[Combinatorica`Private`g]]], Combinatorica`Private`i], CompoundExpression[Do[CompoundExpression[Set[Combinatorica`Private`c, MaximumClique[Combinatorica`Private`g, Combinatorica`Private`i]], If[Equal[Combinatorica`Private`c, List[]], Break[], Set[Combinatorica`Private`oldClique, Combinatorica`Private`c]]], List[Combinatorica`Private`i, 3, Plus[Combinatorica`Private`d, 1]]], Combinatorica`Private`oldClique]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\"...", "msgs": [], "secs": 0.155} +{"i": 494, "status": "ok", "out": "List[3, 5, 7, 9, 11, 13, 15, 17, 18]", "msgs": [], "secs": 0.091} +{"i": 495, "status": "ok", "out": "List[1, 3, 5]", "msgs": [], "secs": 0.005} +{"i": 496, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]", "msgs": [], "secs": 0.0} +{"i": 497, "status": "ok", "out": "List[3, 4, 7]", "msgs": [], "secs": 0.018000000000000002} +{"i": 498, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 499, "status": "ok", "out": "Null", "msgs": [], "secs": 0.012} +{"i": 500, "status": "ok", "out": "List[7062, Null]", "msgs": [], "secs": 0.08} +{"i": 501, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CliqueQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) yields True if the list of vertices \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) defines a clique in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CliqueQ, List[RuleDelayed[CliqueQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`clique, Blank[List]]], IdenticalQ[CompleteGraph[Length[Combinatorica`Private`clique]], InduceSubgraph[MakeSimple[Combinatorica`Private`g], Combinatorica`Private`clique]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CliqueQ\"]], False]", "msgs": [], "secs": 0.025} +{"i": 502, "status": "ok", "out": "True", "msgs": [], "secs": 0.002} +{"i": 503, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 504, "status": "ok", "out": "False", "msgs": [], "secs": 0.0} +{"i": 505, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MinimumVertexCover\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a minimum vertex cover of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MinimumVertexCover, List[RuleDelayed[MinimumVertexCover[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[List[], EmptyQ[Combinatorica`Private`g]]], RuleDelayed[MinimumVertexCover[Pattern[Combinatorica`Private`g, Blank[Graph]]], Condition[Flatten[Position[Last[BipartiteMatchingAndCover[Combinatorica`Private`g]], 1]], BipartiteQ[Combinatorica`Private`g]]], RuleDelayed[MinimumVertexCover[Pattern[Combinatorica`Private`g, Blank[Graph]]], Complement[Range[V[Combinatorica`Private`g]], MaximumClique[GraphComplement[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MinimumVertexCover\"]], False]", "msgs": [], "secs": 0.024} +{"i": 506, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Highlight\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"p\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) displays \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with elements in \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\) highlighted. The second argument \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\) has the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\), where the \\!\\(\\*SubscriptBox[StyleBox[\\\"s\\\", \\\"TI\\\"], StyleBox[\\\"i\\\", \\\"TI\\\"]]\\) are disjoint subsets of vertices and edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, Highlight, List[RuleDelayed[Highlight[Pattern[Combinatorica`Private`g, Blank[Graph]], List[]], Combinatorica`Private`g], RuleDelayed[Highlight[Pattern[Combinatorica`Private`g, Blank[Graph]], List[], Blank[]], Combinatorica`Private`g], RuleDelayed[Highlight[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`l, List[BlankNullSequence[], Blank[Integer], BlankNullSequence[]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Highlight[Combinatorica`Private`g, List[Combinatorica`Private`l], Combinatorica`Private`opts]], RuleDelayed[Highlight[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`l, Blank[List]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`vnc, Combinatorica`Private`enc, Combinatorica`Private`vs, Combinatorica`Private`es, Combinatorica`Private`vc, Combinatorica`Private`ec, Combinatorica`Private`i, Set[Combinatorica`Private`vl, Map[Function[Cases[Slot[1], Blank[Integer]]], Combinatorica`Private`l]], Set[Combinatorica`Private`el, Map[Function[Cases[Slot[1], List[Blank[Integer], Blank[Integer]]]], Combinatorica`Private`l]], Combinatorica`Private`gopts], CompoundExpression[Set[List[Combinatorica`Private`vs, Combinatorica`Private`es, Combinatorica`Private`vc, Combinatorica`Private`ec], ReplaceAll[List[HighlightedVertexStyle, HighlightedEdgeStyle, HighlightedVertexColors, HighlightedEdgeColors], Flatten[List[Combinatorica`Private`opts, Options[Highlight]]]]], Set[Combinatorica`Private`gopts, FilterRules[List[Combinatorica`Private`opts, Complement[Options[Highlight], Options[Graph]]], Options[Graph]]], Set[Combinatorica`Private`el, If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Combinatorica`Private`el, 2], Combinatorica`Private`el]], Set[Combinatorica`Private`vnc, Length[Combinatorica`Private`vl]], Set[Combinatorica`Private`enc, Length[Combinatorica`Private`el]], If[Not[ListQ[Combinatorica`Private`vs]], Set[Combinatorica`Private`vs, List[Combinatorica`Private`vs]]], Set[Combinatorica`Private`vs, PadRight[Combinatorica`Private`vs, Combinatorica`Private`vnc, Combinatorica`Private`vs]], If[Not[ListQ[Combinatorica`Private`vc]], Set[Combinatorica`Private`vc, List[Combinatorica`Private`vc]]], Set[Combinatorica`Private`vc, PadRight[Combinatorica`Private`vc, Combinatorica`Private`vnc, Combinatorica`Private`vc]], If[Not[ListQ[Combinatorica`Private`es]], Set[Combinatorica`Private`es, List[Combinatorica`Private`es]]], Set[Combinatorica`Private`es, PadRight[Combinatorica`Private`es, Combinatorica`Private`enc, Combinatorica`Private`es]], If[Not[ListQ[Combinatorica`Private`ec]], Set[Combinatorica`Private`ec, List[Combinatorica`Private`ec]]], Set[Combinatorica`Private`ec, PadRight[Combinatorica`Private`ec, Combinatorica`Private`enc, Combinatorica`Private`ec]], SetGraphOptions[Combinatorica`Private`g, Join[Table[List[Apply[Sequence, Part[Combinatorica`Private`vl, Combinatorica`Private`i]], Rule[VertexStyle, Part[Combinatorica`Private`vs, Combinatorica`Private`i]], Rule[VertexColor, Part[Combinatorica`Private`vc, Combinator...", "msgs": [], "secs": 0.046} +{"i": 507, "status": "ok", "out": "", "msgs": [], "secs": 0.021} +{"i": 508, "status": "ok", "out": "", "msgs": [], "secs": 0.058} +{"i": 509, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`VertexCoverQ\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, VertexCoverQ, List[RuleDelayed[VertexCoverQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`vc, Blank[List]]], CliqueQ[GraphComplement[Combinatorica`Private`g], Complement[Range[V[Combinatorica`Private`g]], Combinatorica`Private`vc]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`VertexCoverQ\"]], False]", "msgs": [], "secs": 0.096} +{"i": 510, "status": "ok", "out": "List[1, 3, 6, 8, 9, 11, 14, 16]", "msgs": [], "secs": 0.02} +{"i": 511, "status": "ok", "out": "List[2, 4, 5, 7, 10, 12, 13, 15]", "msgs": [], "secs": 0.0} +{"i": 512, "status": "ok", "out": "True", "msgs": [], "secs": 0.003} +{"i": 513, "status": "ok", "out": "False", "msgs": [], "secs": 0.002} +{"i": 514, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"MaximumIndependentSet\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) finds a largest independent set of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, MaximumIndependentSet, List[RuleDelayed[MaximumIndependentSet[Pattern[Combinatorica`Private`g, Blank[Graph]]], Complement[Range[V[Combinatorica`Private`g]], MinimumVertexCover[Combinatorica`Private`g]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`MaximumIndependentSet\"]], False]", "msgs": [], "secs": 0.024} +{"i": 515, "status": "ok", "out": "", "msgs": [], "secs": 0.015} +{"i": 516, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"IndependentSetQ\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"i\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) yields True if the vertices in list \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) define an independent set in graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, IndependentSetQ, List[RuleDelayed[IndependentSetQ[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`indep, Blank[List]]], And[Equal[Complement[Combinatorica`Private`indep, Range[V[Combinatorica`Private`g]]], List[]], VertexCoverQ[Combinatorica`Private`g, Complement[Range[V[Combinatorica`Private`g]], Combinatorica`Private`indep]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`IndependentSetQ\"]], False]", "msgs": [], "secs": 0.025} +{"i": 517, "status": "ok", "out": "True", "msgs": [], "secs": 0.001} +{"i": 518, "status": "ok", "out": "False", "msgs": [], "secs": 0.001} diff --git a/book/wma/newFeatures.s1.jsonl b/book/wma/newFeatures.s1.jsonl new file mode 100644 index 0000000..6b9afe2 --- /dev/null +++ b/book/wma/newFeatures.s1.jsonl @@ -0,0 +1,139 @@ +{"i": 1, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]], List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 2, "status": "ok", "out": "List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]]", "msgs": [], "secs": 0.0} +{"i": 3, "status": "ok", "out": "List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]]", "msgs": [], "secs": 0.0} +{"i": 4, "status": "ok", "out": "Graph", "msgs": [], "secs": 0.0} +{"i": 5, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]], List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]], Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 0, 1]]]", "msgs": [], "secs": 0.0} +{"i": 6, "status": "ok", "out": "", "msgs": [], "secs": 0.002} +{"i": 7, "status": "ok", "out": "Graph[List[List[List[1, 2], Rule[VertexStyle, Disc[Large]], Rule[VertexColor, RGBColor[0, 1, 0]]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]], List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]], Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 0, 1]]]", "msgs": [], "secs": 0.0} +{"i": 8, "status": "ok", "out": "", "msgs": [], "secs": 0.002} +{"i": 9, "status": "ok", "out": "4", "msgs": [], "secs": 0.0} +{"i": 10, "status": "ok", "out": "List[List[List[1, 2], Rule[VertexStyle, Disc[Large]], Rule[VertexColor, RGBColor[0, 1, 0]]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]]", "msgs": [], "secs": 0.0} +{"i": 11, "status": "ok", "out": "List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]]", "msgs": [], "secs": 0.0} +{"i": 12, "status": "ok", "out": "Rule[VertexColor, RGBColor[1, 0, 0]]", "msgs": [], "secs": 0.0} +{"i": 13, "status": "ok", "out": "Rule[EdgeColor, RGBColor[0, 0, 1]]", "msgs": [], "secs": 0.0} +{"i": 14, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 15, "status": "ok", "out": "88", "msgs": [], "secs": 0.0} +{"i": 16, "status": "ok", "out": "116336", "msgs": [], "secs": 0.003} +{"i": 17, "status": "ok", "out": "", "msgs": [], "secs": 0.108} +{"i": 18, "status": "ok", "out": "116688", "msgs": [], "secs": 0.0} +{"i": 19, "status": "ok", "out": "88", "msgs": [], "secs": 0.0} +{"i": 20, "status": "ok", "out": "55600", "msgs": [], "secs": 0.014} +{"i": 21, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`DihedralGroup\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DihedralGroup, List[RuleDelayed[DihedralGroup[0], List[List[]]], RuleDelayed[DihedralGroup[1], List[List[1]]], RuleDelayed[DihedralGroup[2], List[List[1, 2], List[2, 1]]], RuleDelayed[DihedralGroup[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Module[List[Set[Combinatorica`Private`c, CyclicGroup[Combinatorica`Private`n]]], Join[Combinatorica`Private`c, Map[Reverse, Combinatorica`Private`c]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DihedralGroup\"]], False]", "msgs": [], "secs": 0.044} +{"i": 22, "status": "ok", "out": "List[List[1, 2, 3, 4], List[4, 1, 2, 3], List[3, 4, 1, 2], List[2, 3, 4, 1], List[4, 3, 2, 1], List[3, 2, 1, 4], List[2, 1, 4, 3], List[1, 4, 3, 2]]", "msgs": [], "secs": 0.001} +{"i": 23, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SymmetricGroupIndex\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the cycle index of the symmetric group on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) symbols, expressed as a polynomial in \\!\\(\\*RowBox[{RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", \\\"1\\\", \\\"]\\\"}], \\\",\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", \\\"2\\\", \\\"]\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SymmetricGroupIndex, List[RuleDelayed[SymmetricGroupIndex[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`x, Blank[Symbol]]], Apply[Plus, Map[Function[Times[Slot[1], Power[Combinatorica`Private`SymmetricCoefficient[Slot[1], Combinatorica`Private`x], -1]]], Map[Function[Apply[Times, Slot[1]]], Map[Combinatorica`Private`x, Partitions[Combinatorica`Private`n], List[2]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SymmetricGroupIndex\"]], False]", "msgs": [], "secs": 0.031} +{"i": 24, "status": "ok", "out": "Plus[Times[Rational[1, 720], Power[x[1], 6]], Times[Rational[1, 48], Power[x[1], 4], x[2]], Times[Rational[1, 16], Power[x[1], 2], Power[x[2], 2]], Times[Rational[1, 48], Power[x[2], 3]], Times[Rational[1, 18], Power[x[1], 3], x[3]], Times[Rational[1, 6], x[1], x[2], x[3]], Times[Rational[1, 18], Power[x[3], 2]], Times[Rational[1, 8], Power[x[1], 2], x[4]], Times[Rational[1, 8], x[2], x[4]], Times[Rational[1, 5], x[1], x[5]], Times[Rational[1, 6], x[6]]]", "msgs": [], "secs": 0.0} +{"i": 25, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DihedralGroupIndex\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the cycle index of the dihedral group on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) symbols, expressed as a polynomial in \\!\\(\\*RowBox[{RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", \\\"1\\\", \\\"]\\\"}], \\\",\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", \\\"2\\\", \\\"]\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DihedralGroupIndex, List[RuleDelayed[DihedralGroupIndex[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`x, Blank[Symbol]]], Expand[Simplify[Plus[Times[CyclicGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Power[2, -1]], If[EvenQ[Combinatorica`Private`n], Times[Plus[Power[Combinatorica`Private`x[2], Times[Combinatorica`Private`n, Power[2, -1]]], Times[Power[Combinatorica`Private`x[1], 2], Power[Combinatorica`Private`x[2], Plus[Times[Combinatorica`Private`n, Power[2, -1]], -1]]]], Power[4, -1]], Times[Times[Combinatorica`Private`x[1], Power[Combinatorica`Private`x[2], Times[Plus[Combinatorica`Private`n, -1], Power[2, -1]]]], Power[2, -1]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DihedralGroupIndex\"]], False]", "msgs": [], "secs": 0.03} +{"i": 26, "status": "ok", "out": "Plus[Times[Rational[1, 20], Power[y[1], 10]], Times[Rational[1, 4], Power[y[1], 2], Power[y[2], 4]], Times[Rational[3, 10], Power[y[2], 5]], Times[Rational[1, 5], Power[y[5], 2]], Times[Rational[1, 5], y[10]]]", "msgs": [], "secs": 0.038} +{"i": 27, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"GraphPolynomial\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns a polynomial in \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) in which the coefficient of \\!\\(\\*SuperscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"m\\\", \\\"TI\\\"]]\\) is the number of nonisomorphic graphs with \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices and \\!\\(\\*StyleBox[\\\"m\\\", \\\"TI\\\"]\\) edges. \\n\\!\\(\\*RowBox[{\\\"GraphPolynomial\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", \\\"Directed\\\"}], \\\"]\\\"}]\\) returns a polynomial in \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) in which the coefficient of \\!\\(\\*SuperscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"m\\\", \\\"TI\\\"]]\\) is the number of nonisomorphic directed graphs with \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices and \\!\\(\\*StyleBox[\\\"m\\\", \\\"TI\\\"]\\) edges.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphPolynomial, List[RuleDelayed[GraphPolynomial[0, Blank[]], 1], RuleDelayed[GraphPolynomial[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`x, Blank[]]], OrbitInventory[PairGroupIndex[SymmetricGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x], Combinatorica`Private`x, List[1, Combinatorica`Private`x]]], RuleDelayed[GraphPolynomial[0, Blank[], Directed], 1], RuleDelayed[GraphPolynomial[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`x, Blank[]], Directed], OrbitInventory[PairGroupIndex[SymmetricGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x, Ordered], Combinatorica`Private`x, List[1, Combinatorica`Private`x]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphPolynomial\"]], False]", "msgs": [], "secs": 0.049} +{"i": 28, "status": "ok", "out": "Plus[1, x, Times[2, Power[x, 2]], Times[5, Power[x, 3]], Times[9, Power[x, 4]], Times[15, Power[x, 5]], Times[21, Power[x, 6]], Times[24, Power[x, 7]], Times[24, Power[x, 8]], Times[21, Power[x, 9]], Times[15, Power[x, 10]], Times[9, Power[x, 11]], Times[5, Power[x, 12]], Times[2, Power[x, 13]], Power[x, 14], Power[x, 15]]", "msgs": [], "secs": 0.009000000000000001} +{"i": 29, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"NumberOfGraphs\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the number of nonisomorphic undirected graphs with \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices. \\n\\!\\(\\*RowBox[{\\\"NumberOfGraphs\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"m\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the number of nonisomorphic undirected graphs with \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices and \\!\\(\\*StyleBox[\\\"m\\\", \\\"TI\\\"]\\) edges.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, NumberOfGraphs, List[RuleDelayed[NumberOfGraphs[0], 1], RuleDelayed[NumberOfGraphs[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Module[List[Combinatorica`Private`x], OrbitInventory[PairGroupIndex[SymmetricGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x], Combinatorica`Private`x, 2]]], RuleDelayed[NumberOfGraphs[Pattern[Combinatorica`Private`n, Blank[Integer]], 0], Condition[1, GreaterEqual[Combinatorica`Private`n, 0]]], RuleDelayed[NumberOfGraphs[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`m, Blank[Integer]]], Module[List[Combinatorica`Private`x], Coefficient[GraphPolynomial[Combinatorica`Private`n, Combinatorica`Private`x], Power[Combinatorica`Private`x, Combinatorica`Private`m]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`NumberOfGraphs\"]], False]", "msgs": [], "secs": 0.046} +{"i": 30, "status": "ok", "out": "TableForm[List[1, 2, 4, 11, 34, 156, 1044, 12346, 274668, 12005168, 1018997864, 165091172592, 50502031367952, 29054155657235488, 31426485969804308768]]", "msgs": [], "secs": 0.155} +{"i": 31, "status": "ok", "out": "", "msgs": [], "secs": 5.812} +{"i": 32, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ListNecklaces\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", \\\"Cyclic\\\"}], \\\"]\\\"}]\\) returns all distinct necklaces whose beads are colored by colors from \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\). Here \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) is a list of \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) not necessarily distinct colors, and two colored necklaces are considered equivalent if one can be obtained by rotating the other. \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"ListNecklaces\\\", \\\"[\\\"}], StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", \\\"Dihedral\\\"}], \\\"]\\\"}]\\) is similar except that two necklaces are considered equivalent if one can be obtained from the other by a rotation or a flip.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ListNecklaces, List[RuleDelayed[Condition[ListNecklaces[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`c, Blank[List]], Cyclic], SameQ[Length[Combinatorica`Private`c], Combinatorica`Private`n]], OrbitRepresentatives[CyclicGroup[Combinatorica`Private`n], Permutations[Combinatorica`Private`c]]], RuleDelayed[Condition[ListNecklaces[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`c, Blank[List]], Dihedral], SameQ[Length[Combinatorica`Private`c], Combinatorica`Private`n]], OrbitRepresentatives[DihedralGroup[Combinatorica`Private`n], Permutations[Combinatorica`Private`c]]], RuleDelayed[Condition[ListNecklaces[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`c, Blank[List]], Pattern[Combinatorica`Private`any, Blank[]]], Greater[Length[Combinatorica`Private`c], 1]], ListNecklaces[Combinatorica`Private`n, PadRight[Combinatorica`Private`c, Combinatorica`Private`n, Combinatorica`Private`c], Combinatorica`Private`any]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ListNecklaces\"]], False]", "msgs": [], "secs": 0.081} +{"i": 33, "status": "ok", "out": "List[List[r, r, b, b, y], List[b, b, r, y, r], List[b, r, b, r, y], List[b, r, r, b, y]]", "msgs": [], "secs": 0.001} +{"i": 34, "status": "ok", "out": "List[List[r, r, b, b, y], List[b, b, r, r, y], List[b, b, r, y, r], List[b, r, b, r, y], List[b, r, b, y, r], List[b, r, r, b, y]]", "msgs": [], "secs": 0.0} +{"i": 35, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"NumberOfNecklaces\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"nc\\\", \\\"TI\\\"], \\\",\\\", \\\"Cyclic\\\"}], \\\"]\\\"}]\\) returns the number of distinct ways in which an \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\)-bead necklace can be colored with \\!\\(\\*StyleBox[\\\"nc\\\", \\\"TI\\\"]\\) colors, assuming that two colorings are equivalent if one can be obtained from the other by a rotation. \\n\\!\\(\\*RowBox[{\\\"NumberOfNecklaces\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"nc\\\", \\\"TI\\\"], \\\",\\\", \\\"Dihedral\\\"}], \\\"]\\\"}]\\) returns the number of distinct ways in which an \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\)-bead necklace can be colored with \\!\\(\\*StyleBox[\\\"nc\\\", \\\"TI\\\"]\\) colors, assuming that two colorings are equivalent if one can be obtained from the other by a rotation or a flip.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, NumberOfNecklaces, List[RuleDelayed[NumberOfNecklaces[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`nc, Blank[Integer]], Positive], Cyclic], Module[List[Combinatorica`Private`x], OrbitInventory[CyclicGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x, Combinatorica`Private`nc]]], RuleDelayed[NumberOfNecklaces[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`nc, Blank[Integer]], Positive], Dihedral], Module[List[Combinatorica`Private`x], OrbitInventory[DihedralGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x, Combinatorica`Private`nc]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`NumberOfNecklaces\"]], False]", "msgs": [], "secs": 0.081} +{"i": 36, "status": "ok", "out": "TableForm[List[78, 126, 224, 380, 687, 1224, 2250, 4112, 7685, 14310, 27012]]", "msgs": [], "secs": 0.066} +{"i": 37, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"NecklacePolynomial\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", \\\"Cyclic\\\"}], \\\"]\\\"}]\\) returns a polynomial in the colors in \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) whose coefficients represent numbers of ways of coloring an \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\)-bead necklace with colors chosen from \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\), assuming that two colorings are equivalent if one can be obtained from the other by a rotation. \\n\\!\\(\\*RowBox[{\\\"NecklacePolynomial\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", \\\"Dihedral\\\"}], \\\"]\\\"}]\\) is different in that it considers two colorings equivalent if one can be obtained from the other by a rotation or a flip or both.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, NecklacePolynomial, List[RuleDelayed[NecklacePolynomial[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`c, Blank[]], Cyclic], OrbitInventory[CyclicGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x, Combinatorica`Private`c]], RuleDelayed[NecklacePolynomial[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`c, Blank[]], Dihedral], OrbitInventory[DihedralGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x, Combinatorica`Private`c]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`NecklacePolynomial\"]], False]", "msgs": [], "secs": 0.047} +{"i": 38, "status": "ok", "out": "Plus[Power[B, 10], Times[Power[B, 9], G], Times[5, Power[B, 8], Power[G, 2]], Times[12, Power[B, 7], Power[G, 3]], Times[22, Power[B, 6], Power[G, 4]], Times[26, Power[B, 5], Power[G, 5]], Times[22, Power[B, 4], Power[G, 6]], Times[12, Power[B, 3], Power[G, 7]], Times[5, Power[B, 2], Power[G, 8]], Times[B, Power[G, 9]], Power[G, 10], Times[Power[B, 9], R], Times[9, Power[B, 8], G, R], Times[36, Power[B, 7], Power[G, 2], R], Times[84, Power[B, 6], Power[G, 3], R], Times[126, Power[B, 5], Power[G, 4], R], Times[126, Power[B, 4], Power[G, 5], R], Times[84, Power[B, 3], Power[G, 6], R], Times[36, Power[B, 2], Power[G, 7], R], Times[9, B, Power[G, 8], R], Times[Power[G, 9], R], Times[5, Power[B, 8], Power[R, 2]], Times[36, Power[B, 7], G, Power[R, 2]], Times[128, Power[B, 6], Power[G, 2], Power[R, 2]], Times[252, Power[B, 5], Power[G, 3], Power[R, 2]], Times[318, Power[B, 4], Power[G, 4], Power[R, 2]], Times[252, Power[B, 3], Power[G, 5], Power[R, 2]], Times[128, Power[B, 2], Power[G, 6], Power[R, 2]], Times[36, B, Power[G, 7], Power[R, 2]], Times[5, Power[G, 8], Power[R, 2]], Times[12, Power[B, 7], Power[R, 3]], Times[84, Power[B, 6], G, Power[R, 3]], Times[252, Power[B, 5], Power[G, 2], Power[R, 3]], Times[420, Power[B, 4], Power[G, 3], Power[R, 3]], Times[420, Power[B, 3], Power[G, 4], Power[R, 3]], Times[252, Power[B, 2], Power[G, 5], Power[R, 3]], Times[84, B, Power[G, 6], Power[R, 3]], Times[12, Power[G, 7], Power[R, 3]], Times[22, Power[B, 6], Power[R, 4]], Times[126, Power[B, 5], G, Power[R, 4]], Times[318, Power[B, 4], Power[G, 2], Power[R, 4]], Times[420, Power[B, 3], Power[G, 3], Power[R, 4]], Times[318, Power[B, 2], Power[G, 4], Power[R, 4]], Times[126, B, Power[G, 5], Power[R, 4]], Times[22, Power[G, 6], Power[R, 4]], Times[26, Power[B, 5], Power[R, 5]], Times[126, Power[B, 4], G, Power[R, 5]], Times[252, Power[B, 3], Power[G, 2], Power[R, 5]], Times[252, Power[B, 2], Power[G, 3], Power[R, 5]], Times[126, B, Power[G, 4], Power[R, 5]], Times[26, Power[G, 5], Power[R, 5]], Times[22, Power[B, 4], Power[R, 6]], Times[84, Power[B, 3], G, Power[R, 6]], Times[128, Power[B, 2], Power[G, 2], Power[R, 6]], Times[84, B, Power[G, 3], Power[R, 6]], Times[22, Power[G, 4], Power[R, 6]], Times[12, Power[B, 3], Power[R, 7]], Times[36, Power[B, 2], G, Power[R, 7]], Times[36, B, Power[G, 2], Power[R, 7]], Times[12, Power[G, 3], Power[R, 7]], Times[5, Power[B, 2], Power[R, 8]], Times[9, B, G, Power[R, 8]], Times[5, Power[G, 2], Power[R, 8]], Times[B, Power[R, 9]], Times[G, Power[R, 9]], Power[R, 10]]", "msgs": [], "secs": 0.001} +{"i": 39, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetPartitions\\\", \\\"[\\\", StyleBox[\\\"set\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the list of set partitions of \\!\\(\\*StyleBox[\\\"set\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetPartitions\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the list of set partitions of \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"1\\\", \\\",\\\", \\\"2\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SetPartitions, List[RuleDelayed[SetPartitions[0], List[List[]]], RuleDelayed[SetPartitions[List[]], List[List[]]], RuleDelayed[SetPartitions[Pattern[Combinatorica`Private`s, Blank[List]]], Flatten[Table[KSetPartitions[Combinatorica`Private`s, Combinatorica`Private`i], List[Combinatorica`Private`i, Length[Combinatorica`Private`s]]], 1]], RuleDelayed[SetPartitions[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], SetPartitions[Range[Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SetPartitions\"]], False]", "msgs": [], "secs": 0.051000000000000004} +{"i": 40, "status": "ok", "out": "List[List[List[1, 2, 3, 4]], List[List[1], List[2, 3, 4]], List[List[1, 2], List[3, 4]], List[List[1, 3, 4], List[2]], List[List[1, 2, 3], List[4]], List[List[1, 4], List[2, 3]], List[List[1, 2, 4], List[3]], List[List[1, 3], List[2, 4]], List[List[1], List[2], List[3, 4]], List[List[1], List[2, 3], List[4]], List[List[1], List[2, 4], List[3]], List[List[1, 2], List[3], List[4]], List[List[1, 3], List[2], List[4]], List[List[1, 4], List[2], List[3]], List[List[1], List[2], List[3], List[4]]]", "msgs": [], "secs": 0.001} +{"i": 41, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"KSetPartitions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"set\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the list of set partitions of \\!\\(\\*StyleBox[\\\"set\\\", \\\"TI\\\"]\\) with \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) blocks. \\n\\!\\(\\*RowBox[{\\\"KSetPartitions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the list of set partitions of \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"1\\\", \\\",\\\", \\\"2\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\) with \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) blocks. If all set partitions of a set are needed, use the function SetPartitions.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, KSetPartitions, List[RuleDelayed[KSetPartitions[0, 0], List[List[]]], RuleDelayed[KSetPartitions[List[], 0], List[List[]]], RuleDelayed[KSetPartitions[Pattern[Combinatorica`Private`s, Blank[List]], 0], List[]], RuleDelayed[KSetPartitions[Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[List[], Greater[Combinatorica`Private`k, Length[Combinatorica`Private`s]]]], RuleDelayed[KSetPartitions[Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[List[Map[Function[List[Slot[1]]], Combinatorica`Private`s]], SameQ[Combinatorica`Private`k, Length[Combinatorica`Private`s]]]], RuleDelayed[KSetPartitions[Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[Block[List[Set[$RecursionLimit, Infinity], Combinatorica`Private`j], Join[Map[Function[Prepend[Slot[1], List[First[Combinatorica`Private`s]]]], KSetPartitions[Rest[Combinatorica`Private`s], Plus[Combinatorica`Private`k, -1]]], Flatten[Map[Function[Table[Prepend[Delete[Slot[1], Combinatorica`Private`j], Prepend[Part[Slot[1], Combinatorica`Private`j], Part[Combinatorica`Private`s, 1]]], List[Combinatorica`Private`j, Length[Slot[1]]]]], KSetPartitions[Rest[Combinatorica`Private`s], Combinatorica`Private`k]], 1]]], And[Greater[Combinatorica`Private`k, 0], Less[Combinatorica`Private`k, Length[Combinatorica`Private`s]]]]], RuleDelayed[KSetPartitions[0, PatternTest[Pattern[Combinatorica`Private`k, Blank[Integer]], Positive]], List[]], RuleDelayed[KSetPartitions[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], 0], List[]], RuleDelayed[KSetPartitions[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`k, Blank[Integer]], Positive]], KSetPartitions[Range[Combinatorica`Private`n], Combinatorica`Private`k]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`KSetPartitions\"]], False]", "msgs": [], "secs": 0.052000000000000005} +{"i": 42, "status": "ok", "out": "List[List[List[1], List[2], List[3, 4, 5]], List[List[1], List[2, 3], List[4, 5]], List[List[1], List[2, 4, 5], List[3]], List[List[1], List[2, 3, 4], List[5]], List[List[1], List[2, 5], List[3, 4]], List[List[1], List[2, 3, 5], List[4]], List[List[1], List[2, 4], List[3, 5]], List[List[1, 2], List[3], List[4, 5]], List[List[1, 3], List[2], List[4, 5]], List[List[1, 4, 5], List[2], List[3]], List[List[1, 2], List[3, 4], List[5]], List[List[1, 3, 4], List[2], List[5]], List[List[1, 5], List[2], List[3, 4]], List[List[1, 2], List[3, 5], List[4]], List[List[1, 3, 5], List[2], List[4]], List[List[1, 4], List[2], List[3, 5]], List[List[1, 2, 3], List[4], List[5]], List[List[1, 4], List[2, 3], List[5]], List[List[1, 5], List[2, 3], List[4]], List[List[1, 2, 4], List[3], List[5]], List[List[1, 3], List[2, 4], List[5]], List[List[1, 5], List[2, 4], List[3]], List[List[1, 2, 5], List[3], List[4]], List[List[1, 3], List[2, 5], List[4]], List[List[1, 4], List[2, 5], List[3]]]", "msgs": [], "secs": 0.0} +{"i": 43, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RankSetPartition\\\", \\\"[\\\", RowBox[{StyleBox[\\\"sp\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"s\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) ranks \\!\\(\\*StyleBox[\\\"sp\\\", \\\"TI\\\"]\\) in the list of all set partitions of set \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"RankSetPartition\\\", \\\"[\\\", StyleBox[\\\"sp\\\", \\\"TI\\\"], \\\"]\\\"}]\\) ranks \\!\\(\\*StyleBox[\\\"sp\\\", \\\"TI\\\"]\\) in the list of all set partitions of the set of elements that appear in any subset in \\!\\(\\*StyleBox[\\\"sp\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RankSetPartition, List[RuleDelayed[RankSetPartition[PatternTest[Pattern[Combinatorica`Private`sp, Blank[]], SetPartitionQ]], Module[List[Set[Combinatorica`Private`s, Sort[Flatten[Combinatorica`Private`sp, 1]]], Combinatorica`Private`n, Set[Combinatorica`Private`k, Length[Combinatorica`Private`sp]], Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`n, Length[Combinatorica`Private`s]], Plus[Sum[StirlingSecond[Combinatorica`Private`n, Combinatorica`Private`i], List[Combinatorica`Private`i, 1, Plus[Combinatorica`Private`k, -1]]], RankKSetPartition[Combinatorica`Private`sp, Combinatorica`Private`s]]]]], RuleDelayed[RankSetPartition[Pattern[Combinatorica`Private`sp, Blank[List]], Pattern[Combinatorica`Private`s, Blank[List]]], Condition[Module[List[Set[Combinatorica`Private`n, Length[Combinatorica`Private`s]], Set[Combinatorica`Private`k, Length[Combinatorica`Private`sp]], Combinatorica`Private`i], Plus[Sum[StirlingSecond[Combinatorica`Private`n, Combinatorica`Private`i], List[Combinatorica`Private`i, 1, Plus[Combinatorica`Private`k, -1]]], RankKSetPartition[Combinatorica`Private`sp, Combinatorica`Private`s]]], SetPartitionQ[Combinatorica`Private`sp, Combinatorica`Private`s]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RankSetPartition\"]], False]", "msgs": [], "secs": 0.037} +{"i": 44, "status": "ok", "out": "29", "msgs": [], "secs": 0.0} +{"i": 45, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"UnrankSetPartition\\\", \\\"[\\\", RowBox[{StyleBox[\\\"r\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"set\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) finds a set partition of \\!\\(\\*StyleBox[\\\"set\\\", \\\"TI\\\"]\\) with rank \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"UnrankSetPartition\\\", \\\"[\\\", RowBox[{StyleBox[\\\"r\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) finds a set partition of \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"1\\\", \\\",\\\", \\\"2\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) with rank \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, UnrankSetPartition, List[Rule[UnrankSetPartition[0, 0], List[List[]]], RuleDelayed[UnrankSetPartition[0, Pattern[Combinatorica`Private`set, Blank[List]]], List[Combinatorica`Private`set]], RuleDelayed[UnrankSetPartition[PatternTest[Pattern[Combinatorica`Private`r, Blank[Integer]], Positive], Pattern[Combinatorica`Private`set, Blank[List]]], Condition[Block[List[Set[Combinatorica`Private`n, Length[Combinatorica`Private`set]], Set[Combinatorica`Private`k, 0], Set[Combinatorica`Private`sum, 0], Set[$RecursionLimit, Infinity]], CompoundExpression[While[LessEqual[Combinatorica`Private`sum, Combinatorica`Private`r], CompoundExpression[Increment[Combinatorica`Private`k], Set[Combinatorica`Private`sum, Plus[Combinatorica`Private`sum, StirlingSecond[Combinatorica`Private`n, Combinatorica`Private`k]]]]], UnrankKSetPartition[Plus[Combinatorica`Private`r, Times[-1, Plus[Combinatorica`Private`sum, Times[-1, StirlingSecond[Combinatorica`Private`n, Combinatorica`Private`k]]]]], Combinatorica`Private`set, Combinatorica`Private`k]]], Less[Combinatorica`Private`r, BellB[Length[Combinatorica`Private`set]]]]], RuleDelayed[UnrankSetPartition[Pattern[Combinatorica`Private`r, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Condition[UnrankSetPartition[Combinatorica`Private`r, Range[Combinatorica`Private`n]], GreaterEqual[Combinatorica`Private`r, 0]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`UnrankSetPartition\"]], False]", "msgs": [], "secs": 0.037} +{"i": 46, "status": "ok", "out": "UnrankSetPartition[Out[0], 5]", "msgs": [], "secs": 0.0} +{"i": 47, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RandomSetPartition\\\", \\\"[\\\", StyleBox[\\\"set\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns a random set partition of \\!\\(\\*StyleBox[\\\"set\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"RandomSetPartition\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns a random set partition of the first \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) natural numbers.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RandomSetPartition, List[RuleDelayed[RandomSetPartition[List[]], List[]], RuleDelayed[RandomSetPartition[Pattern[Combinatorica`Private`set, Blank[List]]], Condition[UnrankSetPartition[RandomInteger[Plus[BellB[Length[Combinatorica`Private`set]], -1]], Combinatorica`Private`set], Greater[Length[Combinatorica`Private`set], 0]]], RuleDelayed[RandomSetPartition[Pattern[Combinatorica`Private`n, Blank[Integer]]], RandomSetPartition[Range[Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RandomSetPartition\"]], False]", "msgs": [], "secs": 0.031} +{"i": 48, "status": "ok", "out": "List[List[1, 7, 8], List[2], List[3, 4], List[5, 9], List[6, 10]]", "msgs": [], "secs": 0.002} +{"i": 49, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RandomKSetPartition\\\", \\\"[\\\", RowBox[{StyleBox[\\\"set\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns a random set partition of \\!\\(\\*StyleBox[\\\"set\\\", \\\"TI\\\"]\\) with \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) blocks. \\n\\!\\(\\*RowBox[{\\\"RandomKSetPartition\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns a random set partition of the first \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) natural numbers into \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) blocks.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RandomKSetPartition, List[RuleDelayed[RandomKSetPartition[0, 0], List[]], RuleDelayed[RandomKSetPartition[List[], 0], List[]], RuleDelayed[RandomKSetPartition[Pattern[Combinatorica`Private`set, Blank[List]], PatternTest[Pattern[Combinatorica`Private`k, Blank[Integer]], Positive]], Condition[UnrankKSetPartition[RandomInteger[Plus[StirlingSecond[Length[Combinatorica`Private`set], Combinatorica`Private`k], -1]], Combinatorica`Private`set, Combinatorica`Private`k], And[Greater[Length[Combinatorica`Private`set], 0], LessEqual[Combinatorica`Private`k, Length[Combinatorica`Private`set]]]]], RuleDelayed[RandomKSetPartition[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`k, Blank[Integer]], Positive]], Condition[RandomKSetPartition[Range[Combinatorica`Private`n], Combinatorica`Private`k], LessEqual[Combinatorica`Private`k, Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RandomKSetPartition\"]], False]", "msgs": [], "secs": 0.036000000000000004} +{"i": 50, "status": "ok", "out": "List[List[1, 2, 4, 9, 10], List[3, 7, 8], List[5], List[6]]", "msgs": [], "secs": 0.0} +{"i": 51, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BellB\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the Bell number \\!\\(\\*SubscriptBox[\\\"B\\\", \\\"n\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"BellB\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives the Bell polynomial \\!\\(\\*RowBox[{SubscriptBox[\\\"B\\\", \\\"n\\\"], \\\"(\\\", \\\"x\\\", \\\")\\\"}]\\). \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/BellB.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Listable, NHoldFirst, Protected, ReadProtected]], Rule[\"FullName\", \"System`BellB\"]], False]", "msgs": [], "secs": 0.058} +{"i": 52, "status": "ok", "out": "9593717160839270277309012597458244643669761253486524090465101452308505449075555794967097991422094447813361703461703527483923452910600107094241977883524995379142569403109148264479493951899618130991494946924012311626466835414469805276900066733612175617987670409976416771272643311143045873205315011607801824625827865824638944982653160924318204003182910489402082081128038463173280160012490117659706850104203035907510272952948673660873405566364117100380099645", "msgs": [], "secs": 0.009000000000000001} +{"i": 53, "status": "ok", "out": "", "msgs": [], "secs": 0.022} +{"i": 54, "status": "ok", "out": "ShowGraph[Highlight[Graph[List[List[List[1, 2]], List[List[1, 7]], List[List[1, 9]], List[List[1, 13]], List[List[2, 3]], List[List[2, 4]], List[List[2, 10]], List[List[2, 14]], List[List[3, 5]], List[List[3, 11]], List[List[3, 15]], List[List[4, 5]], List[List[4, 7]], List[List[4, 8]], List[List[4, 12]], List[List[5, 6]], List[List[5, 9]], List[List[5, 13]], List[List[6, 7]], List[List[6, 10]], List[List[6, 14]], List[List[7, 11]], List[List[7, 15]], List[List[8, 9]], List[List[8, 11]], List[List[8, 14]], List[List[9, 10]], List[List[9, 15]], List[List[10, 11]], List[List[10, 12]], List[List[11, 13]], List[List[12, 13]], List[List[12, 15]], List[List[13, 14]], List[List[14, 15]]], List[List[List[91355, 40674], Rule[VertexLabel, \"1\"]], List[List[66913, 74314], Rule[VertexLabel, \"12\"]], List[List[30902, 95106], Rule[VertexLabel, \"1345\"]], List[List[-10453, 99452], Rule[VertexLabel, \"123\"]], List[List[-50000, 86603], Rule[VertexLabel, \"145\"]], List[List[-80902, 58779], Rule[VertexLabel, \"1245\"]], List[List[-97815, 20791], Rule[VertexLabel, \"13\"]], List[List[-97815, -20791], Rule[VertexLabel, \"1234\"]], List[List[-80902, -58779], Rule[VertexLabel, \"15\"]], List[List[-50000, -86603], Rule[VertexLabel, \"125\"]], List[List[-10453, -99452], Rule[VertexLabel, \"134\"]], List[List[30902, -95106], Rule[VertexLabel, \"1235\"]], List[List[66913, -74314], Rule[VertexLabel, \"14\"]], List[List[91355, -40674], Rule[VertexLabel, \"124\"]], List[List[100000, 0], Rule[VertexLabel, \"135\"]]]], List[List[List[1, 2], List[2, 3], List[3, 5], List[5, 4], List[4, 7], List[7, 6], List[6, 10], List[10, 11], List[11, 8], List[8, 14], List[14, 13], List[13, 12], List[12, 15], List[15, 9], List[9, 1]]], List[RGBColor[1, 0, 0]]], Rule[PlotRange, Large[10000]]]", "msgs": [], "secs": 0.02} +{"i": 55, "status": "ok", "out": "6528", "msgs": [], "secs": 73.563} +{"i": 56, "status": "ok", "out": "430983237009366340421514301547258695943520289614340613912441741131280319058853783145598261659992013900", "msgs": [], "secs": 0.001} +{"i": 57, "status": "ok", "out": "List[List[47713, 1], List[40625, 1], List[330742, 1], List[278595, 1], List[341670, 1], List[334543, 1]]", "msgs": [], "secs": 0.041} +{"i": 58, "status": "ok", "out": "List[1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 4, 3]", "msgs": [], "secs": 0.001} +{"i": 59, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 60, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 61, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 62, "status": "ok", "out": "List[List[2, 3], List[4, 5], List[6, 7], List[8, 9], List[10, 11], List[12, 20], List[13, 14], List[15, 24], List[16, 17], List[18, 19], List[21, 27], List[22, 23], List[25, 26], List[28, 34], List[30, 37], List[31, 38], List[32, 33], List[35, 40], List[36, 42], List[39, 44], List[41, 47], List[45, 46]]", "msgs": [], "secs": 0.053} +{"i": 63, "status": "ok", "out": "ShowGraph[Highlight[Graph[List[List[List[2, 3]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[8, 9]], List[List[10, 11]], List[List[11, 12]], List[List[13, 14]], List[List[14, 15]], List[List[16, 17]], List[List[18, 19]], List[List[19, 20]], List[List[20, 21]], List[List[21, 22]], List[List[22, 23]], List[List[23, 24]], List[List[25, 26]], List[List[27, 28]], List[List[31, 32]], List[List[32, 33]], List[List[33, 34]], List[List[34, 35]], List[List[36, 37]], List[List[38, 39]], List[List[41, 42]], List[List[42, 43]], List[List[44, 45]], List[List[45, 46]], List[List[47, 48]], List[List[3, 8]], List[List[5, 10]], List[List[6, 11]], List[List[7, 12]], List[List[8, 14]], List[List[9, 15]], List[List[10, 18]], List[List[11, 19]], List[List[12, 20]], List[List[13, 22]], List[List[14, 23]], List[List[15, 24]], List[List[18, 25]], List[List[19, 26]], List[List[21, 27]], List[List[22, 28]], List[List[24, 29]], List[List[26, 31]], List[List[27, 33]], List[List[28, 34]], List[List[30, 37]], List[List[31, 38]], List[List[32, 39]], List[List[35, 40]], List[List[36, 42]], List[List[37, 43]], List[List[39, 44]], List[List[41, 47]], List[List[42, 48]], List[List[45, 50]]], List[List[List[100000, 100000]], List[List[800000, 100000]], List[List[900000, 100000]], List[List[300000, 200000]], List[List[400000, 200000]], List[List[500000, 200000]], List[List[600000, 200000]], List[List[900000, 200000]], List[List[1000000, 200000]], List[List[400000, 300000]], List[List[500000, 300000]], List[List[600000, 300000]], List[List[800000, 300000]], List[List[900000, 300000]], List[List[1000000, 300000]], List[List[100000, 400000]], List[List[200000, 400000]], List[List[400000, 400000]], List[List[500000, 400000]], List[List[600000, 400000]], List[List[700000, 400000]], List[List[800000, 400000]], List[List[900000, 400000]], List[List[1000000, 400000]], List[List[400000, 500000]], List[List[500000, 500000]], List[List[700000, 500000]], List[List[800000, 500000]], List[List[1000000, 500000]], List[List[300000, 600000]], List[List[500000, 600000]], List[List[600000, 600000]], List[List[700000, 600000]], List[List[800000, 600000]], List[List[900000, 600000]], List[List[200000, 700000]], List[List[300000, 700000]], List[List[500000, 700000]], List[List[600000, 700000]], List[List[900000, 700000]], List[List[100000, 800000]], List[List[200000, 800000]], List[List[300000, 800000]], List[List[600000, 800000]], List[List[700000, 800000]], List[List[800000, 800000]], List[List[100000, 900000]], List[List[200000, 900000]], List[List[400000, 900000]], List[List[700000, 900000]], List[List[1000000, 900000]], List[List[900000, 1000000]]]], List[List[List[2, 3], List[4, 5], List[6, 7], List[8, 9], List[10, 11], List[12, 20], List[13, 14], List[15, 24], List[16, 17], List[18, 19], List[21, 27], List[22, 23], List[25, 26], List[28, 34], List[30, 37], List[31, 38], List[32, 33], List[35, 40], List[36, 42], List[39, 44], List[41, 47], List[45, 46]]], List[RGBColor[1, 0, 0]]], Rule[Background, RGBColor[87000, 94000, 1]]]", "msgs": [], "secs": 0.0} +{"i": 64, "status": "ok", "out": "", "msgs": [], "secs": 0.011} +{"i": 65, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 66, "status": "ok", "out": "", "msgs": [], "secs": 0.244} +{"i": 67, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 68, "status": "ok", "out": "", "msgs": [], "secs": 0.02} +{"i": 69, "status": "ok", "out": "List[List[0, Null], List[25, Null]]", "msgs": [], "secs": 0.0} +{"i": 70, "status": "ok", "out": "List[List[0, Null], List[20769, Null]]", "msgs": [], "secs": 0.64} +{"i": 71, "status": "ok", "out": "List[List[0, Null], List[499, Null]]", "msgs": [], "secs": 0.005} +{"i": 72, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 73, "status": "ok", "out": "List[623, Null]", "msgs": [], "secs": 0.011} +{"i": 74, "status": "ok", "out": "List[8355, Null]", "msgs": [], "secs": 1.211} +{"i": 75, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.006} +{"i": 76, "status": "ok", "out": "Null", "msgs": [], "secs": 4.222} +{"i": 77, "status": "ok", "out": "List[4998, 4967]", "msgs": [], "secs": 0.0} +{"i": 78, "status": "ok", "out": "", "msgs": [], "secs": 1.179} +{"i": 79, "status": "ok", "out": "List[8976, Null]", "msgs": [], "secs": 0.11} +{"i": 80, "status": "ok", "out": "689", "msgs": [], "secs": 0.0} +{"i": 81, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.005} +{"i": 82, "status": "ok", "out": "List[4341, Null]", "msgs": [], "secs": 0.079} +{"i": 83, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 84, "status": "ok", "out": "List[515, Null]", "msgs": [], "secs": 0.006} +{"i": 85, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 86, "status": "ok", "out": "List[1829, Null]", "msgs": [], "secs": 0.018000000000000002} +{"i": 87, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 88, "status": "ok", "out": "List[306, Null]", "msgs": [], "secs": 0.004} +{"i": 89, "status": "ok", "out": "List[List[2, Null], List[1386, Null]]", "msgs": [], "secs": 0.014} +{"i": 90, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AddEdges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"edgeList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with the new edges in \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) added. \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) to add a single edge \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), to add edges \\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"y\\\", \\\"TI\\\"]\\) can specify graphics information associated with \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) and \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), respectively.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AddEdges, List[RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edgeList, List[RepeatedNull[List[List[Blank[Integer], Blank[Integer]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Module[List[Set[Combinatorica`Private`ne, If[UndirectedQ[Combinatorica`Private`g], Map[Function[Prepend[Rest[Slot[1]], Sort[First[Slot[1]]]]], Combinatorica`Private`edgeList], Combinatorica`Private`edgeList]]], ChangeEdges[Combinatorica`Private`g, Join[Edges[Combinatorica`Private`g, All], Combinatorica`Private`ne]]]], RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edgeList, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]]], AddEdges[Combinatorica`Private`g, Map[Function[List[Slot[1]]], Combinatorica`Private`edgeList]]], RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edge, List[Blank[Integer], Blank[Integer]]]], AddEdges[Combinatorica`Private`g, List[Combinatorica`Private`edge]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`AddEdges\"]], False]", "msgs": [], "secs": 0.025} +{"i": 91, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 92, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 93, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 94, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) performs a breadth-first traversal of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) starting from vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\), and gives the breadth-first numbers of the vertices. \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"]}], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Edge\\\"}], \\\"]\\\"}]\\) returns the edges of the graph that are traversed by breadth-first traversal. \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"]}], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Tree\\\"}], \\\"]\\\"}]\\) returns the breadth-first search tree. \\n\\!\\(\\*RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"Level\\\", \\\"]\\\"}]}]\\) returns the level number of the vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BreadthFirstTraversal, List[RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive]], Condition[First[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`t, Blank[Integer]], Positive]], Condition[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s, Combinatorica`Private`t], And[LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]], LessEqual[Combinatorica`Private`t, V[Combinatorica`Private`g]]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Edge], Condition[Module[List[Set[Combinatorica`Private`b, Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], Combinatorica`Private`v, Combinatorica`Private`p], CompoundExpression[Set[Combinatorica`Private`v, InversePermutation[Cases[Part[Combinatorica`Private`b, 1], PatternTest[Blank[], Positive]]]], Set[Combinatorica`Private`p, Part[Combinatorica`Private`b, 2]], Table[List[Part[Combinatorica`Private`p, Part[Combinatorica`Private`v, Combinatorica`Private`i]], Part[Combinatorica`Private`v, Combinatorica`Private`i]], List[Combinatorica`Private`i, 2, Length[Combinatorica`Private`v]]]]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Tree], Condition[Module[List[Set[Combinatorica`Private`p, Part[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s], 2]]], ChangeEdges[Combinatorica`Private`g, Flatten[Table[If[Unequal[Combinatorica`Private`i, Part[Combinatorica`Private`p, Combinatorica`Private`i]], List[List[List[Part[Combinatorica`Private`p, Combinatorica`Private`i], Combinatorica`Private`i]]], List[]], List[Combinatorica`Private`i, Length[Combinatorica`Private`p]]], 1]]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Level], Condition[Last[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protec...", "msgs": [], "secs": 0.023} +{"i": 95, "status": "ok", "out": "Missing[\"UnknownSymbol\", \"DiscreteMath`OldCombinatorica`BreadthFirstTraversal\"]", "msgs": [], "secs": 0.0} +{"i": 96, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 97, "status": "ok", "out": "List[1, 2, 4, 7, 11, 3, 5, 8, 12, 16, 6, 9, 13, 17, 20, 10, 14, 18, 21, 23, 15, 19, 22, 24, 25]", "msgs": [], "secs": 0.001} +{"i": 98, "status": "ok", "out": "List[List[1, 2], List[1, 6], List[2, 3], List[2, 7], List[6, 11], List[3, 4], List[3, 8], List[7, 12], List[11, 16], List[4, 5], List[4, 9], List[8, 13], List[12, 17], List[16, 21], List[5, 10], List[9, 14], List[13, 18], List[17, 22], List[10, 15], List[14, 19], List[18, 23], List[15, 20], List[19, 24], List[20, 25]]", "msgs": [], "secs": 0.0} +{"i": 99, "status": "ok", "out": "ShowGraph[Highlight[Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[11, 12]], List[List[12, 13]], List[List[13, 14]], List[List[14, 15]], List[List[16, 17]], List[List[17, 18]], List[List[18, 19]], List[List[19, 20]], List[List[21, 22]], List[List[22, 23]], List[List[23, 24]], List[List[24, 25]], List[List[1, 6]], List[List[2, 7]], List[List[3, 8]], List[List[4, 9]], List[List[5, 10]], List[List[6, 11]], List[List[7, 12]], List[List[8, 13]], List[List[9, 14]], List[List[10, 15]], List[List[11, 16]], List[List[12, 17]], List[List[13, 18]], List[List[14, 19]], List[List[15, 20]], List[List[16, 21]], List[List[17, 22]], List[List[18, 23]], List[List[19, 24]], List[List[20, 25]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[400000, 100000]], List[List[500000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[400000, 200000]], List[List[500000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]], List[List[400000, 300000]], List[List[500000, 300000]], List[List[100000, 400000]], List[List[200000, 400000]], List[List[300000, 400000]], List[List[400000, 400000]], List[List[500000, 400000]], List[List[100000, 500000]], List[List[200000, 500000]], List[List[300000, 500000]], List[List[400000, 500000]], List[List[500000, 500000]]]], List[List[List[1, 2], List[1, 6], List[2, 3], List[2, 7], List[6, 11], List[3, 4], List[3, 8], List[7, 12], List[11, 16], List[4, 5], List[4, 9], List[8, 13], List[12, 17], List[16, 21], List[5, 10], List[9, 14], List[13, 18], List[17, 22], List[10, 15], List[14, 19], List[18, 23], List[15, 20], List[19, 24], List[20, 25]]], List[HotPink]]]", "msgs": [], "secs": 0.0} +{"i": 100, "status": "ok", "out": "", "msgs": [], "secs": 0.036000000000000004} +{"i": 101, "status": "ok", "out": "List[0, 1, 2, 3, 4, 1, 2, 3, 4, 5, 2, 3, 4, 5, 6, 3, 4, 5, 6, 7, 4, 5, 6, 7, 8]", "msgs": [], "secs": 0.0} +{"i": 102, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`CompleteGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CompleteGraph, List[RuleDelayed[CompleteGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[CompleteGraph]]]]]], If[SameQ[Combinatorica`Private`type, Undirected], Combinatorica`Private`CG[Combinatorica`Private`n], Combinatorica`Private`CDG[Combinatorica`Private`n]]], GreaterEqual[Combinatorica`Private`n, 0]]], RuleDelayed[CompleteGraph[Pattern[Combinatorica`Private`l, BlankSequence[]]], Condition[CompleteKPartiteGraph[Combinatorica`Private`l], And[TrueQ[Apply[And, Map[Positive, List[Combinatorica`Private`l]]]], Greater[Length[List[Combinatorica`Private`l]], 1]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CompleteGraph\"]], False]", "msgs": [], "secs": 0.039} +{"i": 103, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 104, "status": "ok", "out": "List[Rule[Type, Directed]]", "msgs": [], "secs": 0.0} +{"i": 105, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 106, "status": "ok", "out": "Graph[List[List[List[1, 5]], List[List[2, 5]], List[List[3, 5]], List[List[4, 5]], List[List[1, 5]], List[List[2, 2]]], List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]], List[List[0, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 107, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 108, "status": "ok", "out": "List[List[5, 5], List[2, 5], List[5], List[5], List[1, 1, 2, 3, 4]]", "msgs": [], "secs": 0.0} +{"i": 109, "status": "ok", "out": "List[List[5], List[5], List[5], List[5], List[1, 2, 3, 4]]", "msgs": [], "secs": 0.0} +{"i": 110, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GridGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GridGraph, List[RuleDelayed[GridGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`m, Blank[Integer]], Positive]], GraphProduct[ChangeVertices[Path[Combinatorica`Private`n], Map[Function[List[List[Times[Max[Combinatorica`Private`n, Combinatorica`Private`m], Slot[1]], 0]]], Range[Combinatorica`Private`n]]], Path[Combinatorica`Private`m]]], RuleDelayed[GridGraph[PatternTest[Pattern[Combinatorica`Private`p, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`q, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`r, Blank[Integer]], Positive]], GraphProduct[GridGraph[Combinatorica`Private`p, Combinatorica`Private`q], DilateVertices[RotateVertices[Path[Combinatorica`Private`r], 1], Times[1, Power[Times[10, Combinatorica`Private`r], -1]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GridGraph\"]], False]", "msgs": [], "secs": 0.032} +{"i": 111, "status": "ok", "out": "", "msgs": [], "secs": 0.016} +{"i": 112, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ShuffleExchangeGraph\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\)-dimensional shuffle-exchange graph whose vertices are length \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) binary strings with an edge from \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to \\!\\(\\*SuperscriptBox[StyleBox[\\\"w\\\", \\\"TI\\\"], \\\"\\[Prime]\\\", MultilineFunction -> None]\\) if: (1) \\!\\(\\*SuperscriptBox[StyleBox[\\\"w\\\", \\\"TI\\\"], \\\"\\[Prime]\\\", MultilineFunction -> None]\\) differs from \\!\\(\\*SuperscriptBox[StyleBox[\\\"w\\\", \\\"TI\\\"], \\\"\\[Prime]\\\", MultilineFunction -> None]\\) in its last bit; or (2) \\!\\(\\*SuperscriptBox[StyleBox[\\\"w\\\", \\\"TI\\\"], \\\"\\[Prime]\\\", MultilineFunction -> None]\\) is obtained from \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) by a cyclic shift left or a cyclic shift right. \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ShuffleExchangeGraph, List[RuleDelayed[ShuffleExchangeGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`label], CompoundExpression[Set[Combinatorica`Private`label, ReplaceAll[VertexLabel, Flatten[List[Combinatorica`Private`opts, Options[MakeGraph]]]]], MakeGraph[Strings[List[0, 1], Combinatorica`Private`n], Function[Or[And[Unequal[Last[Slot[1]], Last[Slot[2]]], Equal[Take[Slot[1], Plus[Combinatorica`Private`n, -1]], Take[Slot[2], Plus[Combinatorica`Private`n, -1]]]], Equal[RotateRight[Slot[1], 1], Slot[2]], Equal[RotateLeft[Slot[1], 1], Slot[2]]]], Rule[Type, Undirected], Rule[VertexLabel, Combinatorica`Private`label]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ShuffleExchangeGraph\"]], False]", "msgs": [], "secs": 0.024} +{"i": 113, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 114, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`ButterflyGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ButterflyGraph, List[RuleDelayed[ButterflyGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`v, Map[Flatten, CartesianProduct[Strings[List[0, 1], Combinatorica`Private`n], Range[0, Combinatorica`Private`n]]]], Combinatorica`Private`label], CompoundExpression[Set[Combinatorica`Private`label, ReplaceAll[VertexLabel, Flatten[List[Combinatorica`Private`opts, Options[ButterflyGraph]]]]], RankedEmbedding[MakeUndirected[MakeGraph[Combinatorica`Private`v, Function[And[Equal[Plus[Part[Slot[1], Plus[Combinatorica`Private`n, 1]], 1], Part[Slot[2], Plus[Combinatorica`Private`n, 1]]], Equal[Part[Slot[1], Range[Plus[Part[Slot[2], Plus[Combinatorica`Private`n, 1]], -1]]], Part[Slot[2], Range[Plus[Part[Slot[2], Plus[Combinatorica`Private`n, 1]], -1]]]], Equal[Part[Slot[1], Range[Plus[Part[Slot[2], Plus[Combinatorica`Private`n, 1]], 1], Combinatorica`Private`n]], Part[Slot[2], Range[Plus[Part[Slot[2], Plus[Combinatorica`Private`n, 1]], 1], Combinatorica`Private`n]]]]], Rule[VertexLabel, Combinatorica`Private`label]]], Flatten[Position[Combinatorica`Private`v, List[BlankSequence[], 0]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ButterflyGraph\"]], False]", "msgs": [], "secs": 0.032} +{"i": 115, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 116, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"InversionPoset\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns a Hasse diagram of the partially ordered set on size-\\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) permutations in which \\!\\(\\*RowBox[{StyleBox[\\\"p\\\", \\\"TI\\\"], \\\"<\\\", StyleBox[\\\"q\\\", \\\"TI\\\"]}]\\) if \\!\\(\\*StyleBox[\\\"q\\\", \\\"TI\\\"]\\) can be obtained from \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\) by an adjacent transposition that places the larger element before the smaller.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, InversionPoset, List[RuleDelayed[InversionPoset[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`label, Set[Combinatorica`Private`p, Permutations[Combinatorica`Private`n]], Combinatorica`Private`br], CompoundExpression[Set[List[Combinatorica`Private`type, Combinatorica`Private`label], ReplaceAll[List[Type, VertexLabel], Flatten[List[Combinatorica`Private`opts, Options[InversionPoset]]]]], Set[Combinatorica`Private`br, Function[And[Equal[Count[Set[Combinatorica`Private`p, Plus[Slot[1], Times[-1, Slot[2]]]], 0], Plus[Combinatorica`Private`n, -2]], Equal[Plus[Part[Position[Combinatorica`Private`p, PatternTest[Blank[], Negative]], 1, 1], 1], Part[Position[Combinatorica`Private`p, PatternTest[Blank[], Positive]], 1, 1]]]]], If[SameQ[Combinatorica`Private`type, Directed], MakeGraph[Combinatorica`Private`p, Combinatorica`Private`br, Rule[VertexLabel, Combinatorica`Private`label]], HasseDiagram[MakeGraph[Combinatorica`Private`p, Combinatorica`Private`br, Rule[VertexLabel, Combinatorica`Private`label]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected], Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`InversionPoset\"]], False]", "msgs": [], "secs": 0.024} +{"i": 117, "status": "ok", "out": "", "msgs": [], "secs": 0.013000000000000001} +{"i": 118, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BooleanAlgebra\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a Hasse diagram for the Boolean algebra on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) elements. The function takes two options: Type and VertexLabel, with default values Undirected and False, respectively. When Type is set to Directed, the function produces the underlying directed acyclic graph. When VertexLabel is set to True, labels are produced for the vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BooleanAlgebra, List[RuleDelayed[BooleanAlgebra[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`label, Set[Combinatorica`Private`s, Subsets[Combinatorica`Private`n]], Combinatorica`Private`br], CompoundExpression[Set[List[Combinatorica`Private`type, Combinatorica`Private`label], ReplaceAll[List[Type, VertexLabel], Flatten[List[Combinatorica`Private`opts, Options[BooleanAlgebra]]]]], Set[Combinatorica`Private`br, Function[And[SameQ[Intersection[Slot[2], Slot[1]], Slot[1]], Unequal[Slot[1], Slot[2]]]]], If[SameQ[Combinatorica`Private`type, Directed], MakeGraph[Combinatorica`Private`s, Combinatorica`Private`br, Rule[VertexLabel, Combinatorica`Private`label]], HasseDiagram[MakeGraph[Combinatorica`Private`s, Combinatorica`Private`br, Rule[VertexLabel, Combinatorica`Private`label]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected], Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`BooleanAlgebra\"]], False]", "msgs": [], "secs": 0.03} +{"i": 119, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 120, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CageGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"k\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"r\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives a smallest \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\)-regular graph of girth \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\) for certain small values of \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\). For \\!\\(\\*RowBox[{StyleBox[\\\"k\\\", \\\"TI\\\"], \\\"=\\\", \\\"3\\\"}]\\), \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\) can be 3, 4, 5, 6, 7, 8, or 10. For \\!\\(\\*RowBox[{StyleBox[\\\"k\\\", \\\"TI\\\"], \\\"=\\\", \\\"4\\\"}]\\) or 5, \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\) can be 3, 4, 5, or 6.\\n\\!\\(\\*RowBox[{\\\"CageGraph\\\", \\\"[\\\", StyleBox[\\\"r\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives \\!\\(\\*RowBox[{RowBox[{\\\"CageGraph\\\", \\\"[\\\", RowBox[{\\\"3\\\", \\\",\\\"}]}], StyleBox[\\\"r\\\", \\\"TI\\\"], \\\"]\\\"}]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CageGraph, List[RuleDelayed[CageGraph[3, 3], CompleteGraph[4]], RuleDelayed[CageGraph[3, 4], CompleteGraph[3, 3]], RuleDelayed[CageGraph[3, 5], PetersenGraph], RuleDelayed[CageGraph[3, 6], HeawoodGraph], RuleDelayed[CageGraph[3, 7], McGeeGraph], RuleDelayed[CageGraph[3, 8], LeviGraph], RuleDelayed[CageGraph[3, 10], Module[List[Combinatorica`Private`p, Combinatorica`Private`i, Combinatorica`Private`j], CompoundExpression[Set[Combinatorica`Private`p, GraphUnion[CirculantGraph[20, List[6]], Cycle[50]]], ReplaceAll[AddEdges[Combinatorica`Private`p, Join[Table[List[Plus[7, Times[5, Combinatorica`Private`i]], Plus[32, Times[5, Combinatorica`Private`i]]], List[Combinatorica`Private`i, 3, 7]], Table[List[Plus[20, Times[10, Combinatorica`Private`i]], Plus[Times[10, Combinatorica`Private`i], 29]], List[Combinatorica`Private`i, 4]], Table[List[Plus[15, Times[10, Combinatorica`Private`i]], Plus[Times[10, Combinatorica`Private`i], 24]], List[Combinatorica`Private`i, 4]], List[List[21, 20], List[1, 23], List[70, 29], List[24, 65]], Flatten[Table[List[Plus[Times[2, Combinatorica`Private`i], Combinatorica`Private`j], Plus[21, Times[5, Combinatorica`Private`i], Times[2, Combinatorica`Private`j]]], List[Combinatorica`Private`j, 0, 1], List[Combinatorica`Private`i, 9]], 1]]], RuleDelayed[Graph[Pattern[Combinatorica`Private`l, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]]], Graph[Combinatorica`Private`l, Join[Table[Function[List[List[Cos[Slot[1]], Sin[Slot[1]]]]][Times[Round[Times[Power[10, 5], 2.`]], Pi, Times[Plus[Combinatorica`Private`i, Times[1, Power[2, -1]]], Power[20, -1]]]], List[Combinatorica`Private`i, 20]], Times[2, Table[Function[List[List[Cos[Slot[1]], Sin[Slot[1]]]]][Times[Round[Times[Power[10, 5], 2.`]], Pi, Times[Plus[Combinatorica`Private`i, Times[1, Power[2, -1]]], Power[50, -1]]]], List[Combinatorica`Private`i, 50]]]]]]]]]], RuleDelayed[CageGraph[4, 3], CompleteGraph[5]], RuleDelayed[CageGraph[4, 4], CirculantGraph[8, List[1, 3]]], RuleDelayed[CageGraph[4, 5], RobertsonGraph], RuleDelayed[CageGraph[4, 6], MakeUndirected[MakeGraph[Range[26], Function[Or[Equal[Mod[Plus[Slot[1], Times[-1, Slot[2]]], 26], 1], Equal[Times[Power[-1, Slot[1]], Mod[Plus[Slot[1], Times[-1, Slot[2]]], 26]], 11], Equal[Times[Power[-1, Slot[1]], Mod[Plus[Slot[1], Times[-1, Slot[2]]], 26]], 7]]], Rule[Type, Directed]]]], RuleDelayed[CageGraph[5, 3], CompleteGraph[6]], RuleDelayed[CageGraph[5, 4], CirculantGraph[10, List[1, 3, 5]]], RuleDelayed[CageGraph[5, 5], MakeSimple[AddEdges[MakeGraph[Range[30], Function[Or[Equal[Mod[Plus[Slot[1], Times[-1, Slot[2]]], 30], 1], And[Equal[Mod[Plus[Slot[1], Times[-1, Slot[2]]], 30], 15], Equal[Mod[Slot[1], 3], 0]], And[Equal[Mod[Plus[Slot[1], Times[-1, Slot[2]]], 30], 4], Equal[Mod[Slot[1], 2], 0]]]]], List[List[1, 9], List[1, 13], List[1, 19], List[2, 16], List[3, 11], List[3, 18], List[3, 25], List[4, 20], List[5, 17], List[5, 23], List[5, 27], List[6, 21], List[7, 15], List[7, 19], List[7, 25], List[8, 22], List[9, 17], List[9, 24], List[10, 26], List[11, 23], L...", "msgs": [], "secs": 0.034} +{"i": 121, "status": "ok", "out": "", "msgs": [], "secs": 0.081} +{"i": 122, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns random real weights in the range \\!\\(\\*RowBox[{\\\"[\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\"}], \\\"]\\\"}]\\) to edges in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns edge weights to the edges in the edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges in edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SetEdgeWeights, List[RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g]], Combinatorica`Private`myfn, Combinatorica`Private`myrange], CompoundExpression[Set[List[Combinatorica`Private`myfn, Combinatorica`Private`myrange], ReplaceAll[List[WeightingFunction, WeightRange], Flatten[List[Combinatorica`Private`opts, Options[SetEdgeWeights]]]]], Switch[Combinatorica`Private`myfn, Random, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomReal[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], RandomInteger, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomInteger[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], Alternatives[Euclidean, LNorm[Blank[]]], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Combinatorica`Private`Distance[Part[Combinatorica`Private`v, Slot[1]], Combinatorica`Private`myfn]]]], Combinatorica`Private`e]], Blank[], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Apply[Combinatorica`Private`myfn, Transpose[List[Slot[1], Part[Combinatorica`Private`v, Slot[1]]]]]]]], Combinatorica`Private`e]]]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`opts]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], Condition[SetGraphOptions[Combinatorica`Private`g, MapIndexed[Function[List[Slot[1], Rule[EdgeWeight, Part[Combinatorica`Private`weights, First[Slot[2]]]]]], If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Combinatorica`Private`e], Combinatorica`Private`e]]], Equal[Length[Combinatorica`Private`weights], Length[Combinatorica`Private`e]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`weights]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[WeightingFunction, Random], Rule[WeightRange, List[0, 1]]]], Rule[\"Attributes\", List[Pro...", "msgs": [], "secs": 0.026000000000000002} +{"i": 123, "status": "ok", "out": "List[4, 3, 5, 3, 5, 4, 4, 3, 5, 4, 5, 5, 5, 3, 3, 4, 4, 3]", "msgs": [], "secs": 0.001} +{"i": 124, "status": "ok", "out": "List[Rule[WeightingFunction, Random], Rule[WeightRange, List[0, 1]]]", "msgs": [], "secs": 0.0} +{"i": 125, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"s\\\", \\\"TI\\\"], \\\",\\\", RowBox[{SubscriptBox[StyleBox[\\\"name\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\"\\[Rule]\\\", SubscriptBox[StyleBox[\\\"value\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\",\\\", RowBox[{SubscriptBox[StyleBox[\\\"name\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\"\\[Rule]\\\", SubscriptBox[StyleBox[\\\"value\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) sets the specified default options for a symbol \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"stream\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) or \\!\\(\\*RowBox[{\\\"SetOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"\\\\\\\"\\\\!\\\\(\\\\*StyleBox[\\\\\\\"name\\\\\\\",\\\\\\\"TI\\\\\\\"]\\\\)\\\\\\\"\\\", ShowStringCharacters->True], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) sets options associated with a particular stream. \\n\\!\\(\\*RowBox[{\\\"SetOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"object\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) sets options associated with an external object such as a NotebookObject or CloudObject. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/SetOptions.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"System`SetOptions\"]], False]", "msgs": [], "secs": 0.039} +{"i": 126, "status": "ok", "out": "List[Rule[WeightingFunction, RandomInteger], Rule[WeightRange, List[0, 1]]]", "msgs": [], "secs": 0.0} +{"i": 127, "status": "ok", "out": "List[1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1]", "msgs": [], "secs": 0.001} +{"i": 128, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BellmanFord\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives a shortest-path spanning tree and associated distances from vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). The shortest-path spanning tree is given by a list in which element \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) is the predecessor of vertex \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) in the shortest-path spanning tree. BellmanFord works correctly even when the edge weights are negative, provided there are no negative cycles.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BellmanFord, List[RuleDelayed[BellmanFord[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive]], Condition[Module[List[Set[Combinatorica`Private`p, Table[Combinatorica`Private`i, List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`d, Table[Infinity, List[V[Combinatorica`Private`g]]]]], CompoundExpression[Set[Part[Combinatorica`Private`d, Combinatorica`Private`s], 0], List[Combinatorica`Private`p, Combinatorica`Private`d]]], And[EmptyQ[Combinatorica`Private`g], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]]], RuleDelayed[BellmanFord[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive]], Condition[Module[List[Set[Combinatorica`Private`e, Sort[Edges[Combinatorica`Private`g, EdgeWeight]]], Set[Combinatorica`Private`n, V[Combinatorica`Private`g]], Set[Combinatorica`Private`e1, List[]], Set[Combinatorica`Private`w1, List[]], Set[Combinatorica`Private`e2, List[]], Set[Combinatorica`Private`w2, List[]], Combinatorica`Private`b], CompoundExpression[If[UndirectedQ[Combinatorica`Private`g], CompoundExpression[Set[List[Combinatorica`Private`e1, Combinatorica`Private`w1], Transpose[Combinatorica`Private`e]], Set[List[Combinatorica`Private`e2, Combinatorica`Private`w2], Transpose[Reverse[Sort[MapApply[Function[List[Reverse[Slot[1]], Slot[2]]], Combinatorica`Private`e]]]]], Set[Combinatorica`Private`b, Combinatorica`Private`Zap[Combinatorica`Private`BF[Combinatorica`Private`n, Combinatorica`Private`s, Combinatorica`Private`e1, Times[Round[Times[Power[10, 5], 1.`]], Combinatorica`Private`w1], Combinatorica`Private`e2, Times[Round[Times[Power[10, 5], 1.`]], Combinatorica`Private`w2]]]]], CompoundExpression[Set[Combinatorica`Private`e1, Select[Combinatorica`Private`e, Function[Less[Part[Slot[1], 1, 1], Part[Slot[1], 1, 2]]]]], Set[Combinatorica`Private`e2, Select[Combinatorica`Private`e, Function[Greater[Part[Slot[1], 1, 1], Part[Slot[1], 1, 2]]]]], Set[List[Combinatorica`Private`e1, Combinatorica`Private`w1], If[Unequal[Combinatorica`Private`e1, List[]], Transpose[Combinatorica`Private`e1], List[List[List[1, 1]], List[Round[Times[Power[10, 5], 0.`]]]]]], Set[List[Combinatorica`Private`e2, Combinatorica`Private`w2], If[Unequal[Combinatorica`Private`e2, List[]], Transpose[Combinatorica`Private`e2], List[List[List[1, 1]], List[Round[Times[Power[10, 5], 0.`]]]]]], Set[Combinatorica`Private`b, Combinatorica`Private`Zap[Combinatorica`Private`BF[Combinatorica`Private`n, Combinatorica`Private`s, Combinatorica`Private`e1, Times[Round[Times[Power[10, 5], 1.`]], Combinatorica`Private`w1], Combinatorica`Private`e2, Times[Round[Times[Power[10, 5], 1.`]], Combinatorica`Private`w2]]]]]], List[Part[Combinatorica`Private`b, 1], Table[If[And[Equal[Combinatorica`Private`i, Part[Combinatorica`Private`b, 1, Combinatorica`Private`i]], Unequal[Combinatorica`Private`i, Combinatorica`Private`s]], Infinity, Part[Combinatorica`Private`b, 2, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Part[Combinatorica`Private`b, 2]]]]]]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]]]]], Rule[\"...", "msgs": [], "secs": 0.027} +{"i": 129, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[10, 1]], List[List[4, 1]], List[List[6, 1]], List[List[9, 3]]], List[List[List[80902, 58779]], List[List[30902, 95106]], List[List[-30902, 95106]], List[List[-80902, 58779]], List[List[-100000, 0]], List[List[-80902, -58779]], List[List[-30902, -95106]], List[List[30902, -95106]], List[List[80902, -58779]], List[List[100000, 0]]], Rule[EdgeDirection, True]]", "msgs": [], "secs": 0.0} +{"i": 130, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 131, "status": "ok", "out": "Graph[List[List[List[1, 2], Rule[EdgeWeight, 2]], List[List[2, 3], Rule[EdgeWeight, -2]], List[List[3, 4], Rule[EdgeWeight, 5]], List[List[4, 5], Rule[EdgeWeight, 5]], List[List[5, 6], Rule[EdgeWeight, 3]], List[List[6, 7], Rule[EdgeWeight, 3]], List[List[7, 8], Rule[EdgeWeight, 3]], List[List[8, 9], Rule[EdgeWeight, 5]], List[List[9, 10], Rule[EdgeWeight, 5]], List[List[10, 1], Rule[EdgeWeight, 3]], List[List[4, 1], Rule[EdgeWeight, -3]], List[List[6, 1], Rule[EdgeWeight, 0]], List[List[9, 3], Rule[EdgeWeight, -2]]], List[List[List[80902, 58779]], List[List[30902, 95106]], List[List[-30902, 95106]], List[List[-80902, 58779]], List[List[-100000, 0]], List[List[-80902, -58779]], List[List[-30902, -95106]], List[List[30902, -95106]], List[List[80902, -58779]], List[List[100000, 0]]], Rule[EdgeDirection, True]]", "msgs": [], "secs": 0.0} +{"i": 132, "status": "ok", "out": "List[List[List[1, 2], 2], List[List[2, 3], -2], List[List[3, 4], 5], List[List[4, 5], 5], List[List[5, 6], 3], List[List[6, 7], 3], List[List[7, 8], 3], List[List[8, 9], 5], List[List[9, 10], 5], List[List[10, 1], 3], List[List[4, 1], -3], List[List[6, 1], 0], List[List[9, 3], -2]]", "msgs": [], "secs": 0.0} +{"i": 133, "status": "ok", "out": "List[List[1, 1, 2, 3, 4, 5, 6, 7, 8, 9], List[0, 2, 0, 5, 10, 13, 16, 19, 24, 29]]", "msgs": [], "secs": 0.0} +{"i": 134, "status": "ok", "out": "List[List[1, 1, 2, 3, 4, 5, 6, 7, 8, 9], List[0, 2, 0, 5, 10, 13, 16, 19, 24, 29]]", "msgs": [], "secs": 0.0} +{"i": 135, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TreeIsomorphismQ\\\", \\\"[\\\", RowBox[{SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"]\\\"}]\\) yields True if the trees \\!\\(\\*SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\) and \\!\\(\\*SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]\\) are isomorphic. It yields False otherwise.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TreeIsomorphismQ, List[RuleDelayed[TreeIsomorphismQ[PatternTest[Pattern[Combinatorica`Private`t1, Blank[Graph]], TreeQ], PatternTest[Pattern[Combinatorica`Private`t2, Blank[Graph]], TreeQ]], And[Equal[V[Combinatorica`Private`t1], V[Combinatorica`Private`t2]], Or[IdenticalQ[Combinatorica`Private`t1, Combinatorica`Private`t2], Equal[TreeToCertificate[Combinatorica`Private`t1], TreeToCertificate[Combinatorica`Private`t2]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TreeIsomorphismQ\"]], False]", "msgs": [], "secs": 0.026000000000000002} +{"i": 136, "status": "ok", "out": "PermuteSubgraph[Tree[12, List[Tree[3, List[Tree[40, List[Tree[31, List[Tree[24, List[Tree[29, List[Tree[20, None], Tree[17, List[Tree[27, None]]], Tree[18, List[Tree[28, None], Tree[21, None], Tree[30, List[Tree[33, None]]]]], Tree[34, List[Tree[23, None], Tree[15, List[Tree[9, None]]]]], Tree[19, List[Tree[25, List[Tree[16, List[Tree[37, None], Tree[8, None]]], Tree[38, List[Tree[2, None], Tree[7, None]]]]]]]]], Tree[26, None], Tree[1, None], Tree[35, List[Tree[5, None], Tree[11, List[Tree[13, None], Tree[6, None]]], Tree[39, List[Tree[14, List[Tree[22, None]]]]]]], Tree[36, None]]]]], Tree[32, None], Tree[10, None]]], Tree[4, None]]]]], List[37, 14, 31, 18, 32, 38, 33, 27, 24, 2, 36, 34, 15, 5, 22, 19, 6, 12, 1, 25, 11, 8, 3, 29, 13, 7, 23, 39, 21, 4, 9, 10, 30, 26, 20, 28, 35, 40, 16, 17]]", "msgs": [], "secs": 0.003} +{"i": 137, "status": "ok", "out": "TreeIsomorphismQ[Tree[12, List[Tree[3, List[Tree[40, List[Tree[31, List[Tree[24, List[Tree[29, List[Tree[20, None], Tree[17, List[Tree[27, None]]], Tree[18, List[Tree[28, None], Tree[21, None], Tree[30, List[Tree[33, None]]]]], Tree[34, List[Tree[23, None], Tree[15, List[Tree[9, None]]]]], Tree[19, List[Tree[25, List[Tree[16, List[Tree[37, None], Tree[8, None]]], Tree[38, List[Tree[2, None], Tree[7, None]]]]]]]]], Tree[26, None], Tree[1, None], Tree[35, List[Tree[5, None], Tree[11, List[Tree[13, None], Tree[6, None]]], Tree[39, List[Tree[14, List[Tree[22, None]]]]]]], Tree[36, None]]]]], Tree[32, None], Tree[10, None]]], Tree[4, None]]]]], PermuteSubgraph[Tree[12, List[Tree[3, List[Tree[40, List[Tree[31, List[Tree[24, List[Tree[29, List[Tree[20, None], Tree[17, List[Tree[27, None]]], Tree[18, List[Tree[28, None], Tree[21, None], Tree[30, List[Tree[33, None]]]]], Tree[34, List[Tree[23, None], Tree[15, List[Tree[9, None]]]]], Tree[19, List[Tree[25, List[Tree[16, List[Tree[37, None], Tree[8, None]]], Tree[38, List[Tree[2, None], Tree[7, None]]]]]]]]], Tree[26, None], Tree[1, None], Tree[35, List[Tree[5, None], Tree[11, List[Tree[13, None], Tree[6, None]]], Tree[39, List[Tree[14, List[Tree[22, None]]]]]]], Tree[36, None]]]]], Tree[32, None], Tree[10, None]]], Tree[4, None]]]]], List[37, 14, 31, 18, 32, 38, 33, 27, 24, 2, 36, 34, 15, 5, 22, 19, 6, 12, 1, 25, 11, 8, 3, 29, 13, 7, 23, 39, 21, 4, 9, 10, 30, 26, 20, 28, 35, 40, 16, 17]]]", "msgs": [], "secs": 0.0} +{"i": 138, "status": "ok", "out": "IsomorphicQ[Tree[12, List[Tree[3, List[Tree[40, List[Tree[31, List[Tree[24, List[Tree[29, List[Tree[20, None], Tree[17, List[Tree[27, None]]], Tree[18, List[Tree[28, None], Tree[21, None], Tree[30, List[Tree[33, None]]]]], Tree[34, List[Tree[23, None], Tree[15, List[Tree[9, None]]]]], Tree[19, List[Tree[25, List[Tree[16, List[Tree[37, None], Tree[8, None]]], Tree[38, List[Tree[2, None], Tree[7, None]]]]]]]]], Tree[26, None], Tree[1, None], Tree[35, List[Tree[5, None], Tree[11, List[Tree[13, None], Tree[6, None]]], Tree[39, List[Tree[14, List[Tree[22, None]]]]]]], Tree[36, None]]]]], Tree[32, None], Tree[10, None]]], Tree[4, None]]]]], PermuteSubgraph[Tree[12, List[Tree[3, List[Tree[40, List[Tree[31, List[Tree[24, List[Tree[29, List[Tree[20, None], Tree[17, List[Tree[27, None]]], Tree[18, List[Tree[28, None], Tree[21, None], Tree[30, List[Tree[33, None]]]]], Tree[34, List[Tree[23, None], Tree[15, List[Tree[9, None]]]]], Tree[19, List[Tree[25, List[Tree[16, List[Tree[37, None], Tree[8, None]]], Tree[38, List[Tree[2, None], Tree[7, None]]]]]]]]], Tree[26, None], Tree[1, None], Tree[35, List[Tree[5, None], Tree[11, List[Tree[13, None], Tree[6, None]]], Tree[39, List[Tree[14, List[Tree[22, None]]]]]]], Tree[36, None]]]]], Tree[32, None], Tree[10, None]]], Tree[4, None]]]]], List[37, 14, 31, 18, 32, 38, 33, 27, 24, 2, 36, 34, 15, 5, 22, 19, 6, 12, 1, 25, 11, 8, 3, 29, 13, 7, 23, 39, 21, 4, 9, 10, 30, 26, 20, 28, 35, 40, 16, 17]]]", "msgs": [], "secs": 0.0} +{"i": 139, "status": "ok", "out": "List[List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} diff --git a/book/wma/newFeatures.s2.jsonl b/book/wma/newFeatures.s2.jsonl new file mode 100644 index 0000000..dad008e --- /dev/null +++ b/book/wma/newFeatures.s2.jsonl @@ -0,0 +1,139 @@ +{"i": 1, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]], List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 2, "status": "ok", "out": "List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]]", "msgs": [], "secs": 0.0} +{"i": 3, "status": "ok", "out": "List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]]", "msgs": [], "secs": 0.0} +{"i": 4, "status": "ok", "out": "Graph", "msgs": [], "secs": 0.0} +{"i": 5, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]], List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]], Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 0, 1]]]", "msgs": [], "secs": 0.0} +{"i": 6, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 7, "status": "ok", "out": "Graph[List[List[List[1, 2], Rule[VertexStyle, Disc[Large]], Rule[VertexColor, RGBColor[0, 1, 0]]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]], List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]], Rule[VertexColor, RGBColor[1, 0, 0]], Rule[EdgeColor, RGBColor[0, 0, 1]]]", "msgs": [], "secs": 0.0} +{"i": 8, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 9, "status": "ok", "out": "4", "msgs": [], "secs": 0.0} +{"i": 10, "status": "ok", "out": "List[List[List[1, 2], Rule[VertexStyle, Disc[Large]], Rule[VertexColor, RGBColor[0, 1, 0]]], List[List[1, 3]], List[List[1, 4]], List[List[2, 3]], List[List[2, 4]], List[List[3, 4]]]", "msgs": [], "secs": 0.0} +{"i": 11, "status": "ok", "out": "List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]]]", "msgs": [], "secs": 0.0} +{"i": 12, "status": "ok", "out": "Rule[VertexColor, RGBColor[1, 0, 0]]", "msgs": [], "secs": 0.0} +{"i": 13, "status": "ok", "out": "Rule[EdgeColor, RGBColor[0, 0, 1]]", "msgs": [], "secs": 0.0} +{"i": 14, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 15, "status": "ok", "out": "88", "msgs": [], "secs": 0.0} +{"i": 16, "status": "ok", "out": "116336", "msgs": [], "secs": 0.006} +{"i": 17, "status": "ok", "out": "", "msgs": [], "secs": 0.14300000000000002} +{"i": 18, "status": "ok", "out": "116688", "msgs": [], "secs": 0.0} +{"i": 19, "status": "ok", "out": "88", "msgs": [], "secs": 0.0} +{"i": 20, "status": "ok", "out": "55600", "msgs": [], "secs": 0.027} +{"i": 21, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`DihedralGroup\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DihedralGroup, List[RuleDelayed[DihedralGroup[0], List[List[]]], RuleDelayed[DihedralGroup[1], List[List[1]]], RuleDelayed[DihedralGroup[2], List[List[1, 2], List[2, 1]]], RuleDelayed[DihedralGroup[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Module[List[Set[Combinatorica`Private`c, CyclicGroup[Combinatorica`Private`n]]], Join[Combinatorica`Private`c, Map[Reverse, Combinatorica`Private`c]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DihedralGroup\"]], False]", "msgs": [], "secs": 0.089} +{"i": 22, "status": "ok", "out": "List[List[1, 2, 3, 4], List[4, 1, 2, 3], List[3, 4, 1, 2], List[2, 3, 4, 1], List[4, 3, 2, 1], List[3, 2, 1, 4], List[2, 1, 4, 3], List[1, 4, 3, 2]]", "msgs": [], "secs": 0.0} +{"i": 23, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SymmetricGroupIndex\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the cycle index of the symmetric group on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) symbols, expressed as a polynomial in \\!\\(\\*RowBox[{RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", \\\"1\\\", \\\"]\\\"}], \\\",\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", \\\"2\\\", \\\"]\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SymmetricGroupIndex, List[RuleDelayed[SymmetricGroupIndex[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`x, Blank[Symbol]]], Apply[Plus, Map[Function[Times[Slot[1], Power[Combinatorica`Private`SymmetricCoefficient[Slot[1], Combinatorica`Private`x], -1]]], Map[Function[Apply[Times, Slot[1]]], Map[Combinatorica`Private`x, Partitions[Combinatorica`Private`n], List[2]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SymmetricGroupIndex\"]], False]", "msgs": [], "secs": 0.07200000000000001} +{"i": 24, "status": "ok", "out": "Plus[Times[Rational[1, 720], Power[x[1], 6]], Times[Rational[1, 48], Power[x[1], 4], x[2]], Times[Rational[1, 16], Power[x[1], 2], Power[x[2], 2]], Times[Rational[1, 48], Power[x[2], 3]], Times[Rational[1, 18], Power[x[1], 3], x[3]], Times[Rational[1, 6], x[1], x[2], x[3]], Times[Rational[1, 18], Power[x[3], 2]], Times[Rational[1, 8], Power[x[1], 2], x[4]], Times[Rational[1, 8], x[2], x[4]], Times[Rational[1, 5], x[1], x[5]], Times[Rational[1, 6], x[6]]]", "msgs": [], "secs": 0.001} +{"i": 25, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"DihedralGroupIndex\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the cycle index of the dihedral group on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) symbols, expressed as a polynomial in \\!\\(\\*RowBox[{RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", \\\"1\\\", \\\"]\\\"}], \\\",\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", \\\"2\\\", \\\"]\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, DihedralGroupIndex, List[RuleDelayed[DihedralGroupIndex[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`x, Blank[Symbol]]], Expand[Simplify[Plus[Times[CyclicGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Power[2, -1]], If[EvenQ[Combinatorica`Private`n], Times[Plus[Power[Combinatorica`Private`x[2], Times[Combinatorica`Private`n, Power[2, -1]]], Times[Power[Combinatorica`Private`x[1], 2], Power[Combinatorica`Private`x[2], Plus[Times[Combinatorica`Private`n, Power[2, -1]], -1]]]], Power[4, -1]], Times[Times[Combinatorica`Private`x[1], Power[Combinatorica`Private`x[2], Times[Plus[Combinatorica`Private`n, -1], Power[2, -1]]]], Power[2, -1]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`DihedralGroupIndex\"]], False]", "msgs": [], "secs": 0.045} +{"i": 26, "status": "ok", "out": "Plus[Times[Rational[1, 20], Power[y[1], 10]], Times[Rational[1, 4], Power[y[1], 2], Power[y[2], 4]], Times[Rational[3, 10], Power[y[2], 5]], Times[Rational[1, 5], Power[y[5], 2]], Times[Rational[1, 5], y[10]]]", "msgs": [], "secs": 0.017} +{"i": 27, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"GraphPolynomial\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns a polynomial in \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) in which the coefficient of \\!\\(\\*SuperscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"m\\\", \\\"TI\\\"]]\\) is the number of nonisomorphic graphs with \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices and \\!\\(\\*StyleBox[\\\"m\\\", \\\"TI\\\"]\\) edges. \\n\\!\\(\\*RowBox[{\\\"GraphPolynomial\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", \\\"Directed\\\"}], \\\"]\\\"}]\\) returns a polynomial in \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) in which the coefficient of \\!\\(\\*SuperscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"m\\\", \\\"TI\\\"]]\\) is the number of nonisomorphic directed graphs with \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices and \\!\\(\\*StyleBox[\\\"m\\\", \\\"TI\\\"]\\) edges.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GraphPolynomial, List[RuleDelayed[GraphPolynomial[0, Blank[]], 1], RuleDelayed[GraphPolynomial[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`x, Blank[]]], OrbitInventory[PairGroupIndex[SymmetricGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x], Combinatorica`Private`x, List[1, Combinatorica`Private`x]]], RuleDelayed[GraphPolynomial[0, Blank[], Directed], 1], RuleDelayed[GraphPolynomial[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`x, Blank[]], Directed], OrbitInventory[PairGroupIndex[SymmetricGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x, Ordered], Combinatorica`Private`x, List[1, Combinatorica`Private`x]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GraphPolynomial\"]], False]", "msgs": [], "secs": 0.041} +{"i": 28, "status": "ok", "out": "Plus[1, x, Times[2, Power[x, 2]], Times[5, Power[x, 3]], Times[9, Power[x, 4]], Times[15, Power[x, 5]], Times[21, Power[x, 6]], Times[24, Power[x, 7]], Times[24, Power[x, 8]], Times[21, Power[x, 9]], Times[15, Power[x, 10]], Times[9, Power[x, 11]], Times[5, Power[x, 12]], Times[2, Power[x, 13]], Power[x, 14], Power[x, 15]]", "msgs": [], "secs": 0.003} +{"i": 29, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"NumberOfGraphs\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the number of nonisomorphic undirected graphs with \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices. \\n\\!\\(\\*RowBox[{\\\"NumberOfGraphs\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"m\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the number of nonisomorphic undirected graphs with \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) vertices and \\!\\(\\*StyleBox[\\\"m\\\", \\\"TI\\\"]\\) edges.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, NumberOfGraphs, List[RuleDelayed[NumberOfGraphs[0], 1], RuleDelayed[NumberOfGraphs[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Module[List[Combinatorica`Private`x], OrbitInventory[PairGroupIndex[SymmetricGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x], Combinatorica`Private`x, 2]]], RuleDelayed[NumberOfGraphs[Pattern[Combinatorica`Private`n, Blank[Integer]], 0], Condition[1, GreaterEqual[Combinatorica`Private`n, 0]]], RuleDelayed[NumberOfGraphs[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`m, Blank[Integer]]], Module[List[Combinatorica`Private`x], Coefficient[GraphPolynomial[Combinatorica`Private`n, Combinatorica`Private`x], Power[Combinatorica`Private`x, Combinatorica`Private`m]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`NumberOfGraphs\"]], False]", "msgs": [], "secs": 0.061} +{"i": 30, "status": "ok", "out": "TableForm[List[1, 2, 4, 11, 34, 156, 1044, 12346, 274668, 12005168, 1018997864, 165091172592, 50502031367952, 29054155657235488, 31426485969804308768]]", "msgs": [], "secs": 0.215} +{"i": 31, "status": "ok", "out": "", "msgs": [], "secs": 5.716} +{"i": 32, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ListNecklaces\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", \\\"Cyclic\\\"}], \\\"]\\\"}]\\) returns all distinct necklaces whose beads are colored by colors from \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\). Here \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) is a list of \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) not necessarily distinct colors, and two colored necklaces are considered equivalent if one can be obtained by rotating the other. \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"ListNecklaces\\\", \\\"[\\\"}], StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", \\\"Dihedral\\\"}], \\\"]\\\"}]\\) is similar except that two necklaces are considered equivalent if one can be obtained from the other by a rotation or a flip.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ListNecklaces, List[RuleDelayed[Condition[ListNecklaces[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`c, Blank[List]], Cyclic], SameQ[Length[Combinatorica`Private`c], Combinatorica`Private`n]], OrbitRepresentatives[CyclicGroup[Combinatorica`Private`n], Permutations[Combinatorica`Private`c]]], RuleDelayed[Condition[ListNecklaces[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`c, Blank[List]], Dihedral], SameQ[Length[Combinatorica`Private`c], Combinatorica`Private`n]], OrbitRepresentatives[DihedralGroup[Combinatorica`Private`n], Permutations[Combinatorica`Private`c]]], RuleDelayed[Condition[ListNecklaces[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`c, Blank[List]], Pattern[Combinatorica`Private`any, Blank[]]], Greater[Length[Combinatorica`Private`c], 1]], ListNecklaces[Combinatorica`Private`n, PadRight[Combinatorica`Private`c, Combinatorica`Private`n, Combinatorica`Private`c], Combinatorica`Private`any]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ListNecklaces\"]], False]", "msgs": [], "secs": 0.03} +{"i": 33, "status": "ok", "out": "List[List[r, r, b, b, y], List[b, b, r, y, r], List[b, r, b, r, y], List[b, r, r, b, y]]", "msgs": [], "secs": 0.001} +{"i": 34, "status": "ok", "out": "List[List[r, r, b, b, y], List[b, b, r, r, y], List[b, b, r, y, r], List[b, r, b, r, y], List[b, r, b, y, r], List[b, r, r, b, y]]", "msgs": [], "secs": 0.0} +{"i": 35, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"NumberOfNecklaces\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"nc\\\", \\\"TI\\\"], \\\",\\\", \\\"Cyclic\\\"}], \\\"]\\\"}]\\) returns the number of distinct ways in which an \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\)-bead necklace can be colored with \\!\\(\\*StyleBox[\\\"nc\\\", \\\"TI\\\"]\\) colors, assuming that two colorings are equivalent if one can be obtained from the other by a rotation. \\n\\!\\(\\*RowBox[{\\\"NumberOfNecklaces\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"nc\\\", \\\"TI\\\"], \\\",\\\", \\\"Dihedral\\\"}], \\\"]\\\"}]\\) returns the number of distinct ways in which an \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\)-bead necklace can be colored with \\!\\(\\*StyleBox[\\\"nc\\\", \\\"TI\\\"]\\) colors, assuming that two colorings are equivalent if one can be obtained from the other by a rotation or a flip.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, NumberOfNecklaces, List[RuleDelayed[NumberOfNecklaces[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`nc, Blank[Integer]], Positive], Cyclic], Module[List[Combinatorica`Private`x], OrbitInventory[CyclicGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x, Combinatorica`Private`nc]]], RuleDelayed[NumberOfNecklaces[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`nc, Blank[Integer]], Positive], Dihedral], Module[List[Combinatorica`Private`x], OrbitInventory[DihedralGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x, Combinatorica`Private`nc]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`NumberOfNecklaces\"]], False]", "msgs": [], "secs": 0.029} +{"i": 36, "status": "ok", "out": "TableForm[List[78, 126, 224, 380, 687, 1224, 2250, 4112, 7685, 14310, 27012]]", "msgs": [], "secs": 0.035} +{"i": 37, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"NecklacePolynomial\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", \\\"Cyclic\\\"}], \\\"]\\\"}]\\) returns a polynomial in the colors in \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\) whose coefficients represent numbers of ways of coloring an \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\)-bead necklace with colors chosen from \\!\\(\\*StyleBox[\\\"c\\\", \\\"TI\\\"]\\), assuming that two colorings are equivalent if one can be obtained from the other by a rotation. \\n\\!\\(\\*RowBox[{\\\"NecklacePolynomial\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", \\\"Dihedral\\\"}], \\\"]\\\"}]\\) is different in that it considers two colorings equivalent if one can be obtained from the other by a rotation or a flip or both.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, NecklacePolynomial, List[RuleDelayed[NecklacePolynomial[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`c, Blank[]], Cyclic], OrbitInventory[CyclicGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x, Combinatorica`Private`c]], RuleDelayed[NecklacePolynomial[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], Pattern[Combinatorica`Private`c, Blank[]], Dihedral], OrbitInventory[DihedralGroupIndex[Combinatorica`Private`n, Combinatorica`Private`x], Combinatorica`Private`x, Combinatorica`Private`c]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`NecklacePolynomial\"]], False]", "msgs": [], "secs": 0.029} +{"i": 38, "status": "ok", "out": "Plus[Power[B, 10], Times[Power[B, 9], G], Times[5, Power[B, 8], Power[G, 2]], Times[12, Power[B, 7], Power[G, 3]], Times[22, Power[B, 6], Power[G, 4]], Times[26, Power[B, 5], Power[G, 5]], Times[22, Power[B, 4], Power[G, 6]], Times[12, Power[B, 3], Power[G, 7]], Times[5, Power[B, 2], Power[G, 8]], Times[B, Power[G, 9]], Power[G, 10], Times[Power[B, 9], R], Times[9, Power[B, 8], G, R], Times[36, Power[B, 7], Power[G, 2], R], Times[84, Power[B, 6], Power[G, 3], R], Times[126, Power[B, 5], Power[G, 4], R], Times[126, Power[B, 4], Power[G, 5], R], Times[84, Power[B, 3], Power[G, 6], R], Times[36, Power[B, 2], Power[G, 7], R], Times[9, B, Power[G, 8], R], Times[Power[G, 9], R], Times[5, Power[B, 8], Power[R, 2]], Times[36, Power[B, 7], G, Power[R, 2]], Times[128, Power[B, 6], Power[G, 2], Power[R, 2]], Times[252, Power[B, 5], Power[G, 3], Power[R, 2]], Times[318, Power[B, 4], Power[G, 4], Power[R, 2]], Times[252, Power[B, 3], Power[G, 5], Power[R, 2]], Times[128, Power[B, 2], Power[G, 6], Power[R, 2]], Times[36, B, Power[G, 7], Power[R, 2]], Times[5, Power[G, 8], Power[R, 2]], Times[12, Power[B, 7], Power[R, 3]], Times[84, Power[B, 6], G, Power[R, 3]], Times[252, Power[B, 5], Power[G, 2], Power[R, 3]], Times[420, Power[B, 4], Power[G, 3], Power[R, 3]], Times[420, Power[B, 3], Power[G, 4], Power[R, 3]], Times[252, Power[B, 2], Power[G, 5], Power[R, 3]], Times[84, B, Power[G, 6], Power[R, 3]], Times[12, Power[G, 7], Power[R, 3]], Times[22, Power[B, 6], Power[R, 4]], Times[126, Power[B, 5], G, Power[R, 4]], Times[318, Power[B, 4], Power[G, 2], Power[R, 4]], Times[420, Power[B, 3], Power[G, 3], Power[R, 4]], Times[318, Power[B, 2], Power[G, 4], Power[R, 4]], Times[126, B, Power[G, 5], Power[R, 4]], Times[22, Power[G, 6], Power[R, 4]], Times[26, Power[B, 5], Power[R, 5]], Times[126, Power[B, 4], G, Power[R, 5]], Times[252, Power[B, 3], Power[G, 2], Power[R, 5]], Times[252, Power[B, 2], Power[G, 3], Power[R, 5]], Times[126, B, Power[G, 4], Power[R, 5]], Times[26, Power[G, 5], Power[R, 5]], Times[22, Power[B, 4], Power[R, 6]], Times[84, Power[B, 3], G, Power[R, 6]], Times[128, Power[B, 2], Power[G, 2], Power[R, 6]], Times[84, B, Power[G, 3], Power[R, 6]], Times[22, Power[G, 4], Power[R, 6]], Times[12, Power[B, 3], Power[R, 7]], Times[36, Power[B, 2], G, Power[R, 7]], Times[36, B, Power[G, 2], Power[R, 7]], Times[12, Power[G, 3], Power[R, 7]], Times[5, Power[B, 2], Power[R, 8]], Times[9, B, G, Power[R, 8]], Times[5, Power[G, 2], Power[R, 8]], Times[B, Power[R, 9]], Times[G, Power[R, 9]], Power[R, 10]]", "msgs": [], "secs": 0.001} +{"i": 39, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetPartitions\\\", \\\"[\\\", StyleBox[\\\"set\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the list of set partitions of \\!\\(\\*StyleBox[\\\"set\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetPartitions\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the list of set partitions of \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"1\\\", \\\",\\\", \\\"2\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SetPartitions, List[RuleDelayed[SetPartitions[0], List[List[]]], RuleDelayed[SetPartitions[List[]], List[List[]]], RuleDelayed[SetPartitions[Pattern[Combinatorica`Private`s, Blank[List]]], Flatten[Table[KSetPartitions[Combinatorica`Private`s, Combinatorica`Private`i], List[Combinatorica`Private`i, Length[Combinatorica`Private`s]]], 1]], RuleDelayed[SetPartitions[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], SetPartitions[Range[Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`SetPartitions\"]], False]", "msgs": [], "secs": 0.029} +{"i": 40, "status": "ok", "out": "List[List[List[1, 2, 3, 4]], List[List[1], List[2, 3, 4]], List[List[1, 2], List[3, 4]], List[List[1, 3, 4], List[2]], List[List[1, 2, 3], List[4]], List[List[1, 4], List[2, 3]], List[List[1, 2, 4], List[3]], List[List[1, 3], List[2, 4]], List[List[1], List[2], List[3, 4]], List[List[1], List[2, 3], List[4]], List[List[1], List[2, 4], List[3]], List[List[1, 2], List[3], List[4]], List[List[1, 3], List[2], List[4]], List[List[1, 4], List[2], List[3]], List[List[1], List[2], List[3], List[4]]]", "msgs": [], "secs": 0.0} +{"i": 41, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"KSetPartitions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"set\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the list of set partitions of \\!\\(\\*StyleBox[\\\"set\\\", \\\"TI\\\"]\\) with \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) blocks. \\n\\!\\(\\*RowBox[{\\\"KSetPartitions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns the list of set partitions of \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"1\\\", \\\",\\\", \\\"2\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]\\) with \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) blocks. If all set partitions of a set are needed, use the function SetPartitions.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, KSetPartitions, List[RuleDelayed[KSetPartitions[0, 0], List[List[]]], RuleDelayed[KSetPartitions[List[], 0], List[List[]]], RuleDelayed[KSetPartitions[Pattern[Combinatorica`Private`s, Blank[List]], 0], List[]], RuleDelayed[KSetPartitions[Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[List[], Greater[Combinatorica`Private`k, Length[Combinatorica`Private`s]]]], RuleDelayed[KSetPartitions[Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[List[Map[Function[List[Slot[1]]], Combinatorica`Private`s]], SameQ[Combinatorica`Private`k, Length[Combinatorica`Private`s]]]], RuleDelayed[KSetPartitions[Pattern[Combinatorica`Private`s, Blank[List]], Pattern[Combinatorica`Private`k, Blank[Integer]]], Condition[Block[List[Set[$RecursionLimit, Infinity], Combinatorica`Private`j], Join[Map[Function[Prepend[Slot[1], List[First[Combinatorica`Private`s]]]], KSetPartitions[Rest[Combinatorica`Private`s], Plus[Combinatorica`Private`k, -1]]], Flatten[Map[Function[Table[Prepend[Delete[Slot[1], Combinatorica`Private`j], Prepend[Part[Slot[1], Combinatorica`Private`j], Part[Combinatorica`Private`s, 1]]], List[Combinatorica`Private`j, Length[Slot[1]]]]], KSetPartitions[Rest[Combinatorica`Private`s], Combinatorica`Private`k]], 1]]], And[Greater[Combinatorica`Private`k, 0], Less[Combinatorica`Private`k, Length[Combinatorica`Private`s]]]]], RuleDelayed[KSetPartitions[0, PatternTest[Pattern[Combinatorica`Private`k, Blank[Integer]], Positive]], List[]], RuleDelayed[KSetPartitions[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], 0], List[]], RuleDelayed[KSetPartitions[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`k, Blank[Integer]], Positive]], KSetPartitions[Range[Combinatorica`Private`n], Combinatorica`Private`k]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`KSetPartitions\"]], False]", "msgs": [], "secs": 0.03} +{"i": 42, "status": "ok", "out": "List[List[List[1], List[2], List[3, 4, 5]], List[List[1], List[2, 3], List[4, 5]], List[List[1], List[2, 4, 5], List[3]], List[List[1], List[2, 3, 4], List[5]], List[List[1], List[2, 5], List[3, 4]], List[List[1], List[2, 3, 5], List[4]], List[List[1], List[2, 4], List[3, 5]], List[List[1, 2], List[3], List[4, 5]], List[List[1, 3], List[2], List[4, 5]], List[List[1, 4, 5], List[2], List[3]], List[List[1, 2], List[3, 4], List[5]], List[List[1, 3, 4], List[2], List[5]], List[List[1, 5], List[2], List[3, 4]], List[List[1, 2], List[3, 5], List[4]], List[List[1, 3, 5], List[2], List[4]], List[List[1, 4], List[2], List[3, 5]], List[List[1, 2, 3], List[4], List[5]], List[List[1, 4], List[2, 3], List[5]], List[List[1, 5], List[2, 3], List[4]], List[List[1, 2, 4], List[3], List[5]], List[List[1, 3], List[2, 4], List[5]], List[List[1, 5], List[2, 4], List[3]], List[List[1, 2, 5], List[3], List[4]], List[List[1, 3], List[2, 5], List[4]], List[List[1, 4], List[2, 5], List[3]]]", "msgs": [], "secs": 0.0} +{"i": 43, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RankSetPartition\\\", \\\"[\\\", RowBox[{StyleBox[\\\"sp\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"s\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) ranks \\!\\(\\*StyleBox[\\\"sp\\\", \\\"TI\\\"]\\) in the list of all set partitions of set \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"RankSetPartition\\\", \\\"[\\\", StyleBox[\\\"sp\\\", \\\"TI\\\"], \\\"]\\\"}]\\) ranks \\!\\(\\*StyleBox[\\\"sp\\\", \\\"TI\\\"]\\) in the list of all set partitions of the set of elements that appear in any subset in \\!\\(\\*StyleBox[\\\"sp\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RankSetPartition, List[RuleDelayed[RankSetPartition[PatternTest[Pattern[Combinatorica`Private`sp, Blank[]], SetPartitionQ]], Module[List[Set[Combinatorica`Private`s, Sort[Flatten[Combinatorica`Private`sp, 1]]], Combinatorica`Private`n, Set[Combinatorica`Private`k, Length[Combinatorica`Private`sp]], Combinatorica`Private`i], CompoundExpression[Set[Combinatorica`Private`n, Length[Combinatorica`Private`s]], Plus[Sum[StirlingSecond[Combinatorica`Private`n, Combinatorica`Private`i], List[Combinatorica`Private`i, 1, Plus[Combinatorica`Private`k, -1]]], RankKSetPartition[Combinatorica`Private`sp, Combinatorica`Private`s]]]]], RuleDelayed[RankSetPartition[Pattern[Combinatorica`Private`sp, Blank[List]], Pattern[Combinatorica`Private`s, Blank[List]]], Condition[Module[List[Set[Combinatorica`Private`n, Length[Combinatorica`Private`s]], Set[Combinatorica`Private`k, Length[Combinatorica`Private`sp]], Combinatorica`Private`i], Plus[Sum[StirlingSecond[Combinatorica`Private`n, Combinatorica`Private`i], List[Combinatorica`Private`i, 1, Plus[Combinatorica`Private`k, -1]]], RankKSetPartition[Combinatorica`Private`sp, Combinatorica`Private`s]]], SetPartitionQ[Combinatorica`Private`sp, Combinatorica`Private`s]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RankSetPartition\"]], False]", "msgs": [], "secs": 0.035} +{"i": 44, "status": "ok", "out": "29", "msgs": [], "secs": 0.001} +{"i": 45, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"UnrankSetPartition\\\", \\\"[\\\", RowBox[{StyleBox[\\\"r\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"set\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) finds a set partition of \\!\\(\\*StyleBox[\\\"set\\\", \\\"TI\\\"]\\) with rank \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"UnrankSetPartition\\\", \\\"[\\\", RowBox[{StyleBox[\\\"r\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) finds a set partition of \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{\\\"1\\\", \\\",\\\", \\\"2\\\", \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) with rank \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, UnrankSetPartition, List[Rule[UnrankSetPartition[0, 0], List[List[]]], RuleDelayed[UnrankSetPartition[0, Pattern[Combinatorica`Private`set, Blank[List]]], List[Combinatorica`Private`set]], RuleDelayed[UnrankSetPartition[PatternTest[Pattern[Combinatorica`Private`r, Blank[Integer]], Positive], Pattern[Combinatorica`Private`set, Blank[List]]], Condition[Block[List[Set[Combinatorica`Private`n, Length[Combinatorica`Private`set]], Set[Combinatorica`Private`k, 0], Set[Combinatorica`Private`sum, 0], Set[$RecursionLimit, Infinity]], CompoundExpression[While[LessEqual[Combinatorica`Private`sum, Combinatorica`Private`r], CompoundExpression[Increment[Combinatorica`Private`k], Set[Combinatorica`Private`sum, Plus[Combinatorica`Private`sum, StirlingSecond[Combinatorica`Private`n, Combinatorica`Private`k]]]]], UnrankKSetPartition[Plus[Combinatorica`Private`r, Times[-1, Plus[Combinatorica`Private`sum, Times[-1, StirlingSecond[Combinatorica`Private`n, Combinatorica`Private`k]]]]], Combinatorica`Private`set, Combinatorica`Private`k]]], Less[Combinatorica`Private`r, BellB[Length[Combinatorica`Private`set]]]]], RuleDelayed[UnrankSetPartition[Pattern[Combinatorica`Private`r, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive]], Condition[UnrankSetPartition[Combinatorica`Private`r, Range[Combinatorica`Private`n]], GreaterEqual[Combinatorica`Private`r, 0]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`UnrankSetPartition\"]], False]", "msgs": [], "secs": 0.035} +{"i": 46, "status": "ok", "out": "UnrankSetPartition[Out[0], 5]", "msgs": [], "secs": 0.0} +{"i": 47, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RandomSetPartition\\\", \\\"[\\\", StyleBox[\\\"set\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns a random set partition of \\!\\(\\*StyleBox[\\\"set\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"RandomSetPartition\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns a random set partition of the first \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) natural numbers.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RandomSetPartition, List[RuleDelayed[RandomSetPartition[List[]], List[]], RuleDelayed[RandomSetPartition[Pattern[Combinatorica`Private`set, Blank[List]]], Condition[UnrankSetPartition[RandomInteger[Plus[BellB[Length[Combinatorica`Private`set]], -1]], Combinatorica`Private`set], Greater[Length[Combinatorica`Private`set], 0]]], RuleDelayed[RandomSetPartition[Pattern[Combinatorica`Private`n, Blank[Integer]]], RandomSetPartition[Range[Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RandomSetPartition\"]], False]", "msgs": [], "secs": 0.031} +{"i": 48, "status": "ok", "out": "List[List[1, 3, 4, 7, 10], List[2, 5, 8], List[6, 9]]", "msgs": [], "secs": 0.002} +{"i": 49, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"RandomKSetPartition\\\", \\\"[\\\", RowBox[{StyleBox[\\\"set\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns a random set partition of \\!\\(\\*StyleBox[\\\"set\\\", \\\"TI\\\"]\\) with \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) blocks. \\n\\!\\(\\*RowBox[{\\\"RandomKSetPartition\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"k\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) returns a random set partition of the first \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) natural numbers into \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) blocks.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, RandomKSetPartition, List[RuleDelayed[RandomKSetPartition[0, 0], List[]], RuleDelayed[RandomKSetPartition[List[], 0], List[]], RuleDelayed[RandomKSetPartition[Pattern[Combinatorica`Private`set, Blank[List]], PatternTest[Pattern[Combinatorica`Private`k, Blank[Integer]], Positive]], Condition[UnrankKSetPartition[RandomInteger[Plus[StirlingSecond[Length[Combinatorica`Private`set], Combinatorica`Private`k], -1]], Combinatorica`Private`set, Combinatorica`Private`k], And[Greater[Length[Combinatorica`Private`set], 0], LessEqual[Combinatorica`Private`k, Length[Combinatorica`Private`set]]]]], RuleDelayed[RandomKSetPartition[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`k, Blank[Integer]], Positive]], Condition[RandomKSetPartition[Range[Combinatorica`Private`n], Combinatorica`Private`k], LessEqual[Combinatorica`Private`k, Combinatorica`Private`n]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`RandomKSetPartition\"]], False]", "msgs": [], "secs": 0.029} +{"i": 50, "status": "ok", "out": "List[List[1], List[2, 4, 5, 8], List[3, 6], List[7, 9, 10]]", "msgs": [], "secs": 0.0} +{"i": 51, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BellB\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives the Bell number \\!\\(\\*SubscriptBox[\\\"B\\\", \\\"n\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"BellB\\\", \\\"[\\\", RowBox[{StyleBox[\\\"n\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives the Bell polynomial \\!\\(\\*RowBox[{SubscriptBox[\\\"B\\\", \\\"n\\\"], \\\"(\\\", \\\"x\\\", \\\")\\\"}]\\). \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/BellB.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Listable, NHoldFirst, Protected, ReadProtected]], Rule[\"FullName\", \"System`BellB\"]], False]", "msgs": [], "secs": 0.047} +{"i": 52, "status": "ok", "out": "9593717160839270277309012597458244643669761253486524090465101452308505449075555794967097991422094447813361703461703527483923452910600107094241977883524995379142569403109148264479493951899618130991494946924012311626466835414469805276900066733612175617987670409976416771272643311143045873205315011607801824625827865824638944982653160924318204003182910489402082081128038463173280160012490117659706850104203035907510272952948673660873405566364117100380099645", "msgs": [], "secs": 0.008} +{"i": 53, "status": "ok", "out": "", "msgs": [], "secs": 0.019} +{"i": 54, "status": "ok", "out": "ShowGraph[Highlight[Graph[List[List[List[1, 2]], List[List[1, 7]], List[List[1, 9]], List[List[1, 13]], List[List[2, 3]], List[List[2, 4]], List[List[2, 10]], List[List[2, 14]], List[List[3, 5]], List[List[3, 11]], List[List[3, 15]], List[List[4, 5]], List[List[4, 7]], List[List[4, 8]], List[List[4, 12]], List[List[5, 6]], List[List[5, 9]], List[List[5, 13]], List[List[6, 7]], List[List[6, 10]], List[List[6, 14]], List[List[7, 11]], List[List[7, 15]], List[List[8, 9]], List[List[8, 11]], List[List[8, 14]], List[List[9, 10]], List[List[9, 15]], List[List[10, 11]], List[List[10, 12]], List[List[11, 13]], List[List[12, 13]], List[List[12, 15]], List[List[13, 14]], List[List[14, 15]]], List[List[List[91355, 40674], Rule[VertexLabel, \"1\"]], List[List[66913, 74314], Rule[VertexLabel, \"12\"]], List[List[30902, 95106], Rule[VertexLabel, \"1345\"]], List[List[-10453, 99452], Rule[VertexLabel, \"123\"]], List[List[-50000, 86603], Rule[VertexLabel, \"145\"]], List[List[-80902, 58779], Rule[VertexLabel, \"1245\"]], List[List[-97815, 20791], Rule[VertexLabel, \"13\"]], List[List[-97815, -20791], Rule[VertexLabel, \"1234\"]], List[List[-80902, -58779], Rule[VertexLabel, \"15\"]], List[List[-50000, -86603], Rule[VertexLabel, \"125\"]], List[List[-10453, -99452], Rule[VertexLabel, \"134\"]], List[List[30902, -95106], Rule[VertexLabel, \"1235\"]], List[List[66913, -74314], Rule[VertexLabel, \"14\"]], List[List[91355, -40674], Rule[VertexLabel, \"124\"]], List[List[100000, 0], Rule[VertexLabel, \"135\"]]]], List[List[List[1, 2], List[2, 3], List[3, 5], List[5, 4], List[4, 7], List[7, 6], List[6, 10], List[10, 11], List[11, 8], List[8, 14], List[14, 13], List[13, 12], List[12, 15], List[15, 9], List[9, 1]]], List[RGBColor[1, 0, 0]]], Rule[PlotRange, Large[10000]]]", "msgs": [], "secs": 0.015} +{"i": 55, "status": "timeout", "out": "$TimedOut", "msgs": [], "secs": 120.009} +{"i": 56, "status": "ok", "out": "430983237009366340421514301547258695943520289614340613912441741131280319058853783145598261659992013900", "msgs": [], "secs": 0.003} +{"i": 57, "status": "ok", "out": "List[List[88846, 1], List[37382, 1], List[337416, 1], List[307180, 1], List[378852, 1], List[369094, 1]]", "msgs": [], "secs": 0.063} +{"i": 58, "status": "ok", "out": "List[1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 4, 3]", "msgs": [], "secs": 0.001} +{"i": 59, "status": "ok", "out": "", "msgs": [], "secs": 0.012} +{"i": 60, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 61, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 62, "status": "ok", "out": "List[List[3, 6], List[7, 8], List[9, 10], List[11, 19], List[12, 13], List[14, 15], List[17, 18], List[20, 22], List[21, 23], List[24, 33], List[25, 26], List[27, 28], List[29, 30], List[31, 32], List[35, 36], List[37, 38], List[39, 45], List[40, 41], List[46, 48], List[49, 50]]", "msgs": [], "secs": 0.079} +{"i": 63, "status": "ok", "out": "ShowGraph[Highlight[Graph[List[List[List[5, 6]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[10, 11]], List[List[12, 13]], List[List[14, 15]], List[List[15, 16]], List[List[17, 18]], List[List[18, 19]], List[List[25, 26]], List[List[26, 27]], List[List[27, 28]], List[List[28, 29]], List[List[29, 30]], List[List[31, 32]], List[List[32, 33]], List[List[35, 36]], List[List[36, 37]], List[List[37, 38]], List[List[40, 41]], List[List[45, 46]], List[List[48, 49]], List[List[49, 50]], List[List[3, 6]], List[List[6, 12]], List[List[7, 16]], List[List[9, 17]], List[List[10, 18]], List[List[11, 19]], List[List[12, 20]], List[List[14, 21]], List[List[20, 22]], List[List[21, 23]], List[List[22, 29]], List[List[23, 31]], List[List[24, 33]], List[List[25, 34]], List[List[27, 35]], List[List[28, 36]], List[List[29, 37]], List[List[30, 38]], List[List[31, 39]], List[List[33, 40]], List[List[36, 43]], List[List[38, 44]], List[List[39, 45]], List[List[46, 48]]], List[List[List[300000, 100000]], List[List[600000, 100000]], List[List[900000, 100000]], List[List[200000, 200000]], List[List[800000, 200000]], List[List[900000, 200000]], List[List[300000, 300000]], List[List[400000, 300000]], List[List[500000, 300000]], List[List[600000, 300000]], List[List[700000, 300000]], List[List[900000, 300000]], List[List[1000000, 300000]], List[List[100000, 400000]], List[List[200000, 400000]], List[List[300000, 400000]], List[List[500000, 400000]], List[List[600000, 400000]], List[List[700000, 400000]], List[List[900000, 400000]], List[List[100000, 500000]], List[List[900000, 500000]], List[List[100000, 600000]], List[List[300000, 600000]], List[List[500000, 600000]], List[List[600000, 600000]], List[List[700000, 600000]], List[List[800000, 600000]], List[List[900000, 600000]], List[List[1000000, 600000]], List[List[100000, 700000]], List[List[200000, 700000]], List[List[300000, 700000]], List[List[500000, 700000]], List[List[700000, 700000]], List[List[800000, 700000]], List[List[900000, 700000]], List[List[1000000, 700000]], List[List[100000, 800000]], List[List[300000, 800000]], List[List[400000, 800000]], List[List[600000, 800000]], List[List[800000, 800000]], List[List[1000000, 800000]], List[List[100000, 900000]], List[List[200000, 900000]], List[List[900000, 900000]], List[List[200000, 1000000]], List[List[300000, 1000000]], List[List[400000, 1000000]], List[List[600000, 1000000]]]], List[List[List[3, 6], List[7, 8], List[9, 10], List[11, 19], List[12, 13], List[14, 15], List[17, 18], List[20, 22], List[21, 23], List[24, 33], List[25, 26], List[27, 28], List[29, 30], List[31, 32], List[35, 36], List[37, 38], List[39, 45], List[40, 41], List[46, 48], List[49, 50]]], List[RGBColor[1, 0, 0]]], Rule[Background, RGBColor[87000, 94000, 1]]]", "msgs": [], "secs": 0.0} +{"i": 64, "status": "ok", "out": "", "msgs": [], "secs": 0.021} +{"i": 65, "status": "ok", "out": "", "msgs": [], "secs": 0.021} +{"i": 66, "status": "ok", "out": "", "msgs": [], "secs": 0.452} +{"i": 67, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 68, "status": "ok", "out": "", "msgs": [], "secs": 0.027} +{"i": 69, "status": "ok", "out": "List[List[0, Null], List[30, Null]]", "msgs": [], "secs": 0.0} +{"i": 70, "status": "ok", "out": "List[List[0, Null], List[31569, Null]]", "msgs": [], "secs": 0.41300000000000003} +{"i": 71, "status": "ok", "out": "List[List[0, Null], List[735, Null]]", "msgs": [], "secs": 0.008} +{"i": 72, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 73, "status": "ok", "out": "List[931, Null]", "msgs": [], "secs": 0.02} +{"i": 74, "status": "ok", "out": "List[9883, Null]", "msgs": [], "secs": 2.361} +{"i": 75, "status": "ok", "out": "List[1, Null]", "msgs": [], "secs": 0.007} +{"i": 76, "status": "ok", "out": "Null", "msgs": [], "secs": 8.85} +{"i": 77, "status": "ok", "out": "List[5003, 4951]", "msgs": [], "secs": 0.0} +{"i": 78, "status": "ok", "out": "", "msgs": [], "secs": 1.943} +{"i": 79, "status": "ok", "out": "List[12123, Null]", "msgs": [], "secs": 0.169} +{"i": 80, "status": "ok", "out": "677", "msgs": [], "secs": 0.0} +{"i": 81, "status": "ok", "out": "List[1, Null]", "msgs": [], "secs": 0.02} +{"i": 82, "status": "ok", "out": "List[7162, Null]", "msgs": [], "secs": 0.1} +{"i": 83, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 84, "status": "ok", "out": "List[834, Null]", "msgs": [], "secs": 0.011} +{"i": 85, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 86, "status": "ok", "out": "List[2521, Null]", "msgs": [], "secs": 0.025} +{"i": 87, "status": "ok", "out": "List[0, Null]", "msgs": [], "secs": 0.0} +{"i": 88, "status": "ok", "out": "List[399, Null]", "msgs": [], "secs": 0.005} +{"i": 89, "status": "ok", "out": "List[List[2, Null], List[1955, Null]]", "msgs": [], "secs": 0.024} +{"i": 90, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"AddEdges\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"edgeList\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) with the new edges in \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) added. \\!\\(\\*StyleBox[\\\"edgeList\\\", \\\"TI\\\"]\\) can have the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) to add a single edge \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), to add edges \\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}]\\) or the form \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"x\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), where \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"y\\\", \\\"TI\\\"]\\) can specify graphics information associated with \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"a\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"b\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\) and \\!\\(\\*RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"c\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"d\\\", \\\"TI\\\"]}], \\\"}\\\"}]\\), respectively.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, AddEdges, List[RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edgeList, List[RepeatedNull[List[List[Blank[Integer], Blank[Integer]], PatternTest[BlankNullSequence[], OptionQ]]]]]], Module[List[Set[Combinatorica`Private`ne, If[UndirectedQ[Combinatorica`Private`g], Map[Function[Prepend[Rest[Slot[1]], Sort[First[Slot[1]]]]], Combinatorica`Private`edgeList], Combinatorica`Private`edgeList]]], ChangeEdges[Combinatorica`Private`g, Join[Edges[Combinatorica`Private`g, All], Combinatorica`Private`ne]]]], RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edgeList, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]]], AddEdges[Combinatorica`Private`g, Map[Function[List[Slot[1]]], Combinatorica`Private`edgeList]]], RuleDelayed[AddEdges[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`edge, List[Blank[Integer], Blank[Integer]]]], AddEdges[Combinatorica`Private`g, List[Combinatorica`Private`edge]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`AddEdges\"]], False]", "msgs": [], "secs": 0.07} +{"i": 91, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 92, "status": "ok", "out": "", "msgs": [], "secs": 0.009000000000000001} +{"i": 93, "status": "ok", "out": "", "msgs": [], "secs": 0.007} +{"i": 94, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) performs a breadth-first traversal of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\) starting from vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\), and gives the breadth-first numbers of the vertices. \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"]}], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Edge\\\"}], \\\"]\\\"}]\\) returns the edges of the graph that are traversed by breadth-first traversal. \\n\\!\\(\\*RowBox[{RowBox[{RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"]}], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", \\\"Tree\\\"}], \\\"]\\\"}]\\) returns the breadth-first search tree. \\n\\!\\(\\*RowBox[{RowBox[{\\\"BreadthFirstTraversal\\\", \\\"[\\\"}], StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"Level\\\", \\\"]\\\"}]}]\\) returns the level number of the vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BreadthFirstTraversal, List[RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive]], Condition[First[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`t, Blank[Integer]], Positive]], Condition[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s, Combinatorica`Private`t], And[LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]], LessEqual[Combinatorica`Private`t, V[Combinatorica`Private`g]]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Edge], Condition[Module[List[Set[Combinatorica`Private`b, Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], Combinatorica`Private`v, Combinatorica`Private`p], CompoundExpression[Set[Combinatorica`Private`v, InversePermutation[Cases[Part[Combinatorica`Private`b, 1], PatternTest[Blank[], Positive]]]], Set[Combinatorica`Private`p, Part[Combinatorica`Private`b, 2]], Table[List[Part[Combinatorica`Private`p, Part[Combinatorica`Private`v, Combinatorica`Private`i]], Part[Combinatorica`Private`v, Combinatorica`Private`i]], List[Combinatorica`Private`i, 2, Length[Combinatorica`Private`v]]]]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Tree], Condition[Module[List[Set[Combinatorica`Private`p, Part[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s], 2]]], ChangeEdges[Combinatorica`Private`g, Flatten[Table[If[Unequal[Combinatorica`Private`i, Part[Combinatorica`Private`p, Combinatorica`Private`i]], List[List[List[Part[Combinatorica`Private`p, Combinatorica`Private`i], Combinatorica`Private`i]]], List[]], List[Combinatorica`Private`i, Length[Combinatorica`Private`p]]], 1]]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]], RuleDelayed[BreadthFirstTraversal[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive], Level], Condition[Last[Combinatorica`Private`BFS[Combinatorica`Private`g, Combinatorica`Private`s]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protec...", "msgs": [], "secs": 0.032} +{"i": 95, "status": "ok", "out": "Missing[\"UnknownSymbol\", \"DiscreteMath`OldCombinatorica`BreadthFirstTraversal\"]", "msgs": [], "secs": 0.0} +{"i": 96, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 97, "status": "ok", "out": "List[1, 2, 4, 7, 11, 3, 5, 8, 12, 16, 6, 9, 13, 17, 20, 10, 14, 18, 21, 23, 15, 19, 22, 24, 25]", "msgs": [], "secs": 0.001} +{"i": 98, "status": "ok", "out": "List[List[1, 2], List[1, 6], List[2, 3], List[2, 7], List[6, 11], List[3, 4], List[3, 8], List[7, 12], List[11, 16], List[4, 5], List[4, 9], List[8, 13], List[12, 17], List[16, 21], List[5, 10], List[9, 14], List[13, 18], List[17, 22], List[10, 15], List[14, 19], List[18, 23], List[15, 20], List[19, 24], List[20, 25]]", "msgs": [], "secs": 0.001} +{"i": 99, "status": "ok", "out": "ShowGraph[Highlight[Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[11, 12]], List[List[12, 13]], List[List[13, 14]], List[List[14, 15]], List[List[16, 17]], List[List[17, 18]], List[List[18, 19]], List[List[19, 20]], List[List[21, 22]], List[List[22, 23]], List[List[23, 24]], List[List[24, 25]], List[List[1, 6]], List[List[2, 7]], List[List[3, 8]], List[List[4, 9]], List[List[5, 10]], List[List[6, 11]], List[List[7, 12]], List[List[8, 13]], List[List[9, 14]], List[List[10, 15]], List[List[11, 16]], List[List[12, 17]], List[List[13, 18]], List[List[14, 19]], List[List[15, 20]], List[List[16, 21]], List[List[17, 22]], List[List[18, 23]], List[List[19, 24]], List[List[20, 25]]], List[List[List[100000, 100000]], List[List[200000, 100000]], List[List[300000, 100000]], List[List[400000, 100000]], List[List[500000, 100000]], List[List[100000, 200000]], List[List[200000, 200000]], List[List[300000, 200000]], List[List[400000, 200000]], List[List[500000, 200000]], List[List[100000, 300000]], List[List[200000, 300000]], List[List[300000, 300000]], List[List[400000, 300000]], List[List[500000, 300000]], List[List[100000, 400000]], List[List[200000, 400000]], List[List[300000, 400000]], List[List[400000, 400000]], List[List[500000, 400000]], List[List[100000, 500000]], List[List[200000, 500000]], List[List[300000, 500000]], List[List[400000, 500000]], List[List[500000, 500000]]]], List[List[List[1, 2], List[1, 6], List[2, 3], List[2, 7], List[6, 11], List[3, 4], List[3, 8], List[7, 12], List[11, 16], List[4, 5], List[4, 9], List[8, 13], List[12, 17], List[16, 21], List[5, 10], List[9, 14], List[13, 18], List[17, 22], List[10, 15], List[14, 19], List[18, 23], List[15, 20], List[19, 24], List[20, 25]]], List[HotPink]]]", "msgs": [], "secs": 0.0} +{"i": 100, "status": "ok", "out": "", "msgs": [], "secs": 0.06} +{"i": 101, "status": "ok", "out": "List[0, 1, 2, 3, 4, 1, 2, 3, 4, 5, 2, 3, 4, 5, 6, 3, 4, 5, 6, 7, 4, 5, 6, 7, 8]", "msgs": [], "secs": 0.001} +{"i": 102, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`CompleteGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CompleteGraph, List[RuleDelayed[CompleteGraph[Pattern[Combinatorica`Private`n, Blank[Integer]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Condition[Module[List[Set[Combinatorica`Private`type, ReplaceAll[Type, Flatten[List[Combinatorica`Private`opts, Options[CompleteGraph]]]]]], If[SameQ[Combinatorica`Private`type, Undirected], Combinatorica`Private`CG[Combinatorica`Private`n], Combinatorica`Private`CDG[Combinatorica`Private`n]]], GreaterEqual[Combinatorica`Private`n, 0]]], RuleDelayed[CompleteGraph[Pattern[Combinatorica`Private`l, BlankSequence[]]], Condition[CompleteKPartiteGraph[Combinatorica`Private`l], And[TrueQ[Apply[And, Map[Positive, List[Combinatorica`Private`l]]]], Greater[Length[List[Combinatorica`Private`l]], 1]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`CompleteGraph\"]], False]", "msgs": [], "secs": 0.068} +{"i": 103, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 104, "status": "ok", "out": "List[Rule[Type, Directed]]", "msgs": [], "secs": 0.0} +{"i": 105, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 106, "status": "ok", "out": "Graph[List[List[List[1, 5]], List[List[2, 5]], List[List[3, 5]], List[List[4, 5]], List[List[1, 5]], List[List[2, 2]]], List[List[List[0, 100000]], List[List[-100000, 0]], List[List[0, -100000]], List[List[100000, 0]], List[List[0, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 107, "status": "ok", "out": "", "msgs": [], "secs": 0.004} +{"i": 108, "status": "ok", "out": "List[List[5, 5], List[2, 5], List[5], List[5], List[1, 1, 2, 3, 4]]", "msgs": [], "secs": 0.0} +{"i": 109, "status": "ok", "out": "List[List[5], List[5], List[5], List[5], List[1, 2, 3, 4]]", "msgs": [], "secs": 0.0} +{"i": 110, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`GridGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, GridGraph, List[RuleDelayed[GridGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`m, Blank[Integer]], Positive]], GraphProduct[ChangeVertices[Path[Combinatorica`Private`n], Map[Function[List[List[Times[Max[Combinatorica`Private`n, Combinatorica`Private`m], Slot[1]], 0]]], Range[Combinatorica`Private`n]]], Path[Combinatorica`Private`m]]], RuleDelayed[GridGraph[PatternTest[Pattern[Combinatorica`Private`p, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`q, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`r, Blank[Integer]], Positive]], GraphProduct[GridGraph[Combinatorica`Private`p, Combinatorica`Private`q], DilateVertices[RotateVertices[Path[Combinatorica`Private`r], 1], Times[1, Power[Times[10, Combinatorica`Private`r], -1]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`GridGraph\"]], False]", "msgs": [], "secs": 0.043000000000000003} +{"i": 111, "status": "ok", "out": "", "msgs": [], "secs": 0.021} +{"i": 112, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"ShuffleExchangeGraph\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns the \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\)-dimensional shuffle-exchange graph whose vertices are length \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) binary strings with an edge from \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to \\!\\(\\*SuperscriptBox[StyleBox[\\\"w\\\", \\\"TI\\\"], \\\"\\[Prime]\\\", MultilineFunction -> None]\\) if: (1) \\!\\(\\*SuperscriptBox[StyleBox[\\\"w\\\", \\\"TI\\\"], \\\"\\[Prime]\\\", MultilineFunction -> None]\\) differs from \\!\\(\\*SuperscriptBox[StyleBox[\\\"w\\\", \\\"TI\\\"], \\\"\\[Prime]\\\", MultilineFunction -> None]\\) in its last bit; or (2) \\!\\(\\*SuperscriptBox[StyleBox[\\\"w\\\", \\\"TI\\\"], \\\"\\[Prime]\\\", MultilineFunction -> None]\\) is obtained from \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) by a cyclic shift left or a cyclic shift right. \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ShuffleExchangeGraph, List[RuleDelayed[ShuffleExchangeGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`label], CompoundExpression[Set[Combinatorica`Private`label, ReplaceAll[VertexLabel, Flatten[List[Combinatorica`Private`opts, Options[MakeGraph]]]]], MakeGraph[Strings[List[0, 1], Combinatorica`Private`n], Function[Or[And[Unequal[Last[Slot[1]], Last[Slot[2]]], Equal[Take[Slot[1], Plus[Combinatorica`Private`n, -1]], Take[Slot[2], Plus[Combinatorica`Private`n, -1]]]], Equal[RotateRight[Slot[1], 1], Slot[2]], Equal[RotateLeft[Slot[1], 1], Slot[2]]]], Rule[Type, Undirected], Rule[VertexLabel, Combinatorica`Private`label]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ShuffleExchangeGraph\"]], False]", "msgs": [], "secs": 0.051000000000000004} +{"i": 113, "status": "ok", "out": "", "msgs": [], "secs": 0.005} +{"i": 114, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"Combinatorica`ButterflyGraph\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, ButterflyGraph, List[RuleDelayed[ButterflyGraph[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`v, Map[Flatten, CartesianProduct[Strings[List[0, 1], Combinatorica`Private`n], Range[0, Combinatorica`Private`n]]]], Combinatorica`Private`label], CompoundExpression[Set[Combinatorica`Private`label, ReplaceAll[VertexLabel, Flatten[List[Combinatorica`Private`opts, Options[ButterflyGraph]]]]], RankedEmbedding[MakeUndirected[MakeGraph[Combinatorica`Private`v, Function[And[Equal[Plus[Part[Slot[1], Plus[Combinatorica`Private`n, 1]], 1], Part[Slot[2], Plus[Combinatorica`Private`n, 1]]], Equal[Part[Slot[1], Range[Plus[Part[Slot[2], Plus[Combinatorica`Private`n, 1]], -1]]], Part[Slot[2], Range[Plus[Part[Slot[2], Plus[Combinatorica`Private`n, 1]], -1]]]], Equal[Part[Slot[1], Range[Plus[Part[Slot[2], Plus[Combinatorica`Private`n, 1]], 1], Combinatorica`Private`n]], Part[Slot[2], Range[Plus[Part[Slot[2], Plus[Combinatorica`Private`n, 1]], 1], Combinatorica`Private`n]]]]], Rule[VertexLabel, Combinatorica`Private`label]]], Flatten[Position[Combinatorica`Private`v, List[BlankSequence[], 0]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`ButterflyGraph\"]], False]", "msgs": [], "secs": 0.051000000000000004} +{"i": 115, "status": "ok", "out": "", "msgs": [], "secs": 0.017} +{"i": 116, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"InversionPoset\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) returns a Hasse diagram of the partially ordered set on size-\\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) permutations in which \\!\\(\\*RowBox[{StyleBox[\\\"p\\\", \\\"TI\\\"], \\\"<\\\", StyleBox[\\\"q\\\", \\\"TI\\\"]}]\\) if \\!\\(\\*StyleBox[\\\"q\\\", \\\"TI\\\"]\\) can be obtained from \\!\\(\\*StyleBox[\\\"p\\\", \\\"TI\\\"]\\) by an adjacent transposition that places the larger element before the smaller.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, InversionPoset, List[RuleDelayed[InversionPoset[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`label, Set[Combinatorica`Private`p, Permutations[Combinatorica`Private`n]], Combinatorica`Private`br], CompoundExpression[Set[List[Combinatorica`Private`type, Combinatorica`Private`label], ReplaceAll[List[Type, VertexLabel], Flatten[List[Combinatorica`Private`opts, Options[InversionPoset]]]]], Set[Combinatorica`Private`br, Function[And[Equal[Count[Set[Combinatorica`Private`p, Plus[Slot[1], Times[-1, Slot[2]]]], 0], Plus[Combinatorica`Private`n, -2]], Equal[Plus[Part[Position[Combinatorica`Private`p, PatternTest[Blank[], Negative]], 1, 1], 1], Part[Position[Combinatorica`Private`p, PatternTest[Blank[], Positive]], 1, 1]]]]], If[SameQ[Combinatorica`Private`type, Directed], MakeGraph[Combinatorica`Private`p, Combinatorica`Private`br, Rule[VertexLabel, Combinatorica`Private`label]], HasseDiagram[MakeGraph[Combinatorica`Private`p, Combinatorica`Private`br, Rule[VertexLabel, Combinatorica`Private`label]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected], Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`InversionPoset\"]], False]", "msgs": [], "secs": 0.034} +{"i": 117, "status": "ok", "out": "", "msgs": [], "secs": 0.017} +{"i": 118, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BooleanAlgebra\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives a Hasse diagram for the Boolean algebra on \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) elements. The function takes two options: Type and VertexLabel, with default values Undirected and False, respectively. When Type is set to Directed, the function produces the underlying directed acyclic graph. When VertexLabel is set to True, labels are produced for the vertices.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BooleanAlgebra, List[RuleDelayed[BooleanAlgebra[PatternTest[Pattern[Combinatorica`Private`n, Blank[Integer]], Positive], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Combinatorica`Private`type, Combinatorica`Private`label, Set[Combinatorica`Private`s, Subsets[Combinatorica`Private`n]], Combinatorica`Private`br], CompoundExpression[Set[List[Combinatorica`Private`type, Combinatorica`Private`label], ReplaceAll[List[Type, VertexLabel], Flatten[List[Combinatorica`Private`opts, Options[BooleanAlgebra]]]]], Set[Combinatorica`Private`br, Function[And[SameQ[Intersection[Slot[2], Slot[1]], Slot[1]], Unequal[Slot[1], Slot[2]]]]], If[SameQ[Combinatorica`Private`type, Directed], MakeGraph[Combinatorica`Private`s, Combinatorica`Private`br, Rule[VertexLabel, Combinatorica`Private`label]], HasseDiagram[MakeGraph[Combinatorica`Private`s, Combinatorica`Private`br, Rule[VertexLabel, Combinatorica`Private`label]]]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Type, Undirected], Rule[VertexLabel, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`BooleanAlgebra\"]], False]", "msgs": [], "secs": 0.032} +{"i": 119, "status": "ok", "out": "", "msgs": [], "secs": 0.01} +{"i": 120, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"CageGraph\\\", \\\"[\\\", RowBox[{StyleBox[\\\"k\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"r\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives a smallest \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\)-regular graph of girth \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\) for certain small values of \\!\\(\\*StyleBox[\\\"k\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\). For \\!\\(\\*RowBox[{StyleBox[\\\"k\\\", \\\"TI\\\"], \\\"=\\\", \\\"3\\\"}]\\), \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\) can be 3, 4, 5, 6, 7, 8, or 10. For \\!\\(\\*RowBox[{StyleBox[\\\"k\\\", \\\"TI\\\"], \\\"=\\\", \\\"4\\\"}]\\) or 5, \\!\\(\\*StyleBox[\\\"r\\\", \\\"TI\\\"]\\) can be 3, 4, 5, or 6.\\n\\!\\(\\*RowBox[{\\\"CageGraph\\\", \\\"[\\\", StyleBox[\\\"r\\\", \\\"TI\\\"], \\\"]\\\"}]\\) gives \\!\\(\\*RowBox[{RowBox[{\\\"CageGraph\\\", \\\"[\\\", RowBox[{\\\"3\\\", \\\",\\\"}]}], StyleBox[\\\"r\\\", \\\"TI\\\"], \\\"]\\\"}]\\). \"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, CageGraph, List[RuleDelayed[CageGraph[3, 3], CompleteGraph[4]], RuleDelayed[CageGraph[3, 4], CompleteGraph[3, 3]], RuleDelayed[CageGraph[3, 5], PetersenGraph], RuleDelayed[CageGraph[3, 6], HeawoodGraph], RuleDelayed[CageGraph[3, 7], McGeeGraph], RuleDelayed[CageGraph[3, 8], LeviGraph], RuleDelayed[CageGraph[3, 10], Module[List[Combinatorica`Private`p, Combinatorica`Private`i, Combinatorica`Private`j], CompoundExpression[Set[Combinatorica`Private`p, GraphUnion[CirculantGraph[20, List[6]], Cycle[50]]], ReplaceAll[AddEdges[Combinatorica`Private`p, Join[Table[List[Plus[7, Times[5, Combinatorica`Private`i]], Plus[32, Times[5, Combinatorica`Private`i]]], List[Combinatorica`Private`i, 3, 7]], Table[List[Plus[20, Times[10, Combinatorica`Private`i]], Plus[Times[10, Combinatorica`Private`i], 29]], List[Combinatorica`Private`i, 4]], Table[List[Plus[15, Times[10, Combinatorica`Private`i]], Plus[Times[10, Combinatorica`Private`i], 24]], List[Combinatorica`Private`i, 4]], List[List[21, 20], List[1, 23], List[70, 29], List[24, 65]], Flatten[Table[List[Plus[Times[2, Combinatorica`Private`i], Combinatorica`Private`j], Plus[21, Times[5, Combinatorica`Private`i], Times[2, Combinatorica`Private`j]]], List[Combinatorica`Private`j, 0, 1], List[Combinatorica`Private`i, 9]], 1]]], RuleDelayed[Graph[Pattern[Combinatorica`Private`l, Blank[List]], Pattern[Combinatorica`Private`v, Blank[List]]], Graph[Combinatorica`Private`l, Join[Table[Function[List[List[Cos[Slot[1]], Sin[Slot[1]]]]][Times[Round[Times[Power[10, 5], 2.`]], Pi, Times[Plus[Combinatorica`Private`i, Times[1, Power[2, -1]]], Power[20, -1]]]], List[Combinatorica`Private`i, 20]], Times[2, Table[Function[List[List[Cos[Slot[1]], Sin[Slot[1]]]]][Times[Round[Times[Power[10, 5], 2.`]], Pi, Times[Plus[Combinatorica`Private`i, Times[1, Power[2, -1]]], Power[50, -1]]]], List[Combinatorica`Private`i, 50]]]]]]]]]], RuleDelayed[CageGraph[4, 3], CompleteGraph[5]], RuleDelayed[CageGraph[4, 4], CirculantGraph[8, List[1, 3]]], RuleDelayed[CageGraph[4, 5], RobertsonGraph], RuleDelayed[CageGraph[4, 6], MakeUndirected[MakeGraph[Range[26], Function[Or[Equal[Mod[Plus[Slot[1], Times[-1, Slot[2]]], 26], 1], Equal[Times[Power[-1, Slot[1]], Mod[Plus[Slot[1], Times[-1, Slot[2]]], 26]], 11], Equal[Times[Power[-1, Slot[1]], Mod[Plus[Slot[1], Times[-1, Slot[2]]], 26]], 7]]], Rule[Type, Directed]]]], RuleDelayed[CageGraph[5, 3], CompleteGraph[6]], RuleDelayed[CageGraph[5, 4], CirculantGraph[10, List[1, 3, 5]]], RuleDelayed[CageGraph[5, 5], MakeSimple[AddEdges[MakeGraph[Range[30], Function[Or[Equal[Mod[Plus[Slot[1], Times[-1, Slot[2]]], 30], 1], And[Equal[Mod[Plus[Slot[1], Times[-1, Slot[2]]], 30], 15], Equal[Mod[Slot[1], 3], 0]], And[Equal[Mod[Plus[Slot[1], Times[-1, Slot[2]]], 30], 4], Equal[Mod[Slot[1], 2], 0]]]]], List[List[1, 9], List[1, 13], List[1, 19], List[2, 16], List[3, 11], List[3, 18], List[3, 25], List[4, 20], List[5, 17], List[5, 23], List[5, 27], List[6, 21], List[7, 15], List[7, 19], List[7, 25], List[8, 22], List[9, 17], List[9, 24], List[10, 26], List[11, 23], L...", "msgs": [], "secs": 0.031} +{"i": 121, "status": "ok", "out": "", "msgs": [], "secs": 0.092} +{"i": 122, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", StyleBox[\\\"g\\\", \\\"TI\\\"], \\\"]\\\"}]\\) assigns random real weights in the range \\!\\(\\*RowBox[{\\\"[\\\", RowBox[{\\\"0\\\", \\\",\\\", \\\"1\\\"}], \\\"]\\\"}]\\) to edges in \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns edge weights to the edges in the edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges of \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetEdgeWeights\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"e\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"w\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) assigns the weights in the weight list \\!\\(\\*StyleBox[\\\"w\\\", \\\"TI\\\"]\\) to the edges in edge list \\!\\(\\*StyleBox[\\\"e\\\", \\\"TI\\\"]\\).\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, SetEdgeWeights, List[RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], Module[List[Set[Combinatorica`Private`v, Vertices[Combinatorica`Private`g]], Combinatorica`Private`myfn, Combinatorica`Private`myrange], CompoundExpression[Set[List[Combinatorica`Private`myfn, Combinatorica`Private`myrange], ReplaceAll[List[WeightingFunction, WeightRange], Flatten[List[Combinatorica`Private`opts, Options[SetEdgeWeights]]]]], Switch[Combinatorica`Private`myfn, Random, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomReal[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], RandomInteger, SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, RandomInteger[Combinatorica`Private`myrange]]]], Combinatorica`Private`e]], Alternatives[Euclidean, LNorm[Blank[]]], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Combinatorica`Private`Distance[Part[Combinatorica`Private`v, Slot[1]], Combinatorica`Private`myfn]]]], Combinatorica`Private`e]], Blank[], SetGraphOptions[Combinatorica`Private`g, Map[Function[List[Slot[1], Rule[EdgeWeight, Apply[Combinatorica`Private`myfn, Transpose[List[Slot[1], Part[Combinatorica`Private`v, Slot[1]]]]]]]], Combinatorica`Private`e]]]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`opts, BlankNullSequence[]], OptionQ]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`opts]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`e, List[RepeatedNull[List[Blank[Integer], Blank[Integer]]]]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], Condition[SetGraphOptions[Combinatorica`Private`g, MapIndexed[Function[List[Slot[1], Rule[EdgeWeight, Part[Combinatorica`Private`weights, First[Slot[2]]]]]], If[UndirectedQ[Combinatorica`Private`g], Map[Sort, Combinatorica`Private`e], Combinatorica`Private`e]]], Equal[Length[Combinatorica`Private`weights], Length[Combinatorica`Private`e]]]], RuleDelayed[SetEdgeWeights[Pattern[Combinatorica`Private`g, Blank[Graph]], Pattern[Combinatorica`Private`weights, List[RepeatedNull[PatternTest[Blank[], NumericQ]]]]], SetEdgeWeights[Combinatorica`Private`g, Edges[Combinatorica`Private`g], Combinatorica`Private`weights]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[WeightingFunction, Random], Rule[WeightRange, List[0, 1]]]], Rule[\"Attributes\", List[Pro...", "msgs": [], "secs": 0.03} +{"i": 123, "status": "ok", "out": "List[3, 3, 5, 3, 4, 5, 4, 5, 5, 5, 4, 5, 3, 5, 4, 4, 4, 4]", "msgs": [], "secs": 0.001} +{"i": 124, "status": "ok", "out": "List[Rule[WeightingFunction, Random], Rule[WeightRange, List[0, 1]]]", "msgs": [], "secs": 0.0} +{"i": 125, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"SetOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"s\\\", \\\"TI\\\"], \\\",\\\", RowBox[{SubscriptBox[StyleBox[\\\"name\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\"\\[Rule]\\\", SubscriptBox[StyleBox[\\\"value\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]}], \\\",\\\", RowBox[{SubscriptBox[StyleBox[\\\"name\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\"\\[Rule]\\\", SubscriptBox[StyleBox[\\\"value\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) sets the specified default options for a symbol \\!\\(\\*StyleBox[\\\"s\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"SetOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"stream\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) or \\!\\(\\*RowBox[{\\\"SetOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"\\\\\\\"\\\\!\\\\(\\\\*StyleBox[\\\\\\\"name\\\\\\\",\\\\\\\"TI\\\\\\\"]\\\\)\\\\\\\"\\\", ShowStringCharacters->True], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) sets options associated with a particular stream. \\n\\!\\(\\*RowBox[{\\\"SetOptions\\\", \\\"[\\\", RowBox[{StyleBox[\\\"object\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) sets options associated with an external object such as a NotebookObject or CloudObject. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/SetOptions.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"System`SetOptions\"]], False]", "msgs": [], "secs": 0.038} +{"i": 126, "status": "ok", "out": "List[Rule[WeightingFunction, RandomInteger], Rule[WeightRange, List[0, 1]]]", "msgs": [], "secs": 0.0} +{"i": 127, "status": "ok", "out": "List[1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0]", "msgs": [], "secs": 0.001} +{"i": 128, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"BellmanFord\\\", \\\"[\\\", RowBox[{StyleBox[\\\"g\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"v\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) gives a shortest-path spanning tree and associated distances from vertex \\!\\(\\*StyleBox[\\\"v\\\", \\\"TI\\\"]\\) of graph \\!\\(\\*StyleBox[\\\"g\\\", \\\"TI\\\"]\\). The shortest-path spanning tree is given by a list in which element \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) is the predecessor of vertex \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) in the shortest-path spanning tree. BellmanFord works correctly even when the edge weights are negative, provided there are no negative cycles.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, BellmanFord, List[RuleDelayed[BellmanFord[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive]], Condition[Module[List[Set[Combinatorica`Private`p, Table[Combinatorica`Private`i, List[Combinatorica`Private`i, V[Combinatorica`Private`g]]]], Set[Combinatorica`Private`d, Table[Infinity, List[V[Combinatorica`Private`g]]]]], CompoundExpression[Set[Part[Combinatorica`Private`d, Combinatorica`Private`s], 0], List[Combinatorica`Private`p, Combinatorica`Private`d]]], And[EmptyQ[Combinatorica`Private`g], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]]], RuleDelayed[BellmanFord[Pattern[Combinatorica`Private`g, Blank[Graph]], PatternTest[Pattern[Combinatorica`Private`s, Blank[Integer]], Positive]], Condition[Module[List[Set[Combinatorica`Private`e, Sort[Edges[Combinatorica`Private`g, EdgeWeight]]], Set[Combinatorica`Private`n, V[Combinatorica`Private`g]], Set[Combinatorica`Private`e1, List[]], Set[Combinatorica`Private`w1, List[]], Set[Combinatorica`Private`e2, List[]], Set[Combinatorica`Private`w2, List[]], Combinatorica`Private`b], CompoundExpression[If[UndirectedQ[Combinatorica`Private`g], CompoundExpression[Set[List[Combinatorica`Private`e1, Combinatorica`Private`w1], Transpose[Combinatorica`Private`e]], Set[List[Combinatorica`Private`e2, Combinatorica`Private`w2], Transpose[Reverse[Sort[MapApply[Function[List[Reverse[Slot[1]], Slot[2]]], Combinatorica`Private`e]]]]], Set[Combinatorica`Private`b, Combinatorica`Private`Zap[Combinatorica`Private`BF[Combinatorica`Private`n, Combinatorica`Private`s, Combinatorica`Private`e1, Times[Round[Times[Power[10, 5], 1.`]], Combinatorica`Private`w1], Combinatorica`Private`e2, Times[Round[Times[Power[10, 5], 1.`]], Combinatorica`Private`w2]]]]], CompoundExpression[Set[Combinatorica`Private`e1, Select[Combinatorica`Private`e, Function[Less[Part[Slot[1], 1, 1], Part[Slot[1], 1, 2]]]]], Set[Combinatorica`Private`e2, Select[Combinatorica`Private`e, Function[Greater[Part[Slot[1], 1, 1], Part[Slot[1], 1, 2]]]]], Set[List[Combinatorica`Private`e1, Combinatorica`Private`w1], If[Unequal[Combinatorica`Private`e1, List[]], Transpose[Combinatorica`Private`e1], List[List[List[1, 1]], List[Round[Times[Power[10, 5], 0.`]]]]]], Set[List[Combinatorica`Private`e2, Combinatorica`Private`w2], If[Unequal[Combinatorica`Private`e2, List[]], Transpose[Combinatorica`Private`e2], List[List[List[1, 1]], List[Round[Times[Power[10, 5], 0.`]]]]]], Set[Combinatorica`Private`b, Combinatorica`Private`Zap[Combinatorica`Private`BF[Combinatorica`Private`n, Combinatorica`Private`s, Combinatorica`Private`e1, Times[Round[Times[Power[10, 5], 1.`]], Combinatorica`Private`w1], Combinatorica`Private`e2, Times[Round[Times[Power[10, 5], 1.`]], Combinatorica`Private`w2]]]]]], List[Part[Combinatorica`Private`b, 1], Table[If[And[Equal[Combinatorica`Private`i, Part[Combinatorica`Private`b, 1, Combinatorica`Private`i]], Unequal[Combinatorica`Private`i, Combinatorica`Private`s]], Infinity, Part[Combinatorica`Private`b, 2, Combinatorica`Private`i]], List[Combinatorica`Private`i, Length[Part[Combinatorica`Private`b, 2]]]]]]], LessEqual[Combinatorica`Private`s, V[Combinatorica`Private`g]]]]]]], Rule[\"...", "msgs": [], "secs": 0.055} +{"i": 129, "status": "ok", "out": "Graph[List[List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[6, 7]], List[List[7, 8]], List[List[8, 9]], List[List[9, 10]], List[List[10, 1]], List[List[4, 1]], List[List[6, 1]], List[List[9, 3]]], List[List[List[80902, 58779]], List[List[30902, 95106]], List[List[-30902, 95106]], List[List[-80902, 58779]], List[List[-100000, 0]], List[List[-80902, -58779]], List[List[-30902, -95106]], List[List[30902, -95106]], List[List[80902, -58779]], List[List[100000, 0]]], Rule[EdgeDirection, True]]", "msgs": [], "secs": 0.0} +{"i": 130, "status": "ok", "out": "", "msgs": [], "secs": 0.003} +{"i": 131, "status": "ok", "out": "Graph[List[List[List[1, 2], Rule[EdgeWeight, 2]], List[List[2, 3], Rule[EdgeWeight, 5]], List[List[3, 4], Rule[EdgeWeight, -2]], List[List[4, 5], Rule[EdgeWeight, 0]], List[List[5, 6], Rule[EdgeWeight, 3]], List[List[6, 7], Rule[EdgeWeight, -4]], List[List[7, 8], Rule[EdgeWeight, 1]], List[List[8, 9], Rule[EdgeWeight, -4]], List[List[9, 10], Rule[EdgeWeight, 3]], List[List[10, 1], Rule[EdgeWeight, -3]], List[List[4, 1], Rule[EdgeWeight, 4]], List[List[6, 1], Rule[EdgeWeight, -2]], List[List[9, 3], Rule[EdgeWeight, 3]]], List[List[List[80902, 58779]], List[List[30902, 95106]], List[List[-30902, 95106]], List[List[-80902, 58779]], List[List[-100000, 0]], List[List[-80902, -58779]], List[List[-30902, -95106]], List[List[30902, -95106]], List[List[80902, -58779]], List[List[100000, 0]]], Rule[EdgeDirection, True]]", "msgs": [], "secs": 0.001} +{"i": 132, "status": "ok", "out": "List[List[List[1, 2], 2], List[List[2, 3], 5], List[List[3, 4], -2], List[List[4, 5], 0], List[List[5, 6], 3], List[List[6, 7], -4], List[List[7, 8], 1], List[List[8, 9], -4], List[List[9, 10], 3], List[List[10, 1], -3], List[List[4, 1], 4], List[List[6, 1], -2], List[List[9, 3], 3]]", "msgs": [], "secs": 0.0} +{"i": 133, "status": "ok", "out": "List[List[10, 1, 9, 3, 4, 5, 6, 7, 8, 9], List[-11, -6, -8, -7, -7, -4, -8, -7, -11, -8]]", "msgs": [], "secs": 0.001} +{"i": 134, "status": "ok", "out": "List[List[1, 1, 9, 3, 4, 5, 6, 7, 8, 9], List[0, 2, 4, 5, 5, 8, 4, 5, 1, 4]]", "msgs": [], "secs": 0.0} +{"i": 135, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"TreeIsomorphismQ\\\", \\\"[\\\", RowBox[{SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]}], \\\"]\\\"}]\\) yields True if the trees \\!\\(\\*SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\) and \\!\\(\\*SubscriptBox[StyleBox[\\\"t\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]\\) are isomorphic. It yields False otherwise.\"], Rule[\"Documentation\", None], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", Information`InformationValueForm[DownValues, TreeIsomorphismQ, List[RuleDelayed[TreeIsomorphismQ[PatternTest[Pattern[Combinatorica`Private`t1, Blank[Graph]], TreeQ], PatternTest[Pattern[Combinatorica`Private`t2, Blank[Graph]], TreeQ]], And[Equal[V[Combinatorica`Private`t1], V[Combinatorica`Private`t2]], Or[IdenticalQ[Combinatorica`Private`t1, Combinatorica`Private`t2], Equal[TreeToCertificate[Combinatorica`Private`t1], TreeToCertificate[Combinatorica`Private`t2]]]]]]]], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"Combinatorica`TreeIsomorphismQ\"]], False]", "msgs": [], "secs": 0.031} +{"i": 136, "status": "ok", "out": "PermuteSubgraph[Tree[38, List[Tree[23, List[Tree[31, List[Tree[22, List[Tree[18, None]]]]], Tree[35, None], Tree[25, List[Tree[29, None], Tree[21, None]]], Tree[12, List[Tree[7, List[Tree[14, List[Tree[33, List[Tree[40, None]]], Tree[26, None], Tree[9, None], Tree[27, List[Tree[32, None]]]]]]]]], Tree[10, List[Tree[20, List[Tree[24, List[Tree[30, None], Tree[15, None]]]]], Tree[37, List[Tree[5, List[Tree[19, List[Tree[6, List[Tree[16, List[Tree[3, List[Tree[28, None]]]]], Tree[11, None]]]]], Tree[39, None], Tree[8, List[Tree[34, List[Tree[4, None]]], Tree[1, None]]]]]]], Tree[36, None], Tree[2, List[Tree[17, None]]], Tree[13, None]]]]]]], List[40, 11, 28, 17, 32, 16, 15, 18, 29, 38, 31, 25, 9, 26, 14, 22, 27, 3, 12, 39, 24, 8, 13, 35, 33, 19, 21, 4, 30, 37, 10, 6, 20, 5, 36, 23, 1, 34, 7, 2]]", "msgs": [], "secs": 0.002} +{"i": 137, "status": "ok", "out": "TreeIsomorphismQ[Tree[38, List[Tree[23, List[Tree[31, List[Tree[22, List[Tree[18, None]]]]], Tree[35, None], Tree[25, List[Tree[29, None], Tree[21, None]]], Tree[12, List[Tree[7, List[Tree[14, List[Tree[33, List[Tree[40, None]]], Tree[26, None], Tree[9, None], Tree[27, List[Tree[32, None]]]]]]]]], Tree[10, List[Tree[20, List[Tree[24, List[Tree[30, None], Tree[15, None]]]]], Tree[37, List[Tree[5, List[Tree[19, List[Tree[6, List[Tree[16, List[Tree[3, List[Tree[28, None]]]]], Tree[11, None]]]]], Tree[39, None], Tree[8, List[Tree[34, List[Tree[4, None]]], Tree[1, None]]]]]]], Tree[36, None], Tree[2, List[Tree[17, None]]], Tree[13, None]]]]]]], PermuteSubgraph[Tree[38, List[Tree[23, List[Tree[31, List[Tree[22, List[Tree[18, None]]]]], Tree[35, None], Tree[25, List[Tree[29, None], Tree[21, None]]], Tree[12, List[Tree[7, List[Tree[14, List[Tree[33, List[Tree[40, None]]], Tree[26, None], Tree[9, None], Tree[27, List[Tree[32, None]]]]]]]]], Tree[10, List[Tree[20, List[Tree[24, List[Tree[30, None], Tree[15, None]]]]], Tree[37, List[Tree[5, List[Tree[19, List[Tree[6, List[Tree[16, List[Tree[3, List[Tree[28, None]]]]], Tree[11, None]]]]], Tree[39, None], Tree[8, List[Tree[34, List[Tree[4, None]]], Tree[1, None]]]]]]], Tree[36, None], Tree[2, List[Tree[17, None]]], Tree[13, None]]]]]]], List[40, 11, 28, 17, 32, 16, 15, 18, 29, 38, 31, 25, 9, 26, 14, 22, 27, 3, 12, 39, 24, 8, 13, 35, 33, 19, 21, 4, 30, 37, 10, 6, 20, 5, 36, 23, 1, 34, 7, 2]]]", "msgs": [], "secs": 0.0} +{"i": 138, "status": "ok", "out": "IsomorphicQ[Tree[38, List[Tree[23, List[Tree[31, List[Tree[22, List[Tree[18, None]]]]], Tree[35, None], Tree[25, List[Tree[29, None], Tree[21, None]]], Tree[12, List[Tree[7, List[Tree[14, List[Tree[33, List[Tree[40, None]]], Tree[26, None], Tree[9, None], Tree[27, List[Tree[32, None]]]]]]]]], Tree[10, List[Tree[20, List[Tree[24, List[Tree[30, None], Tree[15, None]]]]], Tree[37, List[Tree[5, List[Tree[19, List[Tree[6, List[Tree[16, List[Tree[3, List[Tree[28, None]]]]], Tree[11, None]]]]], Tree[39, None], Tree[8, List[Tree[34, List[Tree[4, None]]], Tree[1, None]]]]]]], Tree[36, None], Tree[2, List[Tree[17, None]]], Tree[13, None]]]]]]], PermuteSubgraph[Tree[38, List[Tree[23, List[Tree[31, List[Tree[22, List[Tree[18, None]]]]], Tree[35, None], Tree[25, List[Tree[29, None], Tree[21, None]]], Tree[12, List[Tree[7, List[Tree[14, List[Tree[33, List[Tree[40, None]]], Tree[26, None], Tree[9, None], Tree[27, List[Tree[32, None]]]]]]]]], Tree[10, List[Tree[20, List[Tree[24, List[Tree[30, None], Tree[15, None]]]]], Tree[37, List[Tree[5, List[Tree[19, List[Tree[6, List[Tree[16, List[Tree[3, List[Tree[28, None]]]]], Tree[11, None]]]]], Tree[39, None], Tree[8, List[Tree[34, List[Tree[4, None]]], Tree[1, None]]]]]]], Tree[36, None], Tree[2, List[Tree[17, None]]], Tree[13, None]]]]]]], List[40, 11, 28, 17, 32, 16, 15, 18, 29, 38, 31, 25, 9, 26, 14, 22, 27, 3, 12, 39, 24, 8, 13, 35, 33, 19, 21, 4, 30, 37, 10, 6, 20, 5, 36, 23, 1, 34, 7, 2]]]", "msgs": [], "secs": 0.0} +{"i": 139, "status": "ok", "out": "List[List[0, Null], List[0, Null]]", "msgs": [], "secs": 0.0} diff --git a/book/wma/tutorial.s1.jsonl b/book/wma/tutorial.s1.jsonl new file mode 100644 index 0000000..a38f1ea --- /dev/null +++ b/book/wma/tutorial.s1.jsonl @@ -0,0 +1,61 @@ +{"i": 1, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 2, "status": "ok", "out": "Graph[List[List[List[1, 7]], List[List[2, 7]], List[List[3, 7]], List[List[4, 7]], List[List[5, 7]], List[List[6, 7]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[1, 6]]], List[List[List[50000, 86603]], List[List[-50000, 86603]], List[List[-100000, 0]], List[List[-50000, -86603]], List[List[50000, -86603]], List[List[100000, 0]], List[List[0, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 3, "status": "ok", "out": "", "msgs": [], "secs": 0.006} +{"i": 4, "status": "ok", "out": "List[List[1, 2, 5, 7, 6, 3, 4], List[1, 1, 2, 7, 6, 1, 1], List[0, 1, 2, 2, 2, 1, 1]]", "msgs": [], "secs": 0.001} +{"i": 5, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 6, "status": "ok", "out": "100", "msgs": [], "secs": 0.0} +{"i": 7, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 8, "status": "ok", "out": "100", "msgs": [], "secs": 0.0} +{"i": 9, "status": "ok", "out": "1020100000000", "msgs": [], "secs": 0.0} +{"i": 10, "status": "ok", "out": "10201000", "msgs": [], "secs": 0.0} +{"i": 11, "status": "ok", "out": "BFS[10, 10]", "msgs": [], "secs": 0.0} +{"i": 12, "status": "ok", "out": "BFS[Graph[List[List[List[1, 7]], List[List[2, 7]], List[List[3, 7]], List[List[4, 7]], List[List[5, 7]], List[List[6, 7]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[1, 6]]], List[List[List[50000, 86603]], List[List[-50000, 86603]], List[List[-100000, 0]], List[List[-50000, -86603]], List[List[50000, -86603]], List[List[100000, 0]], List[List[0, 0]]]], 1010000]", "msgs": [], "secs": 0.0} +{"i": 13, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Module\\\", \\\"[\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) specifies that occurrences of the symbols \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\), \\!\\(\\*StyleBox[\\\"y\\\", \\\"TI\\\"]\\), \\[Ellipsis] in \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) should be treated as local. \\n\\!\\(\\*RowBox[{\\\"Module\\\", \\\"[\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"=\\\", SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"0\\\", \\\"TR\\\"]]}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) defines initial values for \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\), \\[Ellipsis]. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Module.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`Module\"]], False]", "msgs": [], "secs": 0.068} +{"i": 14, "status": "ok", "out": "20", "msgs": [], "secs": 0.0} +{"i": 15, "status": "ok", "out": "i", "msgs": [], "secs": 0.0} +{"i": 16, "status": "ok", "out": "j", "msgs": [], "secs": 0.0} +{"i": 17, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) generates a list of \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) copies of \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) generates a list of the values of \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) when \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) runs from 1 to \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]\\). \\n\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) starts with \\!\\(\\*RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\"=\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]]}]\\). \\n\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]], \\\",\\\", StyleBox[\\\"di\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) uses steps \\!\\(\\*StyleBox[\\\"di\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) uses the successive values \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\), \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]\\), \\[Ellipsis].\\n\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"j\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"j\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"j\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) gives a nested list. The list associated with \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) is outermost.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Table.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`Table\"]], False]", "msgs": [], "secs": 0.056} +{"i": 18, "status": "ok", "out": "List[1, 1, 1, 1, 1, 1, 1, 1, 1, 1]", "msgs": [], "secs": 0.0} +{"i": 19, "status": "ok", "out": "List[1, 1, 1, 1, 1, 1, 1, 1, 1, 1]", "msgs": [], "secs": 0.0} +{"i": 20, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]", "msgs": [], "secs": 0.0} +{"i": 21, "status": "ok", "out": "List[3, 4, 5, 6, 7, 8, 9, 10]", "msgs": [], "secs": 0.0} +{"i": 22, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], List[2, 4, 6, 8, 10, 12, 14, 16, 18, 20], List[3, 6, 9, 12, 15, 18, 21, 24, 27, 30], List[4, 8, 12, 16, 20, 24, 28, 32, 36, 40], List[5, 10, 15, 20, 25, 30, 35, 40, 45, 50], List[6, 12, 18, 24, 30, 36, 42, 48, 54, 60], List[7, 14, 21, 28, 35, 42, 49, 56, 63, 70], List[8, 16, 24, 32, 40, 48, 56, 64, 72, 80], List[9, 18, 27, 36, 45, 54, 63, 72, 81, 90], List[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]]", "msgs": [], "secs": 0.0} +{"i": 23, "status": "ok", "out": "List[List[1], List[2, 4], List[3, 6, 9], List[4, 8, 12, 16], List[5, 10, 15, 20, 25], List[6, 12, 18, 24, 30, 36], List[7, 14, 21, 28, 35, 42, 49], List[8, 16, 24, 32, 40, 48, 56, 64], List[9, 18, 27, 36, 45, 54, 63, 72, 81], List[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]]", "msgs": [], "secs": 0.0} +{"i": 24, "status": "ok", "out": "BoxData[RowBox[List[\"t\", \"//\", \"ColumnForm\"]]]", "msgs": [], "secs": 0.0} +{"i": 25, "status": "ok", "out": "List[List[2, 6, 7], List[1, 3, 7], List[2, 4, 7], List[3, 5, 7], List[4, 6, 7], List[1, 5, 7], List[1, 2, 3, 4, 5, 6]]", "msgs": [], "secs": 0.0} +{"i": 26, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]", "msgs": [], "secs": 0.0} +{"i": 27, "status": "ok", "out": "List[-1, -2, -3]", "msgs": [], "secs": 0.0} +{"i": 28, "status": "ok", "out": "List[1, -1, 3, 4, -2, -3, 7, 8, 9, 10]", "msgs": [], "secs": 0.0} +{"i": 29, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"While\\\", \\\"[\\\", RowBox[{StyleBox[\\\"test\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) evaluates \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\), then \\!\\(\\*StyleBox[\\\"body\\\", \\\"TI\\\"]\\), repetitively, until \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\) first fails to give True. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/While.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`While\"]], False]", "msgs": [], "secs": 0.057} +{"i": 30, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 31, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 32, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 33, "status": "ok", "out": "100", "msgs": [], "secs": 0.0} +{"i": 34, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) evaluates \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) times. \\n\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) evaluates \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) with the variable \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) successively taking on the values 1 through \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]\\) (in steps of 1). \\n\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) starts with \\!\\(\\*RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\"=\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]]}]\\). \\n\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]], \\\",\\\", StyleBox[\\\"di\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) uses steps \\!\\(\\*StyleBox[\\\"di\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) uses the successive values \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\), \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]\\), \\[Ellipsis].\\n\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"j\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"j\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"j\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) evaluates \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) looping over different values of \\!\\(\\*StyleBox[\\\"j\\\", \\\"TI\\\"]\\) etc. for each \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\). \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Do.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`Do\"]], False]", "msgs": [], "secs": 0.058} +{"i": 35, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"For\\\", \\\"[\\\", RowBox[{StyleBox[\\\"start\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"test\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"incr\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) executes \\!\\(\\*StyleBox[\\\"start\\\", \\\"TI\\\"]\\), then repeatedly evaluates \\!\\(\\*StyleBox[\\\"body\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"incr\\\", \\\"TI\\\"]\\) until \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\) fails to give True. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/For.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`For\"]], False]", "msgs": [], "secs": 0.048} +{"i": 36, "status": "ok", "out": "List[1, 3, 8, -1, 11, 12]", "msgs": [], "secs": 0.0} +{"i": 37, "status": "ok", "out": "List[1, List[3, 8, -1, 11, 12]]", "msgs": [], "secs": 0.0} +{"i": 38, "status": "ok", "out": "List[1, List[3, 8, -1, 11, 12]]", "msgs": [], "secs": 0.0} +{"i": 39, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Scan\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) evaluates \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) applied to each element of \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) in turn. \\n\\!\\(\\*RowBox[{\\\"Scan\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"levelspec\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) applies \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) to parts of \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) specified by \\!\\(\\*StyleBox[\\\"levelspec\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Scan\\\", \\\"[\\\", StyleBox[\\\"f\\\", \\\"TI\\\"], \\\"]\\\"}]\\) represents an operator form of Scan that can be applied to an expression.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Scan.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Heads, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"System`Scan\"]], False]", "msgs": [], "secs": 0.038} +{"i": 40, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 41, "status": "ok", "out": "List[3, 8, -1, 11, 12]", "msgs": [], "secs": 0.0} +{"i": 42, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 43, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 44, "status": "ok", "out": "33", "msgs": [], "secs": 0.0} +{"i": 45, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 46, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 47, "status": "ok", "out": "33", "msgs": [], "secs": 0.0} +{"i": 48, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{StyleBox[\\\"body\\\", \\\"TI\\\"], \\\"&\\\"}]\\) or \\!\\(\\*RowBox[{\\\"Function\\\", \\\"[\\\", StyleBox[\\\"body\\\", \\\"TI\\\"], \\\"]\\\"}]\\) is a pure (or \\\"anonymous\\\") function. The formal parameters are # (or #1), #2, etc. \\n\\!\\(\\*RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"|->\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}]\\) or \\!\\(\\*RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"\\[Function]\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}]\\) or \\!\\(\\*RowBox[{\\\"Function\\\", \\\"[\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) is a pure function with a single formal parameter \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\"|->\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}]\\) or \\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\"\\[Function]\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}]\\) or \\!\\(\\*RowBox[{\\\"Function\\\", \\\"[\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) is a pure function with a list of formal parameters. \\n\\!\\(\\*RowBox[{\\\"Function\\\", \\\"[\\\", RowBox[{StyleBox[\\\"params\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"body\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"attrs\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) is a pure function that is treated as having attributes \\!\\(\\*StyleBox[\\\"attrs\\\", \\\"TI\\\"]\\) for purposes of evaluation.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Function.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`Function\"]], False]", "msgs": [], "secs": 0.044} +{"i": 49, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 50, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 51, "status": "ok", "out": "33", "msgs": [], "secs": 0.0} +{"i": 52, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 53, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"PrimeQ\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) is a prime number, and yields False otherwise. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/PrimeQ.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[GaussianIntegers, False]]], Rule[\"Attributes\", List[Listable, Protected]], Rule[\"FullName\", \"System`PrimeQ\"]], False]", "msgs": [], "secs": 0.051000000000000004} +{"i": 54, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 55, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 56, "status": "ok", "out": "168", "msgs": [], "secs": 0.0} +{"i": 57, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Map\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) or \\!\\(\\*RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\"/@\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"]}]\\) applies \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) to each element on the first level in \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Map\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"levelspec\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) applies \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) to parts of \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) specified by \\!\\(\\*StyleBox[\\\"levelspec\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Map\\\", \\\"[\\\", StyleBox[\\\"f\\\", \\\"TI\\\"], \\\"]\\\"}]\\) represents an operator form of Map that can be applied to an expression.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Map.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Heads, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"System`Map\"]], False]", "msgs": [], "secs": 0.043000000000000003} +{"i": 58, "status": "ok", "out": "List[1, 2, 10, 4]", "msgs": [], "secs": 0.0} +{"i": 59, "status": "ok", "out": "List[1, 4, 100, 16]", "msgs": [], "secs": 0.0} +{"i": 60, "status": "ok", "out": "List[f[1], f[3], f[4]]", "msgs": [], "secs": 0.0} +{"i": 61, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{StyleBox[\\\"patt\\\", \\\"TI\\\"], \\\"/;\\\", StyleBox[\\\"test\\\", \\\"TI\\\"]}]\\) is a pattern which matches only if the evaluation of \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\) yields True. \\n\\!\\(\\*RowBox[{StyleBox[\\\"lhs\\\", \\\"TI\\\"], \\\":>\\\", RowBox[{StyleBox[\\\"rhs\\\", \\\"TI\\\"], \\\"/;\\\", StyleBox[\\\"test\\\", \\\"TI\\\"]}]}]\\) represents a rule which applies only if the evaluation of \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\) yields True. \\n\\!\\(\\*RowBox[{StyleBox[\\\"lhs\\\", \\\"TI\\\"], \\\":=\\\", RowBox[{StyleBox[\\\"rhs\\\", \\\"TI\\\"], \\\"/;\\\", StyleBox[\\\"test\\\", \\\"TI\\\"]}]}]\\) is a definition to be used only if \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\) yields True. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Condition.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`Condition\"]], False]", "msgs": [], "secs": 0.043000000000000003} diff --git a/book/wma/tutorial.s2.jsonl b/book/wma/tutorial.s2.jsonl new file mode 100644 index 0000000..4326cff --- /dev/null +++ b/book/wma/tutorial.s2.jsonl @@ -0,0 +1,61 @@ +{"i": 1, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 2, "status": "ok", "out": "Graph[List[List[List[1, 7]], List[List[2, 7]], List[List[3, 7]], List[List[4, 7]], List[List[5, 7]], List[List[6, 7]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[1, 6]]], List[List[List[50000, 86603]], List[List[-50000, 86603]], List[List[-100000, 0]], List[List[-50000, -86603]], List[List[50000, -86603]], List[List[100000, 0]], List[List[0, 0]]]]", "msgs": [], "secs": 0.0} +{"i": 3, "status": "ok", "out": "", "msgs": [], "secs": 0.008} +{"i": 4, "status": "ok", "out": "List[List[1, 2, 5, 7, 6, 3, 4], List[1, 1, 2, 7, 6, 1, 1], List[0, 1, 2, 2, 2, 1, 1]]", "msgs": [], "secs": 0.0} +{"i": 5, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 6, "status": "ok", "out": "100", "msgs": [], "secs": 0.0} +{"i": 7, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 8, "status": "ok", "out": "100", "msgs": [], "secs": 0.0} +{"i": 9, "status": "ok", "out": "1020100000000", "msgs": [], "secs": 0.0} +{"i": 10, "status": "ok", "out": "10201000", "msgs": [], "secs": 0.0} +{"i": 11, "status": "ok", "out": "BFS[10, 10]", "msgs": [], "secs": 0.0} +{"i": 12, "status": "ok", "out": "BFS[Graph[List[List[List[1, 7]], List[List[2, 7]], List[List[3, 7]], List[List[4, 7]], List[List[5, 7]], List[List[6, 7]], List[List[1, 2]], List[List[2, 3]], List[List[3, 4]], List[List[4, 5]], List[List[5, 6]], List[List[1, 6]]], List[List[List[50000, 86603]], List[List[-50000, 86603]], List[List[-100000, 0]], List[List[-50000, -86603]], List[List[50000, -86603]], List[List[100000, 0]], List[List[0, 0]]]], 1010000]", "msgs": [], "secs": 0.0} +{"i": 13, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Module\\\", \\\"[\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"y\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) specifies that occurrences of the symbols \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\), \\!\\(\\*StyleBox[\\\"y\\\", \\\"TI\\\"]\\), \\[Ellipsis] in \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) should be treated as local. \\n\\!\\(\\*RowBox[{\\\"Module\\\", \\\"[\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"=\\\", SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"0\\\", \\\"TR\\\"]]}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) defines initial values for \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\), \\[Ellipsis]. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Module.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`Module\"]], False]", "msgs": [], "secs": 0.075} +{"i": 14, "status": "ok", "out": "20", "msgs": [], "secs": 0.0} +{"i": 15, "status": "ok", "out": "i", "msgs": [], "secs": 0.0} +{"i": 16, "status": "ok", "out": "j", "msgs": [], "secs": 0.0} +{"i": 17, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) generates a list of \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) copies of \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) generates a list of the values of \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) when \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) runs from 1 to \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]\\). \\n\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) starts with \\!\\(\\*RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\"=\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]]}]\\). \\n\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]], \\\",\\\", StyleBox[\\\"di\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) uses steps \\!\\(\\*StyleBox[\\\"di\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) uses the successive values \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\), \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]\\), \\[Ellipsis].\\n\\!\\(\\*RowBox[{\\\"Table\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"j\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"j\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"j\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) gives a nested list. The list associated with \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) is outermost.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Table.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`Table\"]], False]", "msgs": [], "secs": 0.076} +{"i": 18, "status": "ok", "out": "List[1, 1, 1, 1, 1, 1, 1, 1, 1, 1]", "msgs": [], "secs": 0.0} +{"i": 19, "status": "ok", "out": "List[1, 1, 1, 1, 1, 1, 1, 1, 1, 1]", "msgs": [], "secs": 0.0} +{"i": 20, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]", "msgs": [], "secs": 0.0} +{"i": 21, "status": "ok", "out": "List[3, 4, 5, 6, 7, 8, 9, 10]", "msgs": [], "secs": 0.0} +{"i": 22, "status": "ok", "out": "List[List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], List[2, 4, 6, 8, 10, 12, 14, 16, 18, 20], List[3, 6, 9, 12, 15, 18, 21, 24, 27, 30], List[4, 8, 12, 16, 20, 24, 28, 32, 36, 40], List[5, 10, 15, 20, 25, 30, 35, 40, 45, 50], List[6, 12, 18, 24, 30, 36, 42, 48, 54, 60], List[7, 14, 21, 28, 35, 42, 49, 56, 63, 70], List[8, 16, 24, 32, 40, 48, 56, 64, 72, 80], List[9, 18, 27, 36, 45, 54, 63, 72, 81, 90], List[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]]", "msgs": [], "secs": 0.0} +{"i": 23, "status": "ok", "out": "List[List[1], List[2, 4], List[3, 6, 9], List[4, 8, 12, 16], List[5, 10, 15, 20, 25], List[6, 12, 18, 24, 30, 36], List[7, 14, 21, 28, 35, 42, 49], List[8, 16, 24, 32, 40, 48, 56, 64], List[9, 18, 27, 36, 45, 54, 63, 72, 81], List[10, 20, 30, 40, 50, 60, 70, 80, 90, 100]]", "msgs": [], "secs": 0.0} +{"i": 24, "status": "ok", "out": "BoxData[RowBox[List[\"t\", \"//\", \"ColumnForm\"]]]", "msgs": [], "secs": 0.0} +{"i": 25, "status": "ok", "out": "List[List[2, 6, 7], List[1, 3, 7], List[2, 4, 7], List[3, 5, 7], List[4, 6, 7], List[1, 5, 7], List[1, 2, 3, 4, 5, 6]]", "msgs": [], "secs": 0.0} +{"i": 26, "status": "ok", "out": "List[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]", "msgs": [], "secs": 0.0} +{"i": 27, "status": "ok", "out": "List[-1, -2, -3]", "msgs": [], "secs": 0.0} +{"i": 28, "status": "ok", "out": "List[1, -1, 3, 4, -2, -3, 7, 8, 9, 10]", "msgs": [], "secs": 0.0} +{"i": 29, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"While\\\", \\\"[\\\", RowBox[{StyleBox[\\\"test\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) evaluates \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\), then \\!\\(\\*StyleBox[\\\"body\\\", \\\"TI\\\"]\\), repetitively, until \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\) first fails to give True. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/While.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`While\"]], False]", "msgs": [], "secs": 0.046} +{"i": 30, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 31, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 32, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 33, "status": "ok", "out": "100", "msgs": [], "secs": 0.0} +{"i": 34, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"n\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) evaluates \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) times. \\n\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) evaluates \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) with the variable \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\) successively taking on the values 1 through \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]\\) (in steps of 1). \\n\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) starts with \\!\\(\\*RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\"=\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]]}]\\). \\n\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]], \\\",\\\", StyleBox[\\\"di\\\", \\\"TI\\\"]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) uses steps \\!\\(\\*StyleBox[\\\"di\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}]}], \\\"}\\\"}]}], \\\"]\\\"}]\\) uses the successive values \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]]\\), \\!\\(\\*SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]]\\), \\[Ellipsis].\\n\\!\\(\\*RowBox[{\\\"Do\\\", \\\"[\\\", RowBox[{StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"i\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"i\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}], \\\",\\\", RowBox[{\\\"{\\\", RowBox[{StyleBox[\\\"j\\\", \\\"TI\\\"], \\\",\\\", SubscriptBox[StyleBox[\\\"j\\\", \\\"TI\\\"], StyleBox[\\\"min\\\", \\\"TI\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"j\\\", \\\"TI\\\"], StyleBox[\\\"max\\\", \\\"TI\\\"]]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"]\\\"}]\\) evaluates \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) looping over different values of \\!\\(\\*StyleBox[\\\"j\\\", \\\"TI\\\"]\\) etc. for each \\!\\(\\*StyleBox[\\\"i\\\", \\\"TI\\\"]\\). \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Do.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`Do\"]], False]", "msgs": [], "secs": 0.044} +{"i": 35, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"For\\\", \\\"[\\\", RowBox[{StyleBox[\\\"start\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"test\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"incr\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) executes \\!\\(\\*StyleBox[\\\"start\\\", \\\"TI\\\"]\\), then repeatedly evaluates \\!\\(\\*StyleBox[\\\"body\\\", \\\"TI\\\"]\\) and \\!\\(\\*StyleBox[\\\"incr\\\", \\\"TI\\\"]\\) until \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\) fails to give True. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/For.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`For\"]], False]", "msgs": [], "secs": 0.04} +{"i": 36, "status": "ok", "out": "List[1, 3, 8, -1, 11, 12]", "msgs": [], "secs": 0.0} +{"i": 37, "status": "ok", "out": "List[1, List[3, 8, -1, 11, 12]]", "msgs": [], "secs": 0.0} +{"i": 38, "status": "ok", "out": "List[1, List[3, 8, -1, 11, 12]]", "msgs": [], "secs": 0.0} +{"i": 39, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Scan\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) evaluates \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) applied to each element of \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) in turn. \\n\\!\\(\\*RowBox[{\\\"Scan\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"levelspec\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) applies \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) to parts of \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) specified by \\!\\(\\*StyleBox[\\\"levelspec\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Scan\\\", \\\"[\\\", StyleBox[\\\"f\\\", \\\"TI\\\"], \\\"]\\\"}]\\) represents an operator form of Scan that can be applied to an expression.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Scan.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Heads, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"System`Scan\"]], False]", "msgs": [], "secs": 0.042} +{"i": 40, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 41, "status": "ok", "out": "List[3, 8, -1, 11, 12]", "msgs": [], "secs": 0.0} +{"i": 42, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 43, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 44, "status": "ok", "out": "33", "msgs": [], "secs": 0.0} +{"i": 45, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 46, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 47, "status": "ok", "out": "33", "msgs": [], "secs": 0.0} +{"i": 48, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{StyleBox[\\\"body\\\", \\\"TI\\\"], \\\"&\\\"}]\\) or \\!\\(\\*RowBox[{\\\"Function\\\", \\\"[\\\", StyleBox[\\\"body\\\", \\\"TI\\\"], \\\"]\\\"}]\\) is a pure (or \\\"anonymous\\\") function. The formal parameters are # (or #1), #2, etc. \\n\\!\\(\\*RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"|->\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}]\\) or \\!\\(\\*RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\"\\[Function]\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}]\\) or \\!\\(\\*RowBox[{\\\"Function\\\", \\\"[\\\", RowBox[{StyleBox[\\\"x\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) is a pure function with a single formal parameter \\!\\(\\*StyleBox[\\\"x\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\"|->\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}]\\) or \\!\\(\\*RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\"\\[Function]\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}]\\) or \\!\\(\\*RowBox[{\\\"Function\\\", \\\"[\\\", RowBox[{RowBox[{\\\"{\\\", RowBox[{SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"1\\\", \\\"TR\\\"]], \\\",\\\", SubscriptBox[StyleBox[\\\"x\\\", \\\"TI\\\"], StyleBox[\\\"2\\\", \\\"TR\\\"]], \\\",\\\", StyleBox[\\\"\\[Ellipsis]\\\", \\\"TR\\\"]}], \\\"}\\\"}], \\\",\\\", StyleBox[\\\"body\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) is a pure function with a list of formal parameters. \\n\\!\\(\\*RowBox[{\\\"Function\\\", \\\"[\\\", RowBox[{StyleBox[\\\"params\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"body\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"attrs\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) is a pure function that is treated as having attributes \\!\\(\\*StyleBox[\\\"attrs\\\", \\\"TI\\\"]\\) for purposes of evaluation.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Function.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`Function\"]], False]", "msgs": [], "secs": 0.039} +{"i": 49, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 50, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 51, "status": "ok", "out": "33", "msgs": [], "secs": 0.0} +{"i": 52, "status": "ok", "out": "Null", "msgs": [], "secs": 0.0} +{"i": 53, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"PrimeQ\\\", \\\"[\\\", StyleBox[\\\"n\\\", \\\"TI\\\"], \\\"]\\\"}]\\) yields True if \\!\\(\\*StyleBox[\\\"n\\\", \\\"TI\\\"]\\) is a prime number, and yields False otherwise. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/PrimeQ.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[GaussianIntegers, False]]], Rule[\"Attributes\", List[Listable, Protected]], Rule[\"FullName\", \"System`PrimeQ\"]], False]", "msgs": [], "secs": 0.034} +{"i": 54, "status": "ok", "out": "0", "msgs": [], "secs": 0.0} +{"i": 55, "status": "ok", "out": "Null", "msgs": [], "secs": 0.001} +{"i": 56, "status": "ok", "out": "168", "msgs": [], "secs": 0.0} +{"i": 57, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{\\\"Map\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) or \\!\\(\\*RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\"/@\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"]}]\\) applies \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) to each element on the first level in \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Map\\\", \\\"[\\\", RowBox[{StyleBox[\\\"f\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"expr\\\", \\\"TI\\\"], \\\",\\\", StyleBox[\\\"levelspec\\\", \\\"TI\\\"]}], \\\"]\\\"}]\\) applies \\!\\(\\*StyleBox[\\\"f\\\", \\\"TI\\\"]\\) to parts of \\!\\(\\*StyleBox[\\\"expr\\\", \\\"TI\\\"]\\) specified by \\!\\(\\*StyleBox[\\\"levelspec\\\", \\\"TI\\\"]\\). \\n\\!\\(\\*RowBox[{\\\"Map\\\", \\\"[\\\", StyleBox[\\\"f\\\", \\\"TI\\\"], \\\"]\\\"}]\\) represents an operator form of Map that can be applied to an expression.\"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Map.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", List[Rule[Heads, False]]], Rule[\"Attributes\", List[Protected]], Rule[\"FullName\", \"System`Map\"]], False]", "msgs": [], "secs": 0.034} +{"i": 58, "status": "ok", "out": "List[1, 2, 10, 4]", "msgs": [], "secs": 0.0} +{"i": 59, "status": "ok", "out": "List[1, 4, 100, 16]", "msgs": [], "secs": 0.0} +{"i": 60, "status": "ok", "out": "List[f[1], f[3], f[4]]", "msgs": [], "secs": 0.0} +{"i": 61, "status": "ok", "out": "InformationData[Association[Rule[\"ObjectType\", \"Symbol\"], Rule[\"Usage\", \"\\!\\(\\*RowBox[{StyleBox[\\\"patt\\\", \\\"TI\\\"], \\\"/;\\\", StyleBox[\\\"test\\\", \\\"TI\\\"]}]\\) is a pattern which matches only if the evaluation of \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\) yields True. \\n\\!\\(\\*RowBox[{StyleBox[\\\"lhs\\\", \\\"TI\\\"], \\\":>\\\", RowBox[{StyleBox[\\\"rhs\\\", \\\"TI\\\"], \\\"/;\\\", StyleBox[\\\"test\\\", \\\"TI\\\"]}]}]\\) represents a rule which applies only if the evaluation of \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\) yields True. \\n\\!\\(\\*RowBox[{StyleBox[\\\"lhs\\\", \\\"TI\\\"], \\\":=\\\", RowBox[{StyleBox[\\\"rhs\\\", \\\"TI\\\"], \\\"/;\\\", StyleBox[\\\"test\\\", \\\"TI\\\"]}]}]\\) is a definition to be used only if \\!\\(\\*StyleBox[\\\"test\\\", \\\"TI\\\"]\\) yields True. \"], Rule[\"Documentation\", Association[Rule[\"Web\", \"http://reference.wolfram.com/language/ref/Condition.html\"]]], Rule[\"OwnValues\", None], Rule[\"UpValues\", None], Rule[\"DownValues\", None], Rule[\"SubValues\", None], Rule[\"DefaultValues\", None], Rule[\"NValues\", None], Rule[\"FormatValues\", None], Rule[\"Options\", None], Rule[\"Attributes\", List[HoldAll, Protected]], Rule[\"FullName\", \"System`Condition\"]], False]", "msgs": [], "secs": 0.033} diff --git a/book/xfail.json b/book/xfail.json new file mode 100644 index 0000000..cbad65d --- /dev/null +++ b/book/xfail.json @@ -0,0 +1,27 @@ +{ + "Chapter3": { + "145": "Transpose of deep lists: mathics-core PR #2090", + "146": "Transpose of deep lists: mathics-core PR #2090", + "148": "Transpose of deep lists: mathics-core PR #2090", + "149": "Transpose of deep lists: mathics-core PR #2090" + }, + "Chapter5": { + "93": "Python recursion limit: mathics-core PR #2080", + "102": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master", + "103": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master", + "110": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master", + "115": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master", + "254": "Python recursion limit: mathics-core PR #2080", + "343": "Transpose of deep lists: mathics-core PR #2090", + "353": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master", + "359": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master", + "365": "Transpose of deep lists: mathics-core PR #2090", + "369": "Transpose of deep lists: mathics-core PR #2090", + "374": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master", + "376": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master", + "393": "Compile-style argument patterns: Mathics3-Package-Combinatorica PR #7", + "394": "Compile-style argument patterns: Mathics3-Package-Combinatorica PR #7", + "412": "Compile-style argument patterns: Mathics3-Package-Combinatorica PR #7", + "413": "Compile-style argument patterns: Mathics3-Package-Combinatorica PR #7" + } +} diff --git a/test/data/book/Chapter3.json b/test/data/book/Chapter3.json new file mode 100644 index 0000000..dac8e46 --- /dev/null +++ b/test/data/book/Chapter3.json @@ -0,0 +1,2822 @@ +[ + { + "i": 1, + "section": "3. Representing Graphs", + "in": "HoldComplete[t = Wheel[10]; ShowGraph[t, Background -> Yellow]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 2, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"Edges\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 3, + "section": "3. Representing Graphs", + "in": "HoldComplete[Edges[t]]", + "mode": "check", + "secs": 1.388, + "expected": "{{1,10},{2,10},{3,10},{4,10},{5,10},{6,10},{7,10},{8,10},{9,10},{1,2},{2,3},{3,4},{4,5},{5,6},{6,7},{7,8},{8,9},{1,9}}" + }, + { + "i": 4, + "section": "3. Representing Graphs", + "in": "HoldComplete[Edges[t1 = SetGraphOptions[t, {{{1, 9}, {2, 3}, EdgeStyle -> Fat}}], All]]", + "mode": "check", + "secs": 1.388, + "expected": "{{{1,10}},{{2,10}},{{3,10}},{{4,10}},{{5,10}},{{6,10}},{{7,10}},{{8,10}},{{9,10}},{{1,2}},{{2,3},Rule[EdgeStyle,Fat]},{{3,4}},{{4,5}},{{5,6}},{{6,7}},{{7,8}},{{8,9}},{{1,9},Rule[EdgeStyle,Fat]}}" + }, + { + "i": 5, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[t1]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 6, + "section": "3. Representing Graphs", + "in": "HoldComplete[Edges[t2 = SetGraphOptions[t, {{{1, 9}, {2, 3}, EdgeStyle -> Fat}}]]]", + "mode": "check", + "secs": 1.388, + "expected": "{{1,10},{2,10},{3,10},{4,10},{5,10},{6,10},{7,10},{8,10},{9,10},{1,2},{2,3},{3,4},{4,5},{5,6},{6,7},{7,8},{8,9},{1,9}}" + }, + { + "i": 7, + "section": "3. Representing Graphs", + "in": "HoldComplete[Edges[t, EdgeWeight]]", + "mode": "check", + "secs": 1.388, + "expected": "{{{1,10},1},{{2,10},1},{{3,10},1},{{4,10},1},{{5,10},1},{{6,10},1},{{7,10},1},{{8,10},1},{{9,10},1},{{1,2},1},{{2,3},1},{{3,4},1},{{4,5},1},{{5,6},1},{{6,7},1},{{7,8},1},{{8,9},1},{{1,9},1}}" + }, + { + "i": 8, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"SetEdgeWeights\", LongForm -> False]]", + "mode": "skip", + "secs": 0.006, + "reason": "usage text" + }, + { + "i": 9, + "section": "3. Representing Graphs", + "in": "HoldComplete[k = SetEdgeWeights[t, WeightingFunction -> RandomInteger, WeightRange -> {10, 20}]]", + "mode": "run", + "secs": 1.388, + "reason": "random" + }, + { + "i": 10, + "section": "3. Representing Graphs", + "in": "HoldComplete[Edges[k, EdgeWeight]]", + "mode": "run", + "secs": 1.388, + "reason": "random" + }, + { + "i": 11, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"Vertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.006, + "reason": "usage text" + }, + { + "i": 12, + "section": "3. Representing Graphs", + "in": "HoldComplete[Vertices[t]]", + "mode": "check", + "secs": 1.388, + "expected": "{{76604,64279},{17365,98481},{-50000,86603},{-93969,34202},{-93969,-34202},{-50000,-86603},{17365,-98481},{76604,-64279},{100000,0},{0,0}}" + }, + { + "i": 13, + "section": "3. Representing Graphs", + "in": "HoldComplete[Vertices[t3 = SetGraphOptions[t, {{2, 5, 9, VertexStyle -> Disc[Large]}}], All]]", + "mode": "check", + "secs": 1.388, + "expected": "{{{76604,64279}},{{17365,98481},Rule[VertexStyle,Disc[Large]]},{{-50000,86603}},{{-93969,34202}},{{-93969,-34202},Rule[VertexStyle,Disc[Large]]},{{-50000,-86603}},{{17365,-98481}},{{76604,-64279}},{{100000,0},Rule[VertexStyle,Disc[Large]]},{{0,0}}}" + }, + { + "i": 14, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[t3]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 15, + "section": "3. Representing Graphs", + "in": "HoldComplete[Vertices[t4 = SetGraphOptions[t, {{2, 5, 9, VertexStyle -> Disc[Large]}}]]]", + "mode": "check", + "secs": 1.388, + "expected": "{{76604,64279},{17365,98481},{-50000,86603},{-93969,34202},{-93969,-34202},{-50000,-86603},{17365,-98481},{76604,-64279},{100000,0},{0,0}}" + }, + { + "i": 16, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[t4]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 17, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"V\", LongForm -> False]]", + "mode": "skip", + "secs": 0.006, + "reason": "usage text" + }, + { + "i": 18, + "section": "3. Representing Graphs", + "in": "HoldComplete[V[t]]", + "mode": "check", + "secs": 1.388, + "expected": "10" + }, + { + "i": 19, + "section": "3. Representing Graphs", + "in": "HoldComplete[V[DeleteVertices[t, {1}]]]", + "mode": "check", + "secs": 1.388, + "expected": "9" + }, + { + "i": 20, + "section": "3. Representing Graphs", + "in": "HoldComplete[V[RandomGraph[20, 0.4]]]", + "mode": "check", + "secs": 1.115, + "expected": "20" + }, + { + "i": 21, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"M\", LongForm -> False]]", + "mode": "skip", + "secs": 0.006, + "reason": "usage text" + }, + { + "i": 22, + "section": "3. Representing Graphs", + "in": "HoldComplete[M[t]]", + "mode": "check", + "secs": 1.388, + "expected": "18" + }, + { + "i": 23, + "section": "3. Representing Graphs", + "in": "HoldComplete[M[AddEdges[t, {{{1, 2}}}]]]", + "mode": "check", + "secs": 1.388, + "expected": "19" + }, + { + "i": 24, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"ChangeVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.006, + "reason": "usage text" + }, + { + "i": 25, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = SetGraphOptions[t, {{1, VertexColor -> Red, VertexStyle -> Disc[Large]}}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 26, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 1.788, + "expected": "" + }, + { + "i": 27, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = ChangeVertices[t, Vertices[CompleteGraph[5, 5], All]]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 28, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 1.403, + "expected": "" + }, + { + "i": 29, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = ChangeVertices[t, Vertices[CompleteGraph[5, 5]]]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 30, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 1.389, + "expected": "" + }, + { + "i": 31, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"ChangeEdges\", LongForm -> False]]", + "mode": "skip", + "secs": 0.007, + "reason": "usage text" + }, + { + "i": 32, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = ChangeEdges[t, Edges[CompleteGraph[10], All]]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 33, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 2.487, + "expected": "" + }, + { + "i": 34, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = ChangeEdges[t, Edges[CompleteGraph[5, 5], All]]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 35, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 2.184, + "expected": "" + }, + { + "i": 36, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"AddEdges\", LongForm -> False]]", + "mode": "skip", + "secs": 0.007, + "reason": "usage text" + }, + { + "i": 37, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = AddEdges[t, {{{1, 3}, EdgeStyle -> Fat, EdgeColor -> Red}}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 38, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 39, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = AddEdges[t, {{1, 2}, {2, 1}}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 40, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s, VertexNumber -> On, VertexNumberColor -> Blue]]", + "mode": "check", + "secs": 1.72, + "expected": "" + }, + { + "i": 41, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[AddEdges[t, {1, 3}]]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 42, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"DeleteEdges\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 43, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 1.65, + "expected": "" + }, + { + "i": 44, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[DeleteEdges[s, {{1, 2}}]]]", + "mode": "check", + "secs": 2.225, + "expected": "" + }, + { + "i": 45, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[DeleteEdges[s, {{1, 2}}, All]]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 46, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 47, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 48, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[DeleteEdges[s, {{1, 2}}], VertexNumber -> On]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 49, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[DeleteEdges[s, {{2, 1}}], VertexNumber -> On]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 50, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[DeleteEdges[s, {1, 2}]]]", + "mode": "check", + "secs": 2.007, + "expected": "" + }, + { + "i": 51, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"ExactRandomGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.006, + "reason": "usage text" + }, + { + "i": 52, + "section": "3. Representing Graphs", + "in": "HoldComplete[gt = Table[ExactRandomGraph[50, 100 + 10*i], {i, 25}]; ]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 53, + "section": "3. Representing Graphs", + "in": "HoldComplete[et = Table[Edges[gt[[i]]][[RandomKSubset[Range[100 + 10*i], 50 + 5*i]]], {i, 25}]; ]", + "mode": "skip", + "secs": 16.647, + "reason": "Mathics3 takes 17 s" + }, + { + "i": 54, + "section": "3. Representing Graphs", + "in": "HoldComplete[rt = Table[Timing[DeleteEdges[gt[[i]], et[[i]]]; ][[1]], {i, 25}]]", + "mode": "skip", + "secs": 0.072, + "reason": "uses et, which skipped cell 53 assigns" + }, + { + "i": 55, + "section": "3. Representing Graphs", + "in": "HoldComplete[ListPlot[First /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.09, + "reason": "uses rt, which skipped cell 54 assigns" + }, + { + "i": 56, + "section": "3. Representing Graphs", + "in": "HoldComplete[Fit[First /@ rt, {1, x, x^2}, x]]", + "mode": "skip", + "secs": 0.057, + "reason": "uses rt, which skipped cell 54 assigns" + }, + { + "i": 57, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"AddVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.011, + "reason": "usage text" + }, + { + "i": 58, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[AddVertices[t, {0.2, 0.4}]]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 59, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[AddVertices[t, {{{0.2, 0.4}}}]]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 60, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[AddVertices[t, {{{0.2, 0.4}, VertexColor -> Red}, {{0.3, 0.4}, VertexColor -> Green}}]]]", + "mode": "check", + "secs": 1.392, + "expected": "" + }, + { + "i": 61, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[AddVertices[t, 1]]]", + "mode": "check", + "secs": 1.531, + "expected": "" + }, + { + "i": 62, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[AddVertices[t, 10]]]", + "mode": "check", + "secs": 1.894, + "expected": "" + }, + { + "i": 63, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[AddVertices[t, Vertices[CompleteGraph[5, 5], All]]]]", + "mode": "check", + "secs": 2.703, + "expected": "" + }, + { + "i": 64, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"DeleteVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.012, + "reason": "usage text" + }, + { + "i": 65, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = DeleteVertices[t, {1, 3, 10}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 66, + "section": "3. Representing Graphs", + "in": "HoldComplete[p1 = ShowGraph[t, VertexNumber -> On, Graphics]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 67, + "section": "3. Representing Graphs", + "in": "HoldComplete[p2 = ShowGraph[s, VertexNumber -> On, Graphics]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 68, + "section": "3. Representing Graphs", + "in": "HoldComplete[Show[GraphicsArray[{p1, p2}], Background -> LightBlue, ImageSize -> 500]]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 69, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[DeleteVertices[DeleteVertices[DeleteVertices[t, {1}], {3}], {10}], VertexNumber -> On]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 70, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"Spectrum\", LongForm -> False]]", + "mode": "skip", + "secs": 0.009, + "reason": "usage text" + }, + { + "i": 71, + "section": "3. Representing Graphs", + "in": "HoldComplete[Spectrum[t]]", + "mode": "run", + "secs": 2.776, + "reason": "differs from WMA" + }, + { + "i": 72, + "section": "3. Representing Graphs", + "in": "HoldComplete[Spectrum[GraphUnion[Cycle[4], CompleteGraph[1]]]]", + "mode": "check", + "secs": 0.181, + "expected": "{-2,2,0,0,0}" + }, + { + "i": 73, + "section": "3. Representing Graphs", + "in": "HoldComplete[Spectrum[Star[5]]]", + "mode": "check", + "secs": 0.073, + "expected": "{-2,2,0,0,0}" + }, + { + "i": 74, + "section": "3. Representing Graphs", + "in": "HoldComplete[Spectrum[CompleteGraph[3, 4]]]", + "mode": "check", + "secs": 0.188, + "expected": "{Times[-2,Power[3,Rational[1,2]]],Times[2,Power[3,Rational[1,2]]],0,0,0,0,0}" + }, + { + "i": 75, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"ToAdjacencyLists\", LongForm -> False]]", + "mode": "skip", + "secs": 0.011, + "reason": "usage text" + }, + { + "i": 76, + "section": "3. Representing Graphs", + "in": "HoldComplete[t = AddEdges[t, {{{1, 1}}}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 77, + "section": "3. Representing Graphs", + "in": "HoldComplete[t = AddEdges[t, {{{1, 9}}}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 78, + "section": "3. Representing Graphs", + "in": "HoldComplete[t = AddEdges[t, {{{2, 3}}}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 79, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[t, VertexNumber -> On]]", + "mode": "check", + "secs": 1.833, + "expected": "" + }, + { + "i": 80, + "section": "3. Representing Graphs", + "in": "HoldComplete[l0 = ToAdjacencyLists[t]]", + "mode": "check", + "secs": 1.388, + "expected": "{{1,2,9,9,10},{1,3,3,10},{2,2,4,10},{3,5,10},{4,6,10},{5,7,10},{6,8,10},{7,9,10},{1,1,8,10},{1,2,3,4,5,6,7,8,9}}" + }, + { + "i": 81, + "section": "3. Representing Graphs", + "in": "HoldComplete[ToAdjacencyLists[t, EdgeWeight]]", + "mode": "check", + "secs": 1.388, + "expected": "{{{1,1},{2,1},{9,1},{9,1},{10,1}},{{1,1},{3,1},{3,1},{10,1}},{{2,1},{2,1},{4,1},{10,1}},{{3,1},{5,1},{10,1}},{{4,1},{6,1},{10,1}},{{5,1},{7,1},{10,1}},{{6,1},{8,1},{10,1}},{{7,1},{9,1},{10,1}},{{1,1},{1,1},{8,1},{10,1}},{{1,1},{2,1},{3,1},{4,1},{5,1},{6,1},{7,1},{8,1},{9,1}}}" + }, + { + "i": 82, + "section": "3. Representing Graphs", + "in": "HoldComplete[ToAdjacencyLists[SetEdgeWeights[t, WeightingFunction -> Random, WeightRange -> {2, 3}], EdgeWeight]]", + "mode": "run", + "secs": 1.388, + "reason": "random" + }, + { + "i": 83, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 84, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", + "mode": "check", + "secs": 2.624, + "expected": "" + }, + { + "i": 85, + "section": "3. Representing Graphs", + "in": "HoldComplete[ToAdjacencyLists[s]]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 86, + "section": "3. Representing Graphs", + "in": "HoldComplete[l3 = ToAdjacencyLists[t, Type -> Simple]]", + "mode": "check", + "secs": 1.388, + "expected": "{{2,9,10},{1,3,10},{2,4,10},{3,5,10},{4,6,10},{5,7,10},{6,8,10},{7,9,10},{1,8,10},{1,2,3,4,5,6,7,8,9}}" + }, + { + "i": 87, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"FromAdjacencyLists\", LongForm -> False]]", + "mode": "skip", + "secs": 0.012, + "reason": "usage text" + }, + { + "i": 88, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s = FromAdjacencyLists[l0, Vertices[t]]]]", + "mode": "check", + "secs": 1.913, + "expected": "" + }, + { + "i": 89, + "section": "3. Representing Graphs", + "in": "HoldComplete[Edges[s]]", + "mode": "check", + "secs": 1.913, + "expected": "{{1,1},{1,2},{1,9},{1,9},{1,10},{2,3},{2,3},{2,10},{3,4},{3,10},{4,5},{4,10},{5,6},{5,10},{6,7},{6,10},{7,8},{7,10},{8,9},{8,10},{9,10}}" + }, + { + "i": 90, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[FromAdjacencyLists[l0]]]", + "mode": "check", + "secs": 1.771, + "expected": "" + }, + { + "i": 91, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[FromAdjacencyLists[ToAdjacencyLists[Star[10]], Type -> Directed]]]", + "mode": "check", + "secs": 1.426, + "expected": "" + }, + { + "i": 92, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"ToOrderedPairs\", LongForm -> False]]", + "mode": "skip", + "secs": 0.012, + "reason": "usage text" + }, + { + "i": 93, + "section": "3. Representing Graphs", + "in": "HoldComplete[l0 = ToOrderedPairs[t]]", + "mode": "check", + "secs": 1.388, + "expected": "{{10,1},{10,2},{10,3},{10,4},{10,5},{10,6},{10,7},{10,8},{10,9},{2,1},{3,2},{4,3},{5,4},{6,5},{7,6},{8,7},{9,8},{9,1},{9,1},{3,2},{1,10},{2,10},{3,10},{4,10},{5,10},{6,10},{7,10},{8,10},{9,10},{1,2},{2,3},{3,4},{4,5},{5,6},{6,7},{7,8},{8,9},{1,9},{1,1},{1,9},{2,3}}" + }, + { + "i": 94, + "section": "3. Representing Graphs", + "in": "HoldComplete[l1 = ToOrderedPairs[t, Type -> Simple]]", + "mode": "check", + "secs": 1.388, + "expected": "{{1,2},{1,9},{1,10},{2,1},{2,3},{2,10},{3,2},{3,4},{3,10},{4,3},{4,5},{4,10},{5,4},{5,6},{5,10},{6,5},{6,7},{6,10},{7,6},{7,8},{7,10},{8,7},{8,9},{8,10},{9,1},{9,8},{9,10},{10,1},{10,2},{10,3},{10,4},{10,5},{10,6},{10,7},{10,8},{10,9}}" + }, + { + "i": 95, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 96, + "section": "3. Representing Graphs", + "in": "HoldComplete[ToOrderedPairs[s]]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 97, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"FromOrderedPairs\", LongForm -> False]]", + "mode": "skip", + "secs": 0.012, + "reason": "usage text" + }, + { + "i": 98, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = FromOrderedPairs[l0]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 99, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 2.753, + "expected": "" + }, + { + "i": 100, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = FromOrderedPairs[l0, Type -> Undirected]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 101, + "section": "3. Representing Graphs", + "in": "HoldComplete[l0]", + "mode": "check", + "secs": 1.388, + "expected": "{{10,1},{10,2},{10,3},{10,4},{10,5},{10,6},{10,7},{10,8},{10,9},{2,1},{3,2},{4,3},{5,4},{6,5},{7,6},{8,7},{9,8},{9,1},{9,1},{3,2},{1,10},{2,10},{3,10},{4,10},{5,10},{6,10},{7,10},{8,10},{9,10},{1,2},{2,3},{3,4},{4,5},{5,6},{6,7},{7,8},{8,9},{1,9},{1,1},{1,9},{2,3}}" + }, + { + "i": 102, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 2.245, + "expected": "" + }, + { + "i": 103, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[FromOrderedPairs[l0, Vertices[CompleteGraph[5, 5]]]]]", + "mode": "check", + "secs": 3.361, + "expected": "" + }, + { + "i": 104, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"ToUnorderedPairs\", LongForm -> False]]", + "mode": "skip", + "secs": 0.014, + "reason": "usage text" + }, + { + "i": 105, + "section": "3. Representing Graphs", + "in": "HoldComplete[t]", + "mode": "check", + "secs": 1.388, + "expected": "Graph[{{{1,10}},{{2,10}},{{3,10}},{{4,10}},{{5,10}},{{6,10}},{{7,10}},{{8,10}},{{9,10}},{{1,2}},{{2,3}},{{3,4}},{{4,5}},{{5,6}},{{6,7}},{{7,8}},{{8,9}},{{1,9}},{{1,1}},{{1,9}},{{2,3}}},{{{76604,64279}},{{17365,98481}},{{-50000,86603}},{{-93969,34202}},{{-93969,-34202}},{{-50000,-86603}},{{17365,-98481}},{{76604,-64279}},{{100000,0}},{{0,0}}}]" + }, + { + "i": 106, + "section": "3. Representing Graphs", + "in": "HoldComplete[ToUnorderedPairs[t]]", + "mode": "check", + "secs": 1.388, + "expected": "{{1,10},{2,10},{3,10},{4,10},{5,10},{6,10},{7,10},{8,10},{9,10},{1,2},{2,3},{3,4},{4,5},{5,6},{6,7},{7,8},{8,9},{1,9},{1,1},{1,9},{2,3}}" + }, + { + "i": 107, + "section": "3. Representing Graphs", + "in": "HoldComplete[ToUnorderedPairs[t, Type -> NoSelfLoops]]", + "mode": "check", + "secs": 1.388, + "expected": "{{1,2},{1,9},{1,10},{2,3},{2,10},{3,4},{3,10},{4,5},{4,10},{5,6},{5,10},{6,7},{6,10},{7,8},{7,10},{8,9},{8,10},{9,10}}" + }, + { + "i": 108, + "section": "3. Representing Graphs", + "in": "HoldComplete[ToUnorderedPairs[t, Type -> NoMultipleEdges]]", + "mode": "check", + "secs": 1.388, + "expected": "{{1,2},{1,9},{1,10},{2,3},{2,10},{3,4},{3,10},{4,5},{4,10},{5,6},{5,10},{6,7},{6,10},{7,8},{7,10},{8,9},{8,10},{9,10}}" + }, + { + "i": 109, + "section": "3. Representing Graphs", + "in": "HoldComplete[ToUnorderedPairs[t, Type -> Simple]]", + "mode": "check", + "secs": 1.388, + "expected": "{{1,2},{1,9},{1,10},{2,3},{2,10},{3,4},{3,10},{4,5},{4,10},{5,6},{5,10},{6,7},{6,10},{7,8},{7,10},{8,9},{8,10},{9,10}}" + }, + { + "i": 110, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = SetGraphOptions[t, EdgeDirection -> On]; ]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 111, + "section": "3. Representing Graphs", + "in": "HoldComplete[ToUnorderedPairs[s]]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 112, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"FromUnorderedPairs\", LongForm -> False]]", + "mode": "skip", + "secs": 0.011, + "reason": "usage text" + }, + { + "i": 113, + "section": "3. Representing Graphs", + "in": "HoldComplete[l0 = ToUnorderedPairs[t]]", + "mode": "check", + "secs": 1.388, + "expected": "{{1,10},{2,10},{3,10},{4,10},{5,10},{6,10},{7,10},{8,10},{9,10},{1,2},{2,3},{3,4},{4,5},{5,6},{6,7},{7,8},{8,9},{1,9},{1,1},{1,9},{2,3}}" + }, + { + "i": 114, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[FromUnorderedPairs[l0]]]", + "mode": "check", + "secs": 1.684, + "expected": "" + }, + { + "i": 115, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[FromUnorderedPairs[l0, Type -> Directed]]]", + "mode": "check", + "secs": 2.819, + "expected": "" + }, + { + "i": 116, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"ToAdjacencyMatrix\", LongForm -> False]]", + "mode": "skip", + "secs": 0.013, + "reason": "usage text" + }, + { + "i": 117, + "section": "3. Representing Graphs", + "in": "HoldComplete[MatrixForm[ToAdjacencyMatrix[t]]]", + "mode": "check", + "secs": 1.388, + "expected": "MatrixForm[{{1,1,0,0,0,0,0,0,2,1},{1,0,2,0,0,0,0,0,0,1},{0,2,0,1,0,0,0,0,0,1},{0,0,1,0,1,0,0,0,0,1},{0,0,0,1,0,1,0,0,0,1},{0,0,0,0,1,0,1,0,0,1},{0,0,0,0,0,1,0,1,0,1},{0,0,0,0,0,0,1,0,1,1},{2,0,0,0,0,0,0,1,0,1},{1,1,1,1,1,1,1,1,1,0}}]" + }, + { + "i": 118, + "section": "3. Representing Graphs", + "in": "HoldComplete[MatrixForm[ToAdjacencyMatrix[t, Type -> Simple]]]", + "mode": "check", + "secs": 1.388, + "expected": "MatrixForm[{{0,1,0,0,0,0,0,0,1,1},{1,0,1,0,0,0,0,0,0,1},{0,1,0,1,0,0,0,0,0,1},{0,0,1,0,1,0,0,0,0,1},{0,0,0,1,0,1,0,0,0,1},{0,0,0,0,1,0,1,0,0,1},{0,0,0,0,0,1,0,1,0,1},{0,0,0,0,0,0,1,0,1,1},{1,0,0,0,0,0,0,1,0,1},{1,1,1,1,1,1,1,1,1,0}}]" + }, + { + "i": 119, + "section": "3. Representing Graphs", + "in": "HoldComplete[k = SetEdgeWeights[RandomGraph[10, 0.3], WeightingFunction -> Euclidean]; ]", + "mode": "check", + "secs": 0.844, + "expected": "Null" + }, + { + "i": 120, + "section": "3. Representing Graphs", + "in": "HoldComplete[TableForm[ToAdjacencyMatrix[k, EdgeWeight]]]", + "mode": "run", + "secs": 0.844, + "reason": "random" + }, + { + "i": 121, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = GraphUnion[CompleteGraph[2], CompleteGraph[2], CompleteGraph[2]]; ]", + "mode": "check", + "secs": 0.19, + "expected": "Null" + }, + { + "i": 122, + "section": "3. Representing Graphs", + "in": "HoldComplete[ToAdjacencyMatrix[g, EdgeWeight]]", + "mode": "check", + "secs": 0.19, + "expected": "{{DirectedInfinity[1],1,DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1]},{1,DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1]},{DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1],1,DirectedInfinity[1],DirectedInfinity[1]},{DirectedInfinity[1],DirectedInfinity[1],1,DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1]},{DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1],1},{DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1],DirectedInfinity[1],1,DirectedInfinity[1]}}" + }, + { + "i": 123, + "section": "3. Representing Graphs", + "in": "HoldComplete[MatrixForm[ToAdjacencyMatrix[g]]]", + "mode": "check", + "secs": 0.19, + "expected": "MatrixForm[{{0,1,0,0,0,0},{1,0,0,0,0,0},{0,0,0,1,0,0},{0,0,1,0,0,0},{0,0,0,0,0,1},{0,0,0,0,1,0}}]" + }, + { + "i": 124, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"FromAdjacencyMatrix\", LongForm -> False]]", + "mode": "skip", + "secs": 0.014, + "reason": "usage text" + }, + { + "i": 125, + "section": "3. Representing Graphs", + "in": "HoldComplete[tg = FromAdjacencyMatrix[ToAdjacencyMatrix[t]]]", + "mode": "check", + "secs": 1.388, + "expected": "Graph[{{{1,1}},{{1,2}},{{1,9}},{{1,9}},{{1,10}},{{2,3}},{{2,3}},{{2,10}},{{3,4}},{{3,10}},{{4,5}},{{4,10}},{{5,6}},{{5,10}},{{6,7}},{{6,10}},{{7,8}},{{7,10}},{{8,9}},{{8,10}},{{9,10}}},{{{80902,58779}},{{30902,95106}},{{-30902,95106}},{{-80902,58779}},{{-100000,0}},{{-80902,-58779}},{{-30902,-95106}},{{30902,-95106}},{{80902,-58779}},{{100000,0}}}]" + }, + { + "i": 126, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[tg]]", + "mode": "check", + "secs": 1.601, + "expected": "" + }, + { + "i": 127, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"PseudographQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.013, + "reason": "usage text" + }, + { + "i": 128, + "section": "3. Representing Graphs", + "in": "HoldComplete[PseudographQ[t]]", + "mode": "check", + "secs": 1.388, + "expected": "True" + }, + { + "i": 129, + "section": "3. Representing Graphs", + "in": "HoldComplete[PseudographQ[DeleteEdges[t, {{1, 1}}]]]", + "mode": "check", + "secs": 1.388, + "expected": "False" + }, + { + "i": 130, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"UnweightedQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.014, + "reason": "usage text" + }, + { + "i": 131, + "section": "3. Representing Graphs", + "in": "HoldComplete[UnweightedQ[t]]", + "mode": "check", + "secs": 1.388, + "expected": "True" + }, + { + "i": 132, + "section": "3. Representing Graphs", + "in": "HoldComplete[UnweightedQ[SetEdgeWeights[t, WeightingFunction -> Random]]]", + "mode": "check", + "secs": 1.388, + "expected": "False" + }, + { + "i": 133, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"SimpleQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.014, + "reason": "usage text" + }, + { + "i": 134, + "section": "3. Representing Graphs", + "in": "HoldComplete[SimpleQ[t]]", + "mode": "check", + "secs": 1.388, + "expected": "False" + }, + { + "i": 135, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = RemoveSelfLoops[t]; SimpleQ[s]]", + "mode": "check", + "secs": 1.388, + "expected": "False" + }, + { + "i": 136, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = RemoveMultipleEdges[s]; SimpleQ[s]]", + "mode": "check", + "secs": 1.388, + "expected": "True" + }, + { + "i": 137, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"RemoveSelfLoops\", LongForm -> False]]", + "mode": "skip", + "secs": 0.013, + "reason": "usage text" + }, + { + "i": 138, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = AddEdges[t, {{{2, 2}}}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 139, + "section": "3. Representing Graphs", + "in": "HoldComplete[PseudographQ[s]]", + "mode": "check", + "secs": 1.388, + "expected": "True" + }, + { + "i": 140, + "section": "3. Representing Graphs", + "in": "HoldComplete[PseudographQ[RemoveSelfLoops[s]]]", + "mode": "check", + "secs": 1.388, + "expected": "False" + }, + { + "i": 141, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"RemoveMultipleEdges\", LongForm -> False]]", + "mode": "skip", + "secs": 0.014, + "reason": "usage text" + }, + { + "i": 142, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = SetGraphOptions[Wheel[10], {{{1, 10}, {2, 10}, EdgeStyle -> Fat, EdgeColor -> Green}}]; ]", + "mode": "check", + "secs": 0.258, + "expected": "Null" + }, + { + "i": 143, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 1.342, + "expected": "" + }, + { + "i": 144, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = AddEdges[s, {{{1, 10}}, {{1, 10}}, {{2, 10}}, {{3, 4}}}]; ]", + "mode": "check", + "secs": 0.258, + "expected": "Null" + }, + { + "i": 145, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 2.338, + "expected": "", + "xfail": "Transpose of deep lists: mathics-core PR #2090" + }, + { + "i": 146, + "section": "3. Representing Graphs", + "in": "HoldComplete[M[s]]", + "mode": "check", + "secs": 0.258, + "expected": "22", + "xfail": "Transpose of deep lists: mathics-core PR #2090" + }, + { + "i": 147, + "section": "3. Representing Graphs", + "in": "HoldComplete[ss = RemoveMultipleEdges[s]; ]", + "mode": "check", + "secs": 0.258, + "expected": "Null" + }, + { + "i": 148, + "section": "3. Representing Graphs", + "in": "HoldComplete[M[ss]]", + "mode": "check", + "secs": 0.258, + "expected": "18", + "xfail": "Transpose of deep lists: mathics-core PR #2090" + }, + { + "i": 149, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[ss]]", + "mode": "check", + "secs": 1.281, + "expected": "", + "xfail": "Transpose of deep lists: mathics-core PR #2090" + }, + { + "i": 150, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"EmptyQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.015, + "reason": "usage text" + }, + { + "i": 151, + "section": "3. Representing Graphs", + "in": "HoldComplete[EmptyQ[DeleteEdges[CompleteGraph[2], {{1, 2}}]]]", + "mode": "check", + "secs": 0.039, + "expected": "True" + }, + { + "i": 152, + "section": "3. Representing Graphs", + "in": "HoldComplete[EmptyQ[t]]", + "mode": "check", + "secs": 1.388, + "expected": "False" + }, + { + "i": 153, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"CompleteQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.014, + "reason": "usage text" + }, + { + "i": 154, + "section": "3. Representing Graphs", + "in": "HoldComplete[CompleteQ[t]]", + "mode": "check", + "secs": 1.388, + "expected": "False" + }, + { + "i": 155, + "section": "3. Representing Graphs", + "in": "HoldComplete[CompleteQ[CompleteGraph[10]]]", + "mode": "check", + "secs": 0.152, + "expected": "True" + }, + { + "i": 156, + "section": "3. Representing Graphs", + "in": "HoldComplete[CompleteQ[s = DeleteEdges[CompleteGraph[3], {{1, 2}}]]]", + "mode": "check", + "secs": 0.087, + "expected": "False" + }, + { + "i": 157, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = AddEdges[EmptyGraph[3], {{{1, 2}}, {{1, 3}}, {{2, 3}}, {{2, 1}}, {{3, 1}}, {{3, 2}}}]; ]", + "mode": "check", + "secs": 0.042, + "expected": "Null" + }, + { + "i": 158, + "section": "3. Representing Graphs", + "in": "HoldComplete[CompleteQ[s]]", + "mode": "check", + "secs": 0.042, + "expected": "False" + }, + { + "i": 159, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = SetGraphOptions[s, EdgeDirection -> On]; ]", + "mode": "run", + "secs": 0.042, + "reason": "differs from WMA" + }, + { + "i": 160, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 1.119, + "expected": "" + }, + { + "i": 161, + "section": "3. Representing Graphs", + "in": "HoldComplete[CompleteQ[s]]", + "mode": "check", + "secs": 0.042, + "expected": "False" + }, + { + "i": 162, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = AddEdges[SetGraphOptions[EmptyGraph[3], EdgeDirection -> On], {{{1, 2}}, {{1, 3}}, {{2, 3}}, {{2, 1}}, {{3, 1}}, {{3, 2}}}]; ]", + "mode": "run", + "secs": 0.062, + "reason": "differs from WMA" + }, + { + "i": 163, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 0.506, + "expected": "" + }, + { + "i": 164, + "section": "3. Representing Graphs", + "in": "HoldComplete[CompleteQ[s]]", + "mode": "run", + "secs": 0.062, + "reason": "differs from WMA" + }, + { + "i": 165, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"MultipleEdgesQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.015, + "reason": "usage text" + }, + { + "i": 166, + "section": "3. Representing Graphs", + "in": "HoldComplete[Sort[Edges[t]]]", + "mode": "check", + "secs": 1.388, + "expected": "{{1,1},{1,2},{1,9},{1,9},{1,10},{2,3},{2,3},{2,10},{3,4},{3,10},{4,5},{4,10},{5,6},{5,10},{6,7},{6,10},{7,8},{7,10},{8,9},{8,10},{9,10}}" + }, + { + "i": 167, + "section": "3. Representing Graphs", + "in": "HoldComplete[MultipleEdgesQ[t]]", + "mode": "check", + "secs": 1.388, + "expected": "True" + }, + { + "i": 168, + "section": "3. Representing Graphs", + "in": "HoldComplete[MultipleEdgesQ[DeleteEdges[t, {{2, 3}, {1, 9}}]]]", + "mode": "check", + "secs": 1.388, + "expected": "False" + }, + { + "i": 169, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = AddEdges[t, {{{2, 3}}}]; MultipleEdgesQ[DeleteEdges[s, {{2, 3}, {1, 9}}]]]", + "mode": "check", + "secs": 1.388, + "expected": "True" + }, + { + "i": 170, + "section": "3. Representing Graphs", + "in": "HoldComplete[MultipleEdgesQ[DeleteEdges[s, {{2, 3}, {1, 9}}, All]]]", + "mode": "check", + "secs": 1.388, + "expected": "False" + }, + { + "i": 171, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"InduceSubgraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.015, + "reason": "usage text" + }, + { + "i": 172, + "section": "3. Representing Graphs", + "in": "HoldComplete[p1 = ShowGraph[t, Background -> HotPink, VertexNumber -> Text[{0.02, 0.02}, TextStyle -> {FontSize -> 12}], Graphics]; p2 = ShowGraph[InduceSubgraph[t, {1, 9, 8, 10}], Background -> HotPink, VertexNumber -> Text[{0.02, 0.02}, TextStyle -> {FontSize -> 12}], Graphics]]", + "mode": "run", + "secs": 2.77, + "reason": "differs from WMA" + }, + { + "i": 173, + "section": "3. Representing Graphs", + "in": "HoldComplete[Show[GraphicsArray[{p1, p2}], Background -> Yellow, ImageSize -> 600]]", + "mode": "run", + "secs": 2.77, + "reason": "differs from WMA" + }, + { + "i": 174, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[InduceSubgraph[t, {1, 9, 8, 10, 5}]]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 175, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[InduceSubgraph[t, {1, 9, 8, 10, 5, 4, 6}]]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 176, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[InduceSubgraph[t, {1, 2, 4, 3, 5, 6, 7, 8, 9}]]]", + "mode": "check", + "secs": 1.567, + "expected": "" + }, + { + "i": 177, + "section": "3. Representing Graphs", + "in": "HoldComplete[g1 = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; g2 = GridGraph[30, 30]; ]", + "mode": "skip", + "secs": 6.434, + "reason": "Mathics3 takes 6 s" + }, + { + "i": 178, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = RandomSubset[Range[900]]; ]", + "mode": "check", + "secs": 1.784, + "expected": "Null" + }, + { + "i": 179, + "section": "3. Representing Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`InduceSubgraph[g1, s]; ], Timing[InduceSubgraph[g2, s]; ]}]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 180, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[InduceSubgraph[GridGraph[50, 50], RandomSubset[Range[2500]]], VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 181, + "section": "3. Representing Graphs", + "in": "HoldComplete[r = RandomSubset[Range[100]]; ]", + "mode": "check", + "secs": 0.1, + "expected": "Null" + }, + { + "i": 182, + "section": "3. Representing Graphs", + "in": "HoldComplete[rp = Permute[r, RandomPermutation[Length[r]]]; ]", + "mode": "check", + "secs": 0.142, + "expected": "Null" + }, + { + "i": 183, + "section": "3. Representing Graphs", + "in": "HoldComplete[DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`InduceSubgraph[DiscreteMath`OldCombinatorica`GridGraph[10, 10], r]]]", + "mode": "run", + "secs": 0.1, + "reason": "random" + }, + { + "i": 184, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[InduceSubgraph[GridGraph[10, 10], rp]]]", + "mode": "skip", + "secs": 7.125, + "reason": "Mathics3 takes 7 s" + }, + { + "i": 185, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"PermuteSubgraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.019, + "reason": "usage text" + }, + { + "i": 186, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[t, VertexNumber -> On]]", + "mode": "check", + "secs": 1.828, + "expected": "" + }, + { + "i": 187, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[PermuteSubgraph[t, {2, 10, 3, 4, 5, 6, 7, 8, 9, 1}], VertexNumber -> On]]", + "mode": "check", + "secs": 1.844, + "expected": "" + }, + { + "i": 188, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[PermuteSubgraph[t, {2, 10, 3, 4, 5, 9, 1}]]]", + "mode": "check", + "secs": 2.906, + "expected": "" + }, + { + "i": 189, + "section": "3. Representing Graphs", + "in": "HoldComplete[Length[rp]]", + "mode": "run", + "secs": 0.142, + "reason": "random" + }, + { + "i": 190, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[PermuteSubgraph[GridGraph[10, 10], rp]]]", + "mode": "skip", + "secs": 7.136, + "reason": "Mathics3 takes 7 s" + }, + { + "i": 191, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[PermuteSubgraph[GridGraph[4, 4], RandomPermutation[16]]]]", + "mode": "check", + "secs": 2.336, + "expected": "" + }, + { + "i": 192, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"Contract\", LongForm -> False]]", + "mode": "skip", + "secs": 0.019, + "reason": "usage text" + }, + { + "i": 193, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s = Contract[t, {5, 6}], VertexNumber -> On]]", + "mode": "check", + "secs": 2.077, + "expected": "" + }, + { + "i": 194, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s = Contract[s, {5, 8}], VertexNumber -> On]]", + "mode": "check", + "secs": 2.302, + "expected": "" + }, + { + "i": 195, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"GraphComplement\", LongForm -> False]]", + "mode": "skip", + "secs": 0.015, + "reason": "usage text" + }, + { + "i": 196, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = Graph[{}, {}]; GraphComplement[s]]", + "mode": "check", + "secs": 2.302, + "expected": "Graph[{},{}]" + }, + { + "i": 197, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[GraphComplement[t]]]", + "mode": "check", + "secs": 2.092, + "expected": "" + }, + { + "i": 198, + "section": "3. Representing Graphs", + "in": "HoldComplete[p1 = ShowGraph[s = SetGraphOptions[t, EdgeDirection -> On], Graphics]; , Null, p2 = ShowGraph[GraphComplement[s], Graphics]; ]", + "mode": "skip", + "secs": 8.575, + "reason": "Mathics3 takes 9 s" + }, + { + "i": 199, + "section": "3. Representing Graphs", + "in": "HoldComplete[Show[GraphicsArray[{p1, p2}], ImageSize -> 500]]", + "mode": "skip", + "secs": 0.006, + "reason": "uses p1, which skipped cell 198 assigns" + }, + { + "i": 200, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[GraphComplement[CompleteGraph[10, Type -> Directed]]]]", + "mode": "check", + "secs": 1.609, + "expected": "" + }, + { + "i": 201, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s = GraphComplement[GridGraph[4, 4]], VertexNumber -> On]]", + "mode": "skip", + "secs": 8.927, + "reason": "Mathics3 takes 9 s" + }, + { + "i": 202, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"MakeUndirected\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 203, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = MakeUndirected[t]]", + "mode": "check", + "secs": 1.388, + "expected": "Graph[{{{1,10}},{{2,10}},{{3,10}},{{4,10}},{{5,10}},{{6,10}},{{7,10}},{{8,10}},{{9,10}},{{1,2}},{{2,3}},{{3,4}},{{4,5}},{{5,6}},{{6,7}},{{7,8}},{{8,9}},{{1,9}},{{1,1}},{{1,9}},{{2,3}}},{{{76604,64279}},{{17365,98481}},{{-50000,86603}},{{-93969,34202}},{{-93969,-34202}},{{-50000,-86603}},{{17365,-98481}},{{76604,-64279}},{{100000,0}},{{0,0}}}]" + }, + { + "i": 204, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 1.826, + "expected": "" + }, + { + "i": 205, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = SetGraphOptions[CompleteGraph[3], EdgeDirection -> On]; ]", + "mode": "run", + "secs": 0.065, + "reason": "differs from WMA" + }, + { + "i": 206, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s, ImageSize -> 200]]", + "mode": "check", + "secs": 0.391, + "expected": "" + }, + { + "i": 207, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = AddEdges[s, {{{2, 1}}}]; ]", + "mode": "check", + "secs": 0.065, + "expected": "Null" + }, + { + "i": 208, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s, ImageSize -> 200]]", + "mode": "check", + "secs": 0.428, + "expected": "" + }, + { + "i": 209, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[MakeUndirected[s]]]", + "mode": "check", + "secs": 0.437, + "expected": "" + }, + { + "i": 210, + "section": "3. Representing Graphs", + "in": "HoldComplete[SetGraphOptions[s, EdgeDirection -> Off]]", + "mode": "run", + "secs": 0.065, + "reason": "differs from WMA" + }, + { + "i": 211, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"UndirectedQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.021, + "reason": "usage text" + }, + { + "i": 212, + "section": "3. Representing Graphs", + "in": "HoldComplete[UndirectedQ[t]]", + "mode": "check", + "secs": 1.388, + "expected": "True" + }, + { + "i": 213, + "section": "3. Representing Graphs", + "in": "HoldComplete[UndirectedQ[s = SetGraphOptions[t, EdgeDirection -> On]]]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 214, + "section": "3. Representing Graphs", + "in": "HoldComplete[UndirectedQ[MakeUndirected[s = SetGraphOptions[t, EdgeDirection -> On]]]]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 215, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"MakeSimple\", LongForm -> False]]", + "mode": "skip", + "secs": 0.019, + "reason": "usage text" + }, + { + "i": 216, + "section": "3. Representing Graphs", + "in": "HoldComplete[tt = MakeSimple[t]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 217, + "section": "3. Representing Graphs", + "in": "HoldComplete[M[tt]]", + "mode": "check", + "secs": 1.388, + "expected": "18" + }, + { + "i": 218, + "section": "3. Representing Graphs", + "in": "HoldComplete[SimpleQ[tt]]", + "mode": "check", + "secs": 1.388, + "expected": "True" + }, + { + "i": 219, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[tt]]", + "mode": "check", + "secs": 1.388, + "expected": "" + }, + { + "i": 220, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"DepthFirstTraversal\", LongForm -> False]]", + "mode": "skip", + "secs": 0.016, + "reason": "usage text" + }, + { + "i": 221, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = DeleteEdges[t, {{2, 3}}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 222, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", + "mode": "check", + "secs": 1.627, + "expected": "" + }, + { + "i": 223, + "section": "3. Representing Graphs", + "in": "HoldComplete[DepthFirstTraversal[s, 2]]", + "mode": "check", + "secs": 1.388, + "expected": "{2,1,9,8,7,6,5,4,3,10}" + }, + { + "i": 224, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = DeleteEdges[s, {{1, 2}}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 225, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", + "mode": "check", + "secs": 1.488, + "expected": "" + }, + { + "i": 226, + "section": "3. Representing Graphs", + "in": "HoldComplete[DepthFirstTraversal[s, 2]]", + "mode": "check", + "secs": 1.388, + "expected": "{2,3,4,5,6,7,8,9,1,10}" + }, + { + "i": 227, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = DeleteEdges[s, {{2, 3}}]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 228, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", + "mode": "check", + "secs": 1.412, + "expected": "" + }, + { + "i": 229, + "section": "3. Representing Graphs", + "in": "HoldComplete[DepthFirstTraversal[s, 2]]", + "mode": "check", + "secs": 1.388, + "expected": "{2,10,1,9,8,7,6,5,4,3}" + }, + { + "i": 230, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[Highlight[t, {Sort /@ DepthFirstTraversal[t, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexNumber -> On]]", + "mode": "check", + "secs": 2.414, + "expected": "" + }, + { + "i": 231, + "section": "3. Representing Graphs", + "in": "HoldComplete[$RecursionLimit = 20000; ]", + "mode": "run", + "secs": 0.007, + "reason": "messages WMA does not give: $RecursionLimit::limset" + }, + { + "i": 232, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = GridGraph[20, 20]; ]", + "mode": "check", + "secs": 4.012, + "expected": "Null" + }, + { + "i": 233, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ DepthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 4.012, + "reason": "Mathics3: aborted" + }, + { + "i": 234, + "section": "3. Representing Graphs", + "in": "HoldComplete[DepthFirstTraversal[s = SetGraphOptions[t, EdgeDirection -> On], 1, Edge]]", + "mode": "run", + "secs": 1.388, + "reason": "WMA has no result" + }, + { + "i": 235, + "section": "3. Representing Graphs", + "in": "HoldComplete[p1 = ShowGraph[s, Graphics]; p2 = ShowGraph[Highlight[s, {DepthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Green}], Graphics]; ]", + "mode": "check", + "secs": 4.129, + "expected": "Null" + }, + { + "i": 236, + "section": "3. Representing Graphs", + "in": "HoldComplete[Show[GraphicsArray[{p1, p2}], ImageSize -> 500]]", + "mode": "run", + "secs": 4.129, + "reason": "differs from WMA" + }, + { + "i": 237, + "section": "3. Representing Graphs", + "in": "HoldComplete[DepthFirstTraversal[s = SetGraphOptions[t, EdgeDirection -> On], 10, Edge]]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 238, + "section": "3. Representing Graphs", + "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; rt = Table[Timing[DepthFirstTraversal[gt[[i]], 1]; ], {i, 20}]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 239, + "section": "3. Representing Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.067, + "reason": "uses rt, which skipped cell 238 assigns" + }, + { + "i": 240, + "section": "3. Representing Graphs", + "in": "HoldComplete[NewDepthFirstTraversal[g_Graph, start_Integer, flag_:Vertex] := Block[{visit = {}, e = ToAdjacencyLists[g], edges = {}, dfi = Table[0, {V[g]}], cnt = 1}, NewDFS[start]; If[flag === Edge, edges, visit]]]", + "mode": "check", + "secs": 0.19, + "expected": "Null" + }, + { + "i": 241, + "section": "3. Representing Graphs", + "in": "HoldComplete[NewDFS[v_Integer] := (dfi[[v]] = cnt++; Scan[If[dfi[[#1]] == 0, NewDFS[#1]] & , e[[v]]])]", + "mode": "check", + "secs": 0.19, + "expected": "Null" + }, + { + "i": 242, + "section": "3. Representing Graphs", + "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; rt = Table[Timing[NewDepthFirstTraversal[gt[[i]], 1]; ], {i, 20}]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 243, + "section": "3. Representing Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.067, + "reason": "uses rt, which skipped cell 242 assigns" + }, + { + "i": 244, + "section": "3. Representing Graphs", + "in": "HoldComplete[gt = Table[DiscreteMath`OldCombinatorica`GridGraph[20, 10*i], {i, 5}]; rt = Table[Timing[DiscreteMath`OldCombinatorica`DepthFirstTraversal[gt[[i]], 1]; ], {i, 5}]]", + "mode": "skip", + "secs": 0.024, + "reason": "uses gt, which skipped cell 242 assigns" + }, + { + "i": 245, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"BreadthFirstTraversal\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 246, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s = DeleteEdges[t, {{2, 3}}], VertexNumber -> On]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 247, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s = DeleteEdges[s, {{2, 10}}], VertexNumber -> On]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 248, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[BreadthFirstTraversal[s, 1, Tree], VertexNumber -> On]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 249, + "section": "3. Representing Graphs", + "in": "HoldComplete[BreadthFirstTraversal[s, 1, Edge]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 250, + "section": "3. Representing Graphs", + "in": "HoldComplete[BreadthFirstTraversal[s, 1, Level]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 251, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[BreadthFirstTraversal[s, 10, Tree], VertexNumber -> On]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 252, + "section": "3. Representing Graphs", + "in": "HoldComplete[BreadthFirstTraversal[s, 10, Edge]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 253, + "section": "3. Representing Graphs", + "in": "HoldComplete[BreadthFirstTraversal[s, 10, Level]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 254, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[BreadthFirstTraversal[s, 5, Tree], VertexNumber -> On]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 255, + "section": "3. Representing Graphs", + "in": "HoldComplete[BreadthFirstTraversal[s, 5, Edge]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 256, + "section": "3. Representing Graphs", + "in": "HoldComplete[BreadthFirstTraversal[s, 5, Level]]", + "mode": "run", + "secs": 1.735, + "reason": "differs from WMA" + }, + { + "i": 257, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ BreadthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexNumber -> On]]", + "mode": "run", + "secs": 2.234, + "reason": "differs from WMA" + }, + { + "i": 258, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = GridGraph[30, 30]; ]", + "mode": "skip", + "secs": 5.141, + "reason": "Mathics3 takes 5 s" + }, + { + "i": 259, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ BreadthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 260, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = InduceSubgraph[s, RandomSubset[Range[900]]]; ]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 261, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s, VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 121.836, + "reason": "Mathics3: timeout" + }, + { + "i": 262, + "section": "3. Representing Graphs", + "in": "HoldComplete[BreadthFirstTraversal[s, 2, Edge]]", + "mode": "skip", + "secs": 28.78, + "reason": "Mathics3 takes 29 s" + }, + { + "i": 263, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ BreadthFirstTraversal[s, 2, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 264, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"CircularVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 265, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = CircularVertices[t]; ]", + "mode": "check", + "secs": 1.388, + "expected": "Null" + }, + { + "i": 266, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "run", + "secs": 1.612, + "reason": "differs from WMA" + }, + { + "i": 267, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[CircularVertices[CompleteGraph[10, 10]]]]", + "mode": "skip", + "secs": 6.413, + "reason": "Mathics3 takes 6 s" + }, + { + "i": 268, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"RankGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 269, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = GridGraph[5, 4]; ]", + "mode": "check", + "secs": 0.194, + "expected": "Null" + }, + { + "i": 270, + "section": "3. Representing Graphs", + "in": "HoldComplete[r = RankGraph[s, {1, 2, 3, 4}]]", + "mode": "check", + "secs": 0.235, + "expected": "{1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5}" + }, + { + "i": 271, + "section": "3. Representing Graphs", + "in": "HoldComplete[s1 = SetGraphOptions[s, Table[{i, VertexLabel -> {r[[i]]}}, {i, Length[r]}]]; ]", + "mode": "check", + "secs": 0.452, + "expected": "Null" + }, + { + "i": 272, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s1, PlotRange -> Large[0.2]]]", + "mode": "check", + "secs": 2.567, + "expected": "" + }, + { + "i": 273, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"RankedEmbedding\", LongForm -> False]]", + "mode": "skip", + "secs": 0.026, + "reason": "usage text" + }, + { + "i": 274, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = GridGraph[5, 5]; ]", + "mode": "check", + "secs": 0.236, + "expected": "Null" + }, + { + "i": 275, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RankedEmbedding[s, {13}]]]", + "mode": "check", + "secs": 3.294, + "expected": "" + }, + { + "i": 276, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RankedEmbedding[t, {1}]]]", + "mode": "run", + "secs": 1.986, + "reason": "differs from WMA" + }, + { + "i": 277, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"Eccentricity\", LongForm -> False]]", + "mode": "skip", + "secs": 0.022, + "reason": "usage text" + }, + { + "i": 278, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = Wheel[10]; ]", + "mode": "check", + "secs": 0.036, + "expected": "Null" + }, + { + "i": 279, + "section": "3. Representing Graphs", + "in": "HoldComplete[Eccentricity[g]]", + "mode": "check", + "secs": 1.529, + "expected": "{2,2,2,2,2,2,2,2,2,1}" + }, + { + "i": 280, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = GridGraph[10, 10]; ]", + "mode": "check", + "secs": 0.722, + "expected": "Null" + }, + { + "i": 281, + "section": "3. Representing Graphs", + "in": "HoldComplete[Eccentricity[g]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 282, + "section": "3. Representing Graphs", + "in": "HoldComplete[Timing[Eccentricity[g]; ]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 283, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = SetEdgeWeights[g]; ]", + "mode": "skip", + "secs": 29.95, + "reason": "Mathics3 takes 30 s" + }, + { + "i": 284, + "section": "3. Representing Graphs", + "in": "HoldComplete[Timing[Eccentricity[g]; ]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 285, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[10, 10]; ]", + "mode": "check", + "secs": 0.006, + "expected": "Null" + }, + { + "i": 286, + "section": "3. Representing Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`Eccentricity[g]; ]]", + "mode": "run", + "secs": 0.007, + "reason": "timing" + }, + { + "i": 287, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"Diameter\", LongForm -> False]]", + "mode": "skip", + "secs": 0.032, + "reason": "usage text" + }, + { + "i": 288, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = CompleteGraph[20]; ]", + "mode": "check", + "secs": 0.175, + "expected": "Null" + }, + { + "i": 289, + "section": "3. Representing Graphs", + "in": "HoldComplete[Diameter[g]]", + "mode": "skip", + "secs": 23.685, + "reason": "Mathics3 takes 24 s" + }, + { + "i": 290, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = RandomGraph[25, 0.3]; ]", + "mode": "check", + "secs": 1.566, + "expected": "Null" + }, + { + "i": 291, + "section": "3. Representing Graphs", + "in": "HoldComplete[Diameter[g]]", + "mode": "skip", + "secs": 11.832, + "reason": "Mathics3 takes 12 s" + }, + { + "i": 292, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = RandomGraph[50, 0.3]; ]", + "mode": "skip", + "secs": 15.184, + "reason": "Mathics3 takes 15 s" + }, + { + "i": 293, + "section": "3. Representing Graphs", + "in": "HoldComplete[Diameter[g]]", + "mode": "skip", + "secs": 101.421, + "reason": "Mathics3 takes 101 s" + }, + { + "i": 294, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = RandomGraph[100, 0.3]; ]", + "mode": "skip", + "secs": 118.897, + "reason": "Mathics3 takes 119 s" + }, + { + "i": 295, + "section": "3. Representing Graphs", + "in": "HoldComplete[Diameter[g]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 296, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"Radius\", LongForm -> False]]", + "mode": "skip", + "secs": 0.035, + "reason": "usage text" + }, + { + "i": 297, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = Wheel[100]; ]", + "mode": "check", + "secs": 0.246, + "expected": "Null" + }, + { + "i": 298, + "section": "3. Representing Graphs", + "in": "HoldComplete[Radius[g]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 299, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"GraphCenter\", LongForm -> False]]", + "mode": "skip", + "secs": 0.035, + "reason": "usage text" + }, + { + "i": 300, + "section": "3. Representing Graphs", + "in": "HoldComplete[g = Wheel[100]; ]", + "mode": "check", + "secs": 0.241, + "expected": "Null" + }, + { + "i": 301, + "section": "3. Representing Graphs", + "in": "HoldComplete[GraphCenter[g]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 302, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"RadialEmbedding\", LongForm -> False]]", + "mode": "skip", + "secs": 0.037, + "reason": "usage text" + }, + { + "i": 303, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = RandomTree[20]; ]", + "mode": "check", + "secs": 0.648, + "expected": "Null" + }, + { + "i": 304, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "run", + "secs": 1.807, + "reason": "random" + }, + { + "i": 305, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RadialEmbedding[s, 11], VertexNumber -> On]]", + "mode": "run", + "secs": 2.534, + "reason": "random" + }, + { + "i": 306, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RadialEmbedding[RandomTree[20], 11], VertexNumber -> On]]", + "mode": "run", + "secs": 3.1, + "reason": "random" + }, + { + "i": 307, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RadialEmbedding[RandomTree[20], 11], VertexNumber -> On]]", + "mode": "run", + "secs": 3.275, + "reason": "random" + }, + { + "i": 308, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RadialEmbedding[GridGraph[3, 3]]]]", + "mode": "check", + "secs": 2.767, + "expected": "" + }, + { + "i": 309, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"RootedEmbedding\", LongForm -> False]]", + "mode": "skip", + "secs": 0.038, + "reason": "usage text" + }, + { + "i": 310, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = RandomTree[20]; ]", + "mode": "check", + "secs": 0.565, + "expected": "Null" + }, + { + "i": 311, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RootedEmbedding[s, 1], VertexNumber -> On, PlotRange -> Large[0.05]]]", + "mode": "run", + "secs": 2.297, + "reason": "random" + }, + { + "i": 312, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RootedEmbedding[s, 3], VertexNumber -> On]]", + "mode": "run", + "secs": 2.339, + "reason": "random" + }, + { + "i": 313, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RootedEmbedding[s, 19], VertexNumber -> Center, VertexNumberColor -> White, VertexStyle -> Disc[Large], PlotRange -> Large[0.03], Background -> LightBlue]]", + "mode": "run", + "secs": 2.315, + "reason": "random" + }, + { + "i": 314, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"TranslateVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.041, + "reason": "usage text" + }, + { + "i": 315, + "section": "3. Representing Graphs", + "in": "HoldComplete[t]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 316, + "section": "3. Representing Graphs", + "in": "HoldComplete[TranslateVertices[t, {0.001, 0.002}]]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 317, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"DilateVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.037, + "reason": "usage text" + }, + { + "i": 318, + "section": "3. Representing Graphs", + "in": "HoldComplete[t]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 319, + "section": "3. Representing Graphs", + "in": "HoldComplete[DilateVertices[t, 2]]", + "mode": "run", + "secs": 1.388, + "reason": "differs from WMA" + }, + { + "i": 320, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"RotateVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.037, + "reason": "usage text" + }, + { + "i": 321, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s = CompleteGraph[3, 2, 2, 4]]]", + "mode": "check", + "secs": 3.125, + "expected": "" + }, + { + "i": 322, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RotateVertices[s, Pi/2]]]", + "mode": "check", + "secs": 3.125, + "expected": "" + }, + { + "i": 323, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[RotateVertices[s, Pi/4]]]", + "mode": "skip", + "secs": 10.045, + "reason": "Mathics3 takes 10 s" + }, + { + "i": 324, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"NormalizeVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.04, + "reason": "usage text" + }, + { + "i": 325, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = CompleteGraph[7]]", + "mode": "check", + "secs": 0.075, + "expected": "Graph[{{{1,2}},{{1,3}},{{1,4}},{{1,5}},{{1,6}},{{1,7}},{{2,3}},{{2,4}},{{2,5}},{{2,6}},{{2,7}},{{3,4}},{{3,5}},{{3,6}},{{3,7}},{{4,5}},{{4,6}},{{4,7}},{{5,6}},{{5,7}},{{6,7}}},{{{62349,78183}},{{-22252,97493}},{{-90097,43388}},{{-90097,-43388}},{{-22252,-97493}},{{62349,-78183}},{{100000,0}}}]" + }, + { + "i": 326, + "section": "3. Representing Graphs", + "in": "HoldComplete[Vertices[s]]", + "mode": "check", + "secs": 0.075, + "expected": "{{62349,78183},{-22252,97493},{-90097,43388},{-90097,-43388},{-22252,-97493},{62349,-78183},{100000,0}}" + }, + { + "i": 327, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = TranslateVertices[s, {0.5, 0.3}]]", + "mode": "check", + "secs": 0.075, + "expected": "Graph[{{{1,2}},{{1,3}},{{1,4}},{{1,5}},{{1,6}},{{1,7}},{{2,3}},{{2,4}},{{2,5}},{{2,6}},{{2,7}},{{3,4}},{{3,5}},{{3,6}},{{3,7}},{{4,5}},{{4,6}},{{4,7}},{{5,6}},{{5,7}},{{6,7}}},{{{112349,108183}},{{27748,127493}},{{-40097,73388}},{{-40097,-13388}},{{27748,-67493}},{{112349,-48183}},{{150000,30000}}}]" + }, + { + "i": 328, + "section": "3. Representing Graphs", + "in": "HoldComplete[Vertices[s]]", + "mode": "check", + "secs": 0.075, + "expected": "{{112349,108183},{27748,127493},{-40097,73388},{-40097,-13388},{27748,-67493},{112349,-48183},{150000,30000}}" + }, + { + "i": 329, + "section": "3. Representing Graphs", + "in": "HoldComplete[Vertices[NormalizeVertices[s]]]", + "mode": "check", + "secs": 0.075, + "expected": "{{82689,80773},{43790,89652},{12596,64775},{12596,24876},{43790,0},{82689,8878},{100000,44826}}" + }, + { + "i": 330, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"ShakeGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.041, + "reason": "usage text" + }, + { + "i": 331, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = RankedEmbedding[Wheel[10], {1, 2, 3, 4, 5, 6, 7, 8, 9}]]", + "mode": "check", + "secs": 0.323, + "expected": "Graph[{{{1,10}},{{2,10}},{{3,10}},{{4,10}},{{5,10}},{{6,10}},{{7,10}},{{8,10}},{{9,10}},{{1,2}},{{2,3}},{{3,4}},{{4,5}},{{5,6}},{{6,7}},{{7,8}},{{8,9}},{{1,9}}},{{{100000,-400000}},{{100000,-300000}},{{100000,-200000}},{{100000,-100000}},{{100000,0}},{{100000,100000}},{{100000,200000}},{{100000,300000}},{{100000,400000}},{{200000,0}}}]" + }, + { + "i": 332, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "check", + "secs": 1.512, + "expected": "" + }, + { + "i": 333, + "section": "3. Representing Graphs", + "in": "HoldComplete[ss = ShakeGraph[s]; ]", + "mode": "check", + "secs": 0.323, + "expected": "Null" + }, + { + "i": 334, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[ss]]", + "mode": "check", + "secs": 1.436, + "expected": "" + }, + { + "i": 335, + "section": "3. Representing Graphs", + "in": "HoldComplete[ss = ShakeGraph[s, 0.3]; ]", + "mode": "check", + "secs": 0.323, + "expected": "Null" + }, + { + "i": 336, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[ss]]", + "mode": "check", + "secs": 1.354, + "expected": "" + }, + { + "i": 337, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[CompleteGraph[2, 2, 2], VertexNumber -> On]]", + "mode": "check", + "secs": 1.019, + "expected": "" + }, + { + "i": 338, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[ShakeGraph[CompleteGraph[2, 2, 2], 0.3], VertexNumber -> On]]", + "mode": "check", + "secs": 1.152, + "expected": "" + }, + { + "i": 339, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"GraphOptions\", LongForm -> False]]", + "mode": "skip", + "secs": 0.04, + "reason": "usage text" + }, + { + "i": 340, + "section": "3. Representing Graphs", + "in": "HoldComplete[GraphOptions[s]]", + "mode": "check", + "secs": 0.323, + "expected": "{}" + }, + { + "i": 341, + "section": "3. Representing Graphs", + "in": "HoldComplete[r = SetGraphOptions[CompleteGraph[5, 5], VertexColor -> Red, EdgeColor -> Green]]", + "mode": "check", + "secs": 0.232, + "expected": "Graph[{{{1,6}},{{1,7}},{{1,8}},{{1,9}},{{1,10}},{{2,6}},{{2,7}},{{2,8}},{{2,9}},{{2,10}},{{3,6}},{{3,7}},{{3,8}},{{3,9}},{{3,10}},{{4,6}},{{4,7}},{{4,8}},{{4,9}},{{4,10}},{{5,6}},{{5,7}},{{5,8}},{{5,9}},{{5,10}}},{{{100000,-200000}},{{100000,-100000}},{{100000,0}},{{100000,100000}},{{100000,200000}},{{200000,-200000}},{{200000,-100000}},{{200000,0}},{{200000,100000}},{{200000,200000}}},Rule[VertexColor,RGBColor[1,0,0]],Rule[EdgeColor,RGBColor[0,1,0]]]" + }, + { + "i": 342, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[r]]", + "mode": "check", + "secs": 1.844, + "expected": "" + }, + { + "i": 343, + "section": "3. Representing Graphs", + "in": "HoldComplete[GraphOptions[r]]", + "mode": "check", + "secs": 0.232, + "expected": "{Rule[VertexColor,RGBColor[1,0,0]],Rule[EdgeColor,RGBColor[0,1,0]]}" + }, + { + "i": 344, + "section": "3. Representing Graphs", + "in": "HoldComplete[Information[\"SpringEmbedding\", LongForm -> False]]", + "mode": "skip", + "secs": 0.038, + "reason": "usage text" + }, + { + "i": 345, + "section": "3. Representing Graphs", + "in": "HoldComplete[s = MakeGraph[Permutations[{1, 2, 3, 4}], Count[#1 - #2, 0] == 0 & ]; ]", + "mode": "check", + "secs": 2.943, + "expected": "Null" + }, + { + "i": 346, + "section": "3. Representing Graphs", + "in": "HoldComplete[oldS = DiscreteMath`OldCombinatorica`MakeGraph[Permutations[{1, 2, 3, 4}], Count[#1 - #2, 0] == 0 & ]; ]", + "mode": "check", + "secs": 0.013, + "expected": "Null" + }, + { + "i": 347, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[s]]", + "mode": "skip", + "secs": 16.038, + "reason": "Mathics3 takes 16 s" + }, + { + "i": 348, + "section": "3. Representing Graphs", + "in": "HoldComplete[V[s]]", + "mode": "check", + "secs": 2.943, + "expected": "24" + }, + { + "i": 349, + "section": "3. Representing Graphs", + "in": "HoldComplete[M[s]]", + "mode": "check", + "secs": 2.943, + "expected": "216" + }, + { + "i": 350, + "section": "3. Representing Graphs", + "in": "HoldComplete[Timing[r = SpringEmbedding[s]; ]]", + "mode": "run", + "secs": 2.943, + "reason": "random" + }, + { + "i": 351, + "section": "3. Representing Graphs", + "in": "HoldComplete[ShowGraph[r]]", + "mode": "run", + "secs": 2.943, + "reason": "differs from WMA" + }, + { + "i": 352, + "section": "3. Representing Graphs", + "in": "HoldComplete[Timing[r = DiscreteMath`OldCombinatorica`SpringEmbedding[oldS]; ]]", + "mode": "run", + "secs": 0.013, + "reason": "timing" + } +] diff --git a/test/data/book/Chapter4.json b/test/data/book/Chapter4.json new file mode 100644 index 0000000..dcb77e3 --- /dev/null +++ b/test/data/book/Chapter4.json @@ -0,0 +1,2362 @@ +[ + { + "i": 1, + "section": "4. Generating Graphs", + "in": "HoldComplete[t = GridGraph[7, 9]; ]", + "mode": "check", + "secs": 0.514, + "expected": "Null" + }, + { + "i": 2, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[t = SetGraphOptions[t, {{1, 10, 20, VertexStyle -> Disc[Large], VertexColor -> HotPink}, {{8, 9}, {32, 39}, EdgeStyle -> Fat}}]]]", + "mode": "skip", + "secs": 13.38, + "reason": "Mathics3 takes 13 s" + }, + { + "i": 3, + "section": "4. Generating Graphs", + "in": "HoldComplete[t = AddEdges[t, {{{29, 30}}}]; ]", + "mode": "skip", + "secs": 0.121, + "reason": "uses t, which skipped cell 2 assigns" + }, + { + "i": 4, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.02]]]", + "mode": "skip", + "secs": 9.537, + "reason": "Mathics3 takes 10 s" + }, + { + "i": 5, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"GraphUnion\", LongForm -> False]]", + "mode": "skip", + "secs": 0.009, + "reason": "usage text" + }, + { + "i": 6, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphUnion[t, t], PlotRange -> Large[0.02]]]", + "mode": "skip", + "secs": 24.721, + "reason": "Mathics3 takes 25 s" + }, + { + "i": 7, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphUnion[CompleteGraph[3], CompleteGraph[5, 5], Star[4]], PlotRange -> Large[0.1]]]", + "mode": "check", + "secs": 2.876, + "expected": "" + }, + { + "i": 8, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphUnion[6, CompleteGraph[3]]]]", + "mode": "check", + "secs": 3.109, + "expected": "" + }, + { + "i": 9, + "section": "4. Generating Graphs", + "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; ]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 10, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[GraphUnion[gt[[i]], gt[[i]]]; ], {i, 20}]]", + "mode": "skip", + "secs": 0.061, + "reason": "uses gt, which skipped cell 9 assigns" + }, + { + "i": 11, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.065, + "reason": "uses rt, which skipped cell 10 assigns" + }, + { + "i": 12, + "section": "4. Generating Graphs", + "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`Wheel[200]; aa = Wheel[200]; ]", + "mode": "check", + "secs": 0.475, + "expected": "Null" + }, + { + "i": 13, + "section": "4. Generating Graphs", + "in": "HoldComplete[b = DiscreteMath`OldCombinatorica`CompleteGraph[75]; bb = CompleteGraph[75]; ]", + "mode": "check", + "secs": 4.008, + "expected": "Null" + }, + { + "i": 14, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphUnion[a, b]; ], Timing[GraphUnion[aa, bb]; ]}]", + "mode": "skip", + "secs": 11.729, + "reason": "Mathics3 takes 12 s" + }, + { + "i": 15, + "section": "4. Generating Graphs", + "in": "HoldComplete[cc = Star[1000]; c = DiscreteMath`OldCombinatorica`Star[1000]; ]", + "mode": "check", + "secs": 2.037, + "expected": "Null" + }, + { + "i": 16, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[GraphUnion[aa, cc]; ]]", + "mode": "skip", + "secs": 14.824, + "reason": "Mathics3 takes 15 s" + }, + { + "i": 17, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`GraphUnion[a, c]; ]]", + "mode": "run", + "secs": 2.037, + "reason": "timing" + }, + { + "i": 18, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"ExpandGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.01, + "reason": "usage text" + }, + { + "i": 19, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"AddVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.007, + "reason": "usage text" + }, + { + "i": 20, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[ExpandGraph[Wheel[10], 20]]]", + "mode": "check", + "secs": 1.969, + "expected": "" + }, + { + "i": 21, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"GraphIntersection\", LongForm -> False]]", + "mode": "skip", + "secs": 0.009, + "reason": "usage text" + }, + { + "i": 22, + "section": "4. Generating Graphs", + "in": "HoldComplete[p1 = ShowGraph[s = Wheel[20], VertexColor -> Red, EdgeColor -> Red, VertexNumber -> On, Graphics]; ]", + "mode": "check", + "secs": 4.146, + "expected": "Null" + }, + { + "i": 23, + "section": "4. Generating Graphs", + "in": "HoldComplete[p2 = ShowGraph[r = GridGraph[4, 5], VertexColor -> Blue, EdgeColor -> Blue, VertexNumber -> On, Graphics]; ]", + "mode": "check", + "secs": 2.699, + "expected": "Null" + }, + { + "i": 24, + "section": "4. Generating Graphs", + "in": "HoldComplete[p3 = ShowGraph[GraphIntersection[s, r], VertexColor -> Green, EdgeColor -> Green, VertexNumber -> On, Graphics]; ]", + "mode": "check", + "secs": 4.146, + "expected": "Null" + }, + { + "i": 25, + "section": "4. Generating Graphs", + "in": "HoldComplete[Show[GraphicsArray[{p1, p2, p3}], ImageSize -> 600]]", + "mode": "run", + "secs": 4.146, + "reason": "differs from WMA" + }, + { + "i": 26, + "section": "4. Generating Graphs", + "in": "HoldComplete[p4 = ShowGraph[GraphIntersection[r, s], VertexColor -> Green, EdgeColor -> Green, VertexNumber -> On, Graphics]; ]", + "mode": "check", + "secs": 4.146, + "expected": "Null" + }, + { + "i": 27, + "section": "4. Generating Graphs", + "in": "HoldComplete[Show[GraphicsArray[{p1, p2, p4}], ImageSize -> 600]]", + "mode": "run", + "secs": 4.146, + "reason": "differs from WMA" + }, + { + "i": 28, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphIntersection[t, CompleteGraph[63]], VertexNumber -> On, PlotRange -> Large[0.1]]]", + "mode": "skip", + "secs": 16.816, + "reason": "Mathics3 takes 17 s" + }, + { + "i": 29, + "section": "4. Generating Graphs", + "in": "HoldComplete[g = SetGraphOptions[Star[5], VertexColor -> Red]; ShowGraph[g]]", + "mode": "check", + "secs": 0.573, + "expected": "" + }, + { + "i": 30, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphIntersection[g, CompleteGraph[5]]]]", + "mode": "check", + "secs": 0.576, + "expected": "" + }, + { + "i": 31, + "section": "4. Generating Graphs", + "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; rt = Table[Timing[GraphIntersection[gt[[i]], gt[[i]]]; ], {i, 20}]]", + "mode": "skip", + "secs": 120.002, + "reason": "Mathics3: timeout" + }, + { + "i": 32, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.065, + "reason": "uses rt, which skipped cell 31 assigns" + }, + { + "i": 33, + "section": "4. Generating Graphs", + "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`CompleteGraph[80]; aa = CompleteGraph[80]; ]", + "mode": "check", + "secs": 1.438, + "expected": "Null" + }, + { + "i": 34, + "section": "4. Generating Graphs", + "in": "HoldComplete[b = DiscreteMath`OldCombinatorica`GridGraph[8, 10]; bb = GridGraph[8, 10]; ]", + "mode": "check", + "secs": 0.648, + "expected": "Null" + }, + { + "i": 35, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphIntersection[a, b]; ], Timing[GraphIntersection[aa, bb]; ], Timing[GraphIntersection[bb, aa]; ]}]", + "mode": "skip", + "secs": 100.636, + "reason": "Mathics3 takes 101 s" + }, + { + "i": 36, + "section": "4. Generating Graphs", + "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`RandomTree[100]; aa = RandomTree[100]; ]", + "mode": "check", + "secs": 3.721, + "expected": "Null" + }, + { + "i": 37, + "section": "4. Generating Graphs", + "in": "HoldComplete[b = DiscreteMath`OldCombinatorica`GridGraph[10, 10]; bb = GridGraph[10, 10]; ]", + "mode": "check", + "secs": 0.766, + "expected": "Null" + }, + { + "i": 38, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphIntersection[a, b]; ], Timing[GraphIntersection[aa, bb]; ]}]", + "mode": "run", + "secs": 3.721, + "reason": "random" + }, + { + "i": 39, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"GraphDifference\", LongForm -> False]]", + "mode": "skip", + "secs": 0.011, + "reason": "usage text" + }, + { + "i": 40, + "section": "4. Generating Graphs", + "in": "HoldComplete[Edges[GraphDifference[t, t]]]", + "mode": "skip", + "secs": 0.164, + "reason": "uses t, which skipped cell 3 assigns" + }, + { + "i": 41, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[s = EmptyGraph[V[t]], VertexStyle -> Disc[Small]]]", + "mode": "skip", + "secs": 2.79, + "reason": "uses t, which skipped cell 3 assigns" + }, + { + "i": 42, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphDifference[t, s]]]", + "mode": "skip", + "secs": 15.879, + "reason": "Mathics3 takes 16 s" + }, + { + "i": 43, + "section": "4. Generating Graphs", + "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`CompleteGraph[100]; aa = CompleteGraph[100]; ]", + "mode": "check", + "secs": 2.166, + "expected": "Null" + }, + { + "i": 44, + "section": "4. Generating Graphs", + "in": "HoldComplete[b = DiscreteMath`OldCombinatorica`RandomTree[100]; bb = RandomTree[100]; ]", + "mode": "check", + "secs": 3.857, + "expected": "Null" + }, + { + "i": 45, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphDifference[a, a]; ], Timing[GraphDifference[aa, aa]; ]}]", + "mode": "skip", + "secs": 13.724, + "reason": "Mathics3 takes 14 s" + }, + { + "i": 46, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphDifference[b, b]; ], Timing[GraphDifference[bb, bb]; ]}]", + "mode": "run", + "secs": 3.857, + "reason": "timing" + }, + { + "i": 47, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"GraphSum\", LongForm -> False]]", + "mode": "skip", + "secs": 0.013, + "reason": "usage text" + }, + { + "i": 48, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphSum[t, Path[63]]]]", + "mode": "skip", + "secs": 20.284, + "reason": "Mathics3 takes 20 s" + }, + { + "i": 49, + "section": "4. Generating Graphs", + "in": "HoldComplete[g = SetGraphOptions[Wheel[10], EdgeStyle -> Fat, EdgeColor -> Purple]; ]", + "mode": "check", + "secs": 0.076, + "expected": "Null" + }, + { + "i": 50, + "section": "4. Generating Graphs", + "in": "HoldComplete[h = SetGraphOptions[Star[10], EdgeColor -> Green]; ]", + "mode": "check", + "secs": 0.063, + "expected": "Null" + }, + { + "i": 51, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphSum[g, Star[10]]]]", + "mode": "check", + "secs": 3.661, + "expected": "" + }, + { + "i": 52, + "section": "4. Generating Graphs", + "in": "HoldComplete[p1 = ShowGraph[a = SetGraphOptions[GridGraph[3, 3], EdgeColor -> LightBlue, VertexColor -> Red, VertexStyle -> Disc[Large]], Graphics]; ]", + "mode": "check", + "secs": 1.215, + "expected": "Null" + }, + { + "i": 53, + "section": "4. Generating Graphs", + "in": "HoldComplete[p2 = ShowGraph[b = SetGraphOptions[Wheel[9], EdgeColor -> Yellow, VertexColor -> LightBlue, VertexStyle -> Disc[Large]], Graphics]; ]", + "mode": "check", + "secs": 1.261, + "expected": "Null" + }, + { + "i": 54, + "section": "4. Generating Graphs", + "in": "HoldComplete[Show[GraphicsArray[{p1, p2}], ImageSize -> 500, Background -> Black]]", + "mode": "run", + "secs": 1.261, + "reason": "differs from WMA" + }, + { + "i": 55, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphSum[a, b], Background -> Black, PlotRange -> Large[0.01]]]", + "mode": "check", + "secs": 2.486, + "expected": "" + }, + { + "i": 56, + "section": "4. Generating Graphs", + "in": "HoldComplete[b = Wheel[9]; ]", + "mode": "check", + "secs": 0.035, + "expected": "Null" + }, + { + "i": 57, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[b]]", + "mode": "check", + "secs": 1.198, + "expected": "" + }, + { + "i": 58, + "section": "4. Generating Graphs", + "in": "HoldComplete[p2 = ShowGraph[b = SetGraphOptions[b, Append[Edges[b], EdgeColor -> Yellow], VertexColor -> LightBlue, VertexStyle -> Disc[Large]], Background -> Black, PlotRange -> Large[0.01]]]", + "mode": "check", + "secs": 3.116, + "expected": "" + }, + { + "i": 59, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphSum[a, b], Background -> Black, PlotRange -> Large[0.01]]]", + "mode": "check", + "secs": 3.116, + "expected": "" + }, + { + "i": 60, + "section": "4. Generating Graphs", + "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; , Null, rt = Table[Timing[GraphSum[gt[[i]], gt[[i]]]; ], {i, 20}]]", + "mode": "skip", + "secs": 120.796, + "reason": "Mathics3: timeout" + }, + { + "i": 61, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.067, + "reason": "uses rt, which skipped cell 60 assigns" + }, + { + "i": 62, + "section": "4. Generating Graphs", + "in": "HoldComplete[aa = Table[DiscreteMath`OldCombinatorica`RandomTree[i^2], {i, 10, 30, 10}]; ]", + "mode": "check", + "secs": 0.01, + "expected": "Null" + }, + { + "i": 63, + "section": "4. Generating Graphs", + "in": "HoldComplete[bb = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; ]", + "mode": "check", + "secs": 0.007, + "expected": "Null" + }, + { + "i": 64, + "section": "4. Generating Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`GraphSum[aa[[i]], bb[[i]]]; ], {i, 3}]]", + "mode": "run", + "secs": 0.015, + "reason": "random" + }, + { + "i": 65, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"GraphJoin\", LongForm -> False]]", + "mode": "skip", + "secs": 0.019, + "reason": "usage text" + }, + { + "i": 66, + "section": "4. Generating Graphs", + "in": "HoldComplete[l = r = EmptyGraph[5]; ]", + "mode": "check", + "secs": 0.02, + "expected": "Null" + }, + { + "i": 67, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphUnion[l, r]]]", + "mode": "check", + "secs": 0.662, + "expected": "" + }, + { + "i": 68, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphJoin[l, r]]]", + "mode": "check", + "secs": 1.822, + "expected": "" + }, + { + "i": 69, + "section": "4. Generating Graphs", + "in": "HoldComplete[g1 = SetGraphOptions[Cycle[10], VertexStyle -> Disc[Large], VertexColor -> Blue]; ]", + "mode": "check", + "secs": 0.083, + "expected": "Null" + }, + { + "i": 70, + "section": "4. Generating Graphs", + "in": "HoldComplete[g2 = SetGraphOptions[CompleteGraph[1], VertexColor -> Green, VertexStyle -> Disc[Large]]; ]", + "mode": "check", + "secs": 0.028, + "expected": "Null" + }, + { + "i": 71, + "section": "4. Generating Graphs", + "in": "HoldComplete[g3 = SetGraphOptions[CompleteGraph[1], {1, VertexColor -> Green}, VertexStyle -> Disc[Large]]; ]", + "mode": "check", + "secs": 0.023, + "expected": "Null" + }, + { + "i": 72, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphJoin[g1, g2], PlotRange -> Large[0.1]]]", + "mode": "check", + "secs": 1.639, + "expected": "" + }, + { + "i": 73, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphJoin[g1, g3], PlotRange -> Large[0.1]]]", + "mode": "check", + "secs": 1.701, + "expected": "" + }, + { + "i": 74, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"GraphJoin\", LongForm -> False]]", + "mode": "skip", + "secs": 0.018, + "reason": "usage text" + }, + { + "i": 75, + "section": "4. Generating Graphs", + "in": "HoldComplete[gt = Table[GridGraph[5, 5*i], {i, 5}]; ]", + "mode": "check", + "secs": 3.482, + "expected": "Null" + }, + { + "i": 76, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[GraphJoin[gt[[i]], gt[[i]]]; ], {i, 5}]; ]", + "mode": "skip", + "secs": 108.884, + "reason": "Mathics3 takes 109 s" + }, + { + "i": 77, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.026, + "reason": "uses rt, which skipped cell 76 assigns" + }, + { + "i": 78, + "section": "4. Generating Graphs", + "in": "HoldComplete[a = Table[DiscreteMath`OldCombinatorica`RandomTree[i], {i, 50, 70, 10}]; aa = Table[RandomTree[i], {i, 50, 70, 10}]; ]", + "mode": "skip", + "secs": 6.303, + "reason": "Mathics3 takes 6 s" + }, + { + "i": 79, + "section": "4. Generating Graphs", + "in": "HoldComplete[b = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; bb = Table[GridGraph[i, i], {i, 10, 30, 10}]; ]", + "mode": "skip", + "secs": 9.534, + "reason": "Mathics3 takes 10 s" + }, + { + "i": 80, + "section": "4. Generating Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`GraphJoin[a[[i]], b[[i]]]; ], {i, 3}]]", + "mode": "skip", + "secs": 0.015, + "reason": "uses a, which skipped cell 78 assigns" + }, + { + "i": 81, + "section": "4. Generating Graphs", + "in": "HoldComplete[Table[Timing[GraphJoin[aa[[i]], bb[[i]]]; ], {i, 2}]]", + "mode": "skip", + "secs": 86.368, + "reason": "Mathics3 takes 86 s" + }, + { + "i": 82, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"GraphProduct\", LongForm -> False]]", + "mode": "skip", + "secs": 0.014, + "reason": "usage text" + }, + { + "i": 83, + "section": "4. Generating Graphs", + "in": "HoldComplete[l = Wheel[5]; ]", + "mode": "check", + "secs": 0.023, + "expected": "Null" + }, + { + "i": 84, + "section": "4. Generating Graphs", + "in": "HoldComplete[r = GridGraph[3, 3]; ]", + "mode": "check", + "secs": 0.125, + "expected": "Null" + }, + { + "i": 85, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphProduct[l, r], VertexStyle -> Disc[Small]]]", + "mode": "skip", + "secs": 10.235, + "reason": "Mathics3 takes 10 s" + }, + { + "i": 86, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphProduct[CompleteGraph[3], CompleteGraph[5]]]]", + "mode": "skip", + "secs": 8.576, + "reason": "Mathics3 takes 9 s" + }, + { + "i": 87, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphProduct[CompleteGraph[5], CompleteGraph[3]]]]", + "mode": "check", + "secs": 3.14, + "expected": "" + }, + { + "i": 88, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphProduct[CompleteGraph[3], Star[3], CompleteGraph[3]]]]", + "mode": "skip", + "secs": 5.472, + "reason": "Mathics3 takes 5 s" + }, + { + "i": 89, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[l = SetGraphOptions[l, VertexColor -> Green, EdgeColor -> Green], Background -> Black]]", + "mode": "check", + "secs": 0.71, + "expected": "" + }, + { + "i": 90, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[r = SetGraphOptions[r, VertexColor -> Orange, EdgeColor -> Orange], Background -> Black]]", + "mode": "check", + "secs": 1.091, + "expected": "" + }, + { + "i": 91, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphProduct[l, r]]]", + "mode": "skip", + "secs": 10.61, + "reason": "Mathics3 takes 11 s" + }, + { + "i": 92, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[l1 = SetGraphOptions[l, VertexColor -> Red, EdgeColor -> Orange], Background -> Black]]", + "mode": "check", + "secs": 0.71, + "expected": "" + }, + { + "i": 93, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[r1 = SetGraphOptions[r, VertexColor -> Orange, EdgeColor -> Orange], Background -> Black]]", + "mode": "check", + "secs": 1.091, + "expected": "" + }, + { + "i": 94, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GraphProduct[l, r]]]", + "mode": "skip", + "secs": 10.53, + "reason": "Mathics3 takes 11 s" + }, + { + "i": 95, + "section": "4. Generating Graphs", + "in": "HoldComplete[gt = Table[GridGraph[5, 5*i], {i, 10}]; , Null, rt = Table[Timing[GraphProduct[gt[[i]], gt[[i]]]; ], {i, 10}]]", + "mode": "skip", + "secs": 120.012, + "reason": "Mathics3: timeout" + }, + { + "i": 96, + "section": "4. Generating Graphs", + "in": "HoldComplete[g = GraphProduct[gt[[10]], gt[[10]]]; ]", + "mode": "skip", + "secs": 120.049, + "reason": "Mathics3: timeout" + }, + { + "i": 97, + "section": "4. Generating Graphs", + "in": "HoldComplete[M[g]]", + "mode": "skip", + "secs": 0.005, + "reason": "uses g, which skipped cell 96 assigns" + }, + { + "i": 98, + "section": "4. Generating Graphs", + "in": "HoldComplete[V[g]]", + "mode": "skip", + "secs": 0.004, + "reason": "uses g, which skipped cell 96 assigns" + }, + { + "i": 99, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.026, + "reason": "uses rt, which skipped cell 95 assigns" + }, + { + "i": 100, + "section": "4. Generating Graphs", + "in": "HoldComplete[aa = Cycle[100]; ]", + "mode": "check", + "secs": 0.394, + "expected": "Null" + }, + { + "i": 101, + "section": "4. Generating Graphs", + "in": "HoldComplete[bb = RandomTree[100]; ]", + "mode": "check", + "secs": 3.73, + "expected": "Null" + }, + { + "i": 102, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[ans = GraphProduct[aa, bb]; ]]", + "mode": "skip", + "secs": 57.019, + "reason": "Mathics3 takes 57 s" + }, + { + "i": 103, + "section": "4. Generating Graphs", + "in": "HoldComplete[V[ans]]", + "mode": "skip", + "secs": 0.005, + "reason": "uses ans, which skipped cell 102 assigns" + }, + { + "i": 104, + "section": "4. Generating Graphs", + "in": "HoldComplete[M[ans]]", + "mode": "skip", + "secs": 0.005, + "reason": "uses ans, which skipped cell 102 assigns" + }, + { + "i": 105, + "section": "4. Generating Graphs", + "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`Cycle[30]; ]", + "mode": "check", + "secs": 0.006, + "expected": "Null" + }, + { + "i": 106, + "section": "4. Generating Graphs", + "in": "HoldComplete[aa = Cycle[30]; ]", + "mode": "check", + "secs": 0.075, + "expected": "Null" + }, + { + "i": 107, + "section": "4. Generating Graphs", + "in": "HoldComplete[b = DiscreteMath`OldCombinatorica`RandomTree[30]; ]", + "mode": "check", + "secs": 0.005, + "expected": "Null" + }, + { + "i": 108, + "section": "4. Generating Graphs", + "in": "HoldComplete[bb = RandomTree[30]; ]", + "mode": "check", + "secs": 0.855, + "expected": "Null" + }, + { + "i": 109, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GraphProduct[a, b]; ], Timing[GraphProduct[aa, bb]; ]}]", + "mode": "skip", + "secs": 5.099, + "reason": "Mathics3 takes 5 s" + }, + { + "i": 110, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"IncidenceMatrix\", LongForm -> False]]", + "mode": "skip", + "secs": 0.022, + "reason": "usage text" + }, + { + "i": 111, + "section": "4. Generating Graphs", + "in": "HoldComplete[MatrixForm[IncidenceMatrix[Star[10]]]]", + "mode": "check", + "secs": 0.274, + "expected": "MatrixForm[{{1,0,0,0,0,0,0,0,0},{0,1,0,0,0,0,0,0,0},{0,0,1,0,0,0,0,0,0},{0,0,0,1,0,0,0,0,0},{0,0,0,0,1,0,0,0,0},{0,0,0,0,0,1,0,0,0},{0,0,0,0,0,0,1,0,0},{0,0,0,0,0,0,0,1,0},{0,0,0,0,0,0,0,0,1},{1,1,1,1,1,1,1,1,1}}]" + }, + { + "i": 112, + "section": "4. Generating Graphs", + "in": "HoldComplete[g = SetGraphOptions[Star[10], EdgeDirection -> On]; ShowGraph[g, VertexNumber -> On]]", + "mode": "skip", + "secs": 0.994, + "reason": "uses g, which skipped cell 96 assigns" + }, + { + "i": 113, + "section": "4. Generating Graphs", + "in": "HoldComplete[MatrixForm[IncidenceMatrix[g]]]", + "mode": "skip", + "secs": 0.178, + "reason": "uses g, which skipped cell 112 assigns" + }, + { + "i": 114, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"LineGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.021, + "reason": "usage text" + }, + { + "i": 115, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[LineGraph[CompleteGraph[5]]]]", + "mode": "check", + "secs": 2.106, + "expected": "" + }, + { + "i": 116, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[LineGraph[Cycle[10]]]]", + "mode": "check", + "secs": 1.2, + "expected": "" + }, + { + "i": 117, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[LineGraph[GridGraph[7, 7]]]]", + "mode": "skip", + "secs": 21.588, + "reason": "Mathics3 takes 22 s" + }, + { + "i": 118, + "section": "4. Generating Graphs", + "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`GridGraph[25, 25]; aa = GridGraph[25, 25]; ]", + "mode": "check", + "secs": 3.979, + "expected": "Null" + }, + { + "i": 119, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`LineGraph[a]; ], Timing[LineGraph[aa]; ]}]", + "mode": "skip", + "secs": 39.465, + "reason": "Mathics3 takes 39 s" + }, + { + "i": 120, + "section": "4. Generating Graphs", + "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 15}]; , Null, rt = Table[Timing[LineGraph[gt[[i]]]; ], {i, 15}]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 121, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.028, + "reason": "uses rt, which skipped cell 120 assigns" + }, + { + "i": 122, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"CirculantGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.023, + "reason": "usage text" + }, + { + "i": 123, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[CirculantGraph[21, RandomKSubset[Range[10], 3]]]]", + "mode": "check", + "secs": 4.321, + "expected": "" + }, + { + "i": 124, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[CirculantGraph[21, RandomKSubset[Range[10], 3]]]]", + "mode": "check", + "secs": 4.258, + "expected": "" + }, + { + "i": 125, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[CirculantGraph[21, RandomKSubset[Range[10], 3]]]]", + "mode": "skip", + "secs": 12.688, + "reason": "Mathics3 takes 13 s" + }, + { + "i": 126, + "section": "4. Generating Graphs", + "in": "HoldComplete[ne = Edges[CirculantGraph[5, {1, 2}]]]", + "mode": "check", + "secs": 0.071, + "expected": "{{1,2},{1,3},{1,4},{1,5},{2,3},{2,4},{2,5},{3,4},{3,5},{4,5}}" + }, + { + "i": 127, + "section": "4. Generating Graphs", + "in": "HoldComplete[Length[ne]]", + "mode": "check", + "secs": 0.071, + "expected": "10" + }, + { + "i": 128, + "section": "4. Generating Graphs", + "in": "HoldComplete[ne = Edges[CirculantGraph[4, {1, 2}]]]", + "mode": "check", + "secs": 0.058, + "expected": "{{1,2},{1,3},{1,4},{2,3},{2,4},{3,4}}" + }, + { + "i": 129, + "section": "4. Generating Graphs", + "in": "HoldComplete[Length[ne]]", + "mode": "check", + "secs": 0.058, + "expected": "6" + }, + { + "i": 130, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`CirculantGraph[2000, {1, 2, 3, 4, 5}]; ], Timing[CirculantGraph[2000, {1, 2, 3, 4, 5}]; ]}]", + "mode": "skip", + "secs": 34.72, + "reason": "Mathics3 takes 35 s" + }, + { + "i": 131, + "section": "4. Generating Graphs", + "in": "HoldComplete[p = Table[RandomKSubset[Range[200*i], 5], {i, 20}]; ]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 132, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[CirculantGraph[200*i, p[[i]]]; ], {i, 20}]]", + "mode": "skip", + "secs": 0.099, + "reason": "uses p, which skipped cell 131 assigns" + }, + { + "i": 133, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.07, + "reason": "uses rt, which skipped cell 132 assigns" + }, + { + "i": 134, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"CompleteGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.03, + "reason": "usage text" + }, + { + "i": 135, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[CompleteGraph[10]]]", + "mode": "check", + "secs": 2.696, + "expected": "" + }, + { + "i": 136, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[CompleteGraph[100 + 10*i]; ], {i, 30}]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 137, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[Table[{(50 + 5*i)*(99 + 10*i), rt[[i,1,1]]}, {i, 30}], PlotJoined -> True]]", + "mode": "skip", + "secs": 1.088, + "reason": "uses rt, which skipped cell 136 assigns" + }, + { + "i": 138, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`CompleteGraph[250]; ], Timing[CompleteGraph[250]; ]}]", + "mode": "skip", + "secs": 22.032, + "reason": "Mathics3 takes 22 s" + }, + { + "i": 139, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`CompleteGraph[500]; ], Timing[CompleteGraph[500]; ]}]", + "mode": "skip", + "secs": 53.938, + "reason": "Mathics3 takes 54 s" + }, + { + "i": 140, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[CompleteGraph[10, Type -> Directed]]]", + "mode": "skip", + "secs": 14.536, + "reason": "Mathics3 takes 15 s" + }, + { + "i": 141, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[CompleteGraph[3, 4, 3]]]", + "mode": "check", + "secs": 2.312, + "expected": "" + }, + { + "i": 142, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"ShakeGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.035, + "reason": "usage text" + }, + { + "i": 143, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[ShakeGraph[CompleteGraph[3, 3, 3, 3], 0.3], VertexStyle -> Disc[Small], VertexNumber -> On]]", + "mode": "check", + "secs": 3.571, + "expected": "" + }, + { + "i": 144, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[CompleteGraph[100, 100, 100, 100]; ]]", + "mode": "skip", + "secs": 129.578, + "reason": "Mathics3: timeout" + }, + { + "i": 145, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`CompleteGraph[100, 100, 100, 100]; ]]", + "mode": "run", + "secs": 0.007, + "reason": "timing" + }, + { + "i": 146, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"EmptyGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.032, + "reason": "usage text" + }, + { + "i": 147, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[EmptyGraph[10]]]", + "mode": "check", + "secs": 0.555, + "expected": "" + }, + { + "i": 148, + "section": "4. Generating Graphs", + "in": "HoldComplete[DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`EmptyGraph[10]]]", + "mode": "check", + "secs": 0.008, + "expected": "DiscreteMath`OldCombinatorica`ShowGraph[DiscreteMath`OldCombinatorica`EmptyGraph[10]]" + }, + { + "i": 149, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"Turan\", LongForm -> False]]", + "mode": "skip", + "secs": 0.035, + "reason": "usage text" + }, + { + "i": 150, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Turan[10, 4]]]", + "mode": "check", + "secs": 2.437, + "expected": "" + }, + { + "i": 151, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Turan[10, 2]]]", + "mode": "check", + "secs": 1.041, + "expected": "" + }, + { + "i": 152, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[gt[[i]] = Turan[i*100, 50]; ], {i, 5, 10}]]", + "mode": "skip", + "secs": 120.008, + "reason": "Mathics3: timeout" + }, + { + "i": 153, + "section": "4. Generating Graphs", + "in": "PARSEFAIL:BoxData[RowBox[{\"ListPlot\", \"[\", \" \", RowBox[{\"Table\", \"[\", RowBox[{RowBox[{\"{\", RowBox[{RowBox[{\"M\", \"[\", \" \", RowBox[{\"gt\", \"[\", RowBox[{\"[\", \"i\", \"]\"}], \"]\"}], \" \", \"]\"}], \",\", \" \", RowBox[{\"rt\", \"[\", RowBox[{\"[\", \" \", \"i\", \"-\", \"4\", \",\", \" \", \"1\", \",\", \" \", \"1\", \" \", \"]\"}], \"]\"}], \" \"}], \"}\"}], \",\", \" \", RowBox[{\"{\", RowBox[{\"i\", \",\", \" \", \"5\", \",\", \" \", \"10\"}], \"}\"}]}], \"]\"}], \",\", \" \", RowBox[{\"PlotJoined\", \"->\", \"True\"}], \",\", \" \", RowBox[{\"ImageSize\", \"->\", \"400\"}], \"]\"}]]", + "mode": "skip", + "secs": 0.012, + "reason": "the notebook cell could not be parsed" + }, + { + "i": 154, + "section": "4. Generating Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Turan[i*100, 50]; ], {i, 5, 10}]]", + "mode": "run", + "secs": 0.02, + "reason": "random" + }, + { + "i": 155, + "section": "4. Generating Graphs", + "in": "HoldComplete[Clear[gt]]", + "mode": "skip", + "secs": 0.007, + "reason": "uses gt, which skipped cell 120 assigns" + }, + { + "i": 156, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"Cycle\", LongForm -> False]]", + "mode": "skip", + "secs": 0.032, + "reason": "usage text" + }, + { + "i": 157, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Cycle[20]]]", + "mode": "check", + "secs": 1.912, + "expected": "" + }, + { + "i": 158, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Cycle[2000]; ], Timing[Cycle[2000]; ]}]", + "mode": "skip", + "secs": 5.907, + "reason": "Mathics3 takes 6 s" + }, + { + "i": 159, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[Cycle[50000]; ]]", + "mode": "skip", + "secs": 145.635, + "reason": "Mathics3: timeout" + }, + { + "i": 160, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[Cycle[500*i]; ], {i, 20}]]", + "mode": "skip", + "secs": 120.006, + "reason": "Mathics3: timeout" + }, + { + "i": 161, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.068, + "reason": "uses rt, which skipped cell 160 assigns" + }, + { + "i": 162, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"Star\", LongForm -> False]]", + "mode": "skip", + "secs": 0.033, + "reason": "usage text" + }, + { + "i": 163, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Star[20]]]", + "mode": "check", + "secs": 1.802, + "expected": "" + }, + { + "i": 164, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Star[1000]; ], Timing[Star[1000]; ]}]", + "mode": "run", + "secs": 1.909, + "reason": "random" + }, + { + "i": 165, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Star[2000]; ], Timing[Star[2000]; ]}]", + "mode": "run", + "secs": 3.868, + "reason": "random" + }, + { + "i": 166, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[Star[100*i]; ], {i, 100}]; ]", + "mode": "skip", + "secs": 120.006, + "reason": "Mathics3: timeout" + }, + { + "i": 167, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.071, + "reason": "uses rt, which skipped cell 166 assigns" + }, + { + "i": 168, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"Wheel\", LongForm -> False]]", + "mode": "skip", + "secs": 0.035, + "reason": "usage text" + }, + { + "i": 169, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Wheel[20]]]", + "mode": "check", + "secs": 2.806, + "expected": "" + }, + { + "i": 170, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Wheel[1000]; ], Timing[Wheel[1000]; ]}]", + "mode": "run", + "secs": 3.109, + "reason": "random" + }, + { + "i": 171, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Wheel[2000]; ], Timing[Wheel[2000]; ]}]", + "mode": "skip", + "secs": 5.767, + "reason": "Mathics3 takes 6 s" + }, + { + "i": 172, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[Wheel[100*i]; ], {i, 200}]; ]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 173, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.066, + "reason": "uses rt, which skipped cell 172 assigns" + }, + { + "i": 174, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"Path\", LongForm -> False]]", + "mode": "skip", + "secs": 0.031, + "reason": "usage text" + }, + { + "i": 175, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Path[20]]]", + "mode": "check", + "secs": 2.02, + "expected": "" + }, + { + "i": 176, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`Path[2000]; ]]", + "mode": "run", + "secs": 0.008, + "reason": "timing" + }, + { + "i": 177, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[Path[100*i]; ], {i, 500}]; ]", + "mode": "skip", + "secs": 129.183, + "reason": "Mathics3: timeout" + }, + { + "i": 178, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.061, + "reason": "uses rt, which skipped cell 177 assigns" + }, + { + "i": 179, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"GridGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.032, + "reason": "usage text" + }, + { + "i": 180, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GridGraph[3, 4]]]", + "mode": "check", + "secs": 1.537, + "expected": "" + }, + { + "i": 181, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[GridGraph[25, 25], VertexStyle -> Disc[Small]]]", + "mode": "skip", + "secs": 129.79, + "reason": "Mathics3: timeout" + }, + { + "i": 182, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`GridGraph[40, 40]; ]]", + "mode": "run", + "secs": 0.007, + "reason": "random" + }, + { + "i": 183, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ]]", + "mode": "run", + "secs": 0.007, + "reason": "timing" + }, + { + "i": 184, + "section": "4. Generating Graphs", + "in": "HoldComplete[p = Table[Timing[GridGraph[20, 10*i]; ], {i, 15}]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 185, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ p, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.007, + "reason": "uses p, which skipped cell 184 assigns" + }, + { + "i": 186, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"Hypercube\", LongForm -> False]]", + "mode": "skip", + "secs": 0.035, + "reason": "usage text" + }, + { + "i": 187, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Hypercube[6]]]", + "mode": "skip", + "secs": 16.598, + "reason": "Mathics3 takes 17 s" + }, + { + "i": 188, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Hypercube[6], PlotRange -> Zoom[{1, 2, 3, 4, 5, 6, 7, 8}], VertexNumber -> On, ImageSize -> 400]]", + "mode": "skip", + "secs": 15.376, + "reason": "Mathics3 takes 15 s" + }, + { + "i": 189, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`Hypercube[10]; ]]", + "mode": "run", + "secs": 0.008, + "reason": "timing" + }, + { + "i": 190, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[Hypercube[10]; ]]", + "mode": "skip", + "secs": 10.123, + "reason": "Mathics3 takes 10 s" + }, + { + "i": 191, + "section": "4. Generating Graphs", + "in": "HoldComplete[Table[Timing[Hypercube[n]; ], {n, 15}]]", + "mode": "skip", + "secs": 120.009, + "reason": "Mathics3: timeout" + }, + { + "i": 192, + "section": "4. Generating Graphs", + "in": "HoldComplete[Hypercube[15]]", + "mode": "skip", + "secs": 120.071, + "reason": "Mathics3: timeout" + }, + { + "i": 193, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"LabeledTreeToCode\", LongForm -> False]]", + "mode": "skip", + "secs": 0.036, + "reason": "usage text" + }, + { + "i": 194, + "section": "4. Generating Graphs", + "in": "HoldComplete[LabeledTreeToCode[RandomTree[20]]]", + "mode": "run", + "secs": 0.881, + "reason": "random" + }, + { + "i": 195, + "section": "4. Generating Graphs", + "in": "HoldComplete[LabeledTreeToCode[CodeToLabeledTree[Table[10, {20}]]]]", + "mode": "check", + "secs": 0.317, + "expected": "{10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10}" + }, + { + "i": 196, + "section": "4. Generating Graphs", + "in": "HoldComplete[LabeledTreeToCode[Path[100]]]", + "mode": "check", + "secs": 2.073, + "expected": "{2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99}" + }, + { + "i": 197, + "section": "4. Generating Graphs", + "in": "HoldComplete[g = Table[RandomTree[i], {i, 500, 1000, 100}]; ]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 198, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[LabeledTreeToCode[g[[i]]]; ], {i, 6}]]", + "mode": "skip", + "secs": 0.032, + "reason": "uses g, which skipped cell 197 assigns" + }, + { + "i": 199, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.027, + "reason": "uses rt, which skipped cell 198 assigns" + }, + { + "i": 200, + "section": "4. Generating Graphs", + "in": "HoldComplete[gg = Table[DiscreteMath`OldCombinatorica`RandomTree[i], {i, 500, 1000, 500}]; ]", + "mode": "check", + "secs": 0.008, + "expected": "Null" + }, + { + "i": 201, + "section": "4. Generating Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`LabeledTreeToCode[gg[[i]]]; ], {i, 2}]]", + "mode": "run", + "secs": 0.013, + "reason": "random" + }, + { + "i": 202, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"CodeToLabeledTree\", LongForm -> False]]", + "mode": "skip", + "secs": 0.037, + "reason": "usage text" + }, + { + "i": 203, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[CodeToLabeledTree[Table[10, {20}]]]]", + "mode": "check", + "secs": 2.039, + "expected": "" + }, + { + "i": 204, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[RadialEmbedding[CodeToLabeledTree[Table[10, {20}]], 1]]]", + "mode": "check", + "secs": 2.883, + "expected": "" + }, + { + "i": 205, + "section": "4. Generating Graphs", + "in": "HoldComplete[s = Table[Table[Random[Integer, {1, i*100}], {i*100 - 2}], {i, 10}]; ]", + "mode": "skip", + "secs": 5.833, + "reason": "Mathics3 takes 6 s" + }, + { + "i": 206, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[CodeToLabeledTree[s[[i]]]; ], {i, 10}]]", + "mode": "skip", + "secs": 54.562, + "reason": "Mathics3 takes 55 s" + }, + { + "i": 207, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.044, + "reason": "uses rt, which skipped cell 206 assigns" + }, + { + "i": 208, + "section": "4. Generating Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`CodeToLabeledTree[s[[i]]]; ], {i, 3}]]", + "mode": "skip", + "secs": 0.015, + "reason": "uses s, which skipped cell 205 assigns" + }, + { + "i": 209, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"RandomTree\", LongForm -> False]]", + "mode": "skip", + "secs": 0.037, + "reason": "usage text" + }, + { + "i": 210, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[RadialEmbedding[RandomTree[20], 1], VertexNumber -> On]]", + "mode": "run", + "secs": 2.883, + "reason": "random" + }, + { + "i": 211, + "section": "4. Generating Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`RandomTree[i]; ], {i, 100, 800, 100}]]", + "mode": "run", + "secs": 0.025, + "reason": "timing" + }, + { + "i": 212, + "section": "4. Generating Graphs", + "in": "HoldComplete[p = Table[Timing[RandomTree[i]; ], {i, 100, 800, 100}]]", + "mode": "skip", + "secs": 120.009, + "reason": "Mathics3: timeout" + }, + { + "i": 213, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ p, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.008, + "reason": "uses p, which skipped cell 212 assigns" + }, + { + "i": 214, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"RandomGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.041, + "reason": "usage text" + }, + { + "i": 215, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[s = RandomGraph[50, 0.3], VertexStyle -> Disc[0.01]]]", + "mode": "skip", + "secs": 42.08, + "reason": "Mathics3 takes 42 s" + }, + { + "i": 216, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ DepthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 68.796, + "reason": "Mathics3 takes 69 s" + }, + { + "i": 217, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ BreadthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 93.316, + "reason": "Mathics3 takes 93 s" + }, + { + "i": 218, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[RandomGraph[100, p]; ], {p, 0.1, 0.9, 0.1}]]", + "mode": "skip", + "secs": 120.011, + "reason": "Mathics3: timeout" + }, + { + "i": 219, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.047, + "reason": "uses rt, which skipped cell 218 assigns" + }, + { + "i": 220, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[RandomGraph[20*i, N[1/(20*i)]]; ], {i, 20}]]", + "mode": "skip", + "secs": 120.01, + "reason": "Mathics3: timeout" + }, + { + "i": 221, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.046, + "reason": "uses rt, which skipped cell 220 assigns" + }, + { + "i": 222, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomGraph[100, 0.5]; ], Timing[RandomGraph[100, 0.5]; ]}]", + "mode": "skip", + "secs": 109.631, + "reason": "Mathics3 takes 110 s" + }, + { + "i": 223, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomGraph[300, 0.5]; ], Timing[RandomGraph[300, 0.5]; ]}]", + "mode": "skip", + "secs": 120.039, + "reason": "Mathics3: timeout" + }, + { + "i": 224, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomGraph[300, 0.8]; ], Timing[RandomGraph[300, 0.8]; ]}]", + "mode": "skip", + "secs": 120.05, + "reason": "Mathics3: timeout" + }, + { + "i": 225, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"ExactRandomGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.06, + "reason": "usage text" + }, + { + "i": 226, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[ExactRandomGraph[10, 5], Background -> LightBlue]]", + "mode": "check", + "secs": 0.92, + "expected": "" + }, + { + "i": 227, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[ExactRandomGraph[20, 30], Background -> Pink]]", + "mode": "check", + "secs": 3.097, + "expected": "" + }, + { + "i": 228, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[s = ExactRandomGraph[100, 100], VertexStyle -> Disc[0.02]]]", + "mode": "skip", + "secs": 97.033, + "reason": "Mathics3 takes 97 s" + }, + { + "i": 229, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[Highlight[s, {Sort /@ DepthFirstTraversal[s, 1, Edge]}, HighlightedEdgeColors -> {Blue}], VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 18.175, + "reason": "Mathics3 takes 18 s" + }, + { + "i": 230, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[ExactRandomGraph[100, m]; ], {m, 100, 1000, 100}]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 231, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.051, + "reason": "uses rt, which skipped cell 230 assigns" + }, + { + "i": 232, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[ExactRandomGraph[n, 5*n]; ], {n, 50, 250, 50}]]", + "mode": "skip", + "secs": 120.012, + "reason": "Mathics3: timeout" + }, + { + "i": 233, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.048, + "reason": "uses rt, which skipped cell 232 assigns" + }, + { + "i": 234, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`ExactRandomGraph[100, 100]; ], Timing[ExactRandomGraph[100, 100]; ]}]", + "mode": "skip", + "secs": 90.505, + "reason": "Mathics3 takes 91 s" + }, + { + "i": 235, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`ExactRandomGraph[500, 500]; ], Timing[ExactRandomGraph[500, 500]; ]}]", + "mode": "skip", + "secs": 120.017, + "reason": "Mathics3: timeout" + }, + { + "i": 236, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[({NthPair[#1]} & ) /@ Take[RandomPermutation[500*((500 - 1)/2)], 500]; ]]", + "mode": "skip", + "secs": 120.058, + "reason": "Mathics3: timeout" + }, + { + "i": 237, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[CircularVertices[1000]; ]]", + "mode": "run", + "secs": 1.936, + "reason": "random" + }, + { + "i": 238, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"RandomVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.044, + "reason": "usage text" + }, + { + "i": 239, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[RandomVertices[Cycle[10]]]]", + "mode": "check", + "secs": 1.088, + "expected": "" + }, + { + "i": 240, + "section": "4. Generating Graphs", + "in": "HoldComplete[g = GridGraph[50, 50]; ]", + "mode": "skip", + "secs": 15.365, + "reason": "Mathics3 takes 15 s" + }, + { + "i": 241, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[RandomVertices[g]; ]]", + "mode": "skip", + "secs": 4.313, + "reason": "uses g, which skipped cell 240 assigns" + }, + { + "i": 242, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"DegreeSequence\", LongForm -> False]]", + "mode": "skip", + "secs": 0.043, + "reason": "usage text" + }, + { + "i": 243, + "section": "4. Generating Graphs", + "in": "HoldComplete[DegreeSequence[CompleteGraph[10]]]", + "mode": "check", + "secs": 0.245, + "expected": "{9,9,9,9,9,9,9,9,9,9}" + }, + { + "i": 244, + "section": "4. Generating Graphs", + "in": "HoldComplete[DegreeSequence[Path[100]]]", + "mode": "check", + "secs": 0.624, + "expected": "{2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1}" + }, + { + "i": 245, + "section": "4. Generating Graphs", + "in": "HoldComplete[g = GridGraph[40, 40]; h = DiscreteMath`OldCombinatorica`GridGraph[40, 40]; ]", + "mode": "skip", + "secs": 9.954, + "reason": "Mathics3 takes 10 s" + }, + { + "i": 246, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[DegreeSequence[g]; ]]", + "mode": "skip", + "secs": 8.495, + "reason": "Mathics3 takes 8 s" + }, + { + "i": 247, + "section": "4. Generating Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`DegreeSequence[h]; ]]", + "mode": "skip", + "secs": 0.007, + "reason": "uses h, which skipped cell 245 assigns" + }, + { + "i": 248, + "section": "4. Generating Graphs", + "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 20}]; ]", + "mode": "skip", + "secs": 120.008, + "reason": "Mathics3: timeout" + }, + { + "i": 249, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[DegreeSequence[gt[[i]]]; ], {i, 20}]; ]", + "mode": "skip", + "secs": 0.041, + "reason": "uses gt, which skipped cell 248 assigns" + }, + { + "i": 250, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.074, + "reason": "uses rt, which skipped cell 249 assigns" + }, + { + "i": 251, + "section": "4. Generating Graphs", + "in": "HoldComplete[gt = Table[DiscreteMath`OldCombinatorica`GridGraph[20, 10*i], {i, 5}]; ]", + "mode": "check", + "secs": 0.01, + "expected": "Null" + }, + { + "i": 252, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`DegreeSequence[gt[[i]]]; ], {i, 5}]; ]", + "mode": "run", + "secs": 0.015, + "reason": "timing" + }, + { + "i": 253, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "run", + "secs": 0.028, + "reason": "random" + }, + { + "i": 254, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"GraphicQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.043, + "reason": "usage text" + }, + { + "i": 255, + "section": "4. Generating Graphs", + "in": "HoldComplete[GraphicQ[DegreeSequence[RandomGraph[100, 0.2]]]]", + "mode": "skip", + "secs": 99.713, + "reason": "Mathics3: aborted" + }, + { + "i": 256, + "section": "4. Generating Graphs", + "in": "HoldComplete[GraphicQ[Range[100]]]", + "mode": "check", + "secs": 0.009, + "expected": "False" + }, + { + "i": 257, + "section": "4. Generating Graphs", + "in": "HoldComplete[a = DiscreteMath`OldCombinatorica`RandomTree[400]; aa = RandomTree[400]; ]", + "mode": "skip", + "secs": 27.853, + "reason": "Mathics3 takes 28 s" + }, + { + "i": 258, + "section": "4. Generating Graphs", + "in": "HoldComplete[$RecursionLimit = 10000; ]", + "mode": "run", + "secs": 0.005, + "reason": "messages WMA does not give: $RecursionLimit::limset" + }, + { + "i": 259, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[GraphicQ[DegreeSequence[aa]]; ], Timing[DiscreteMath`OldCombinatorica`GraphicQ[DiscreteMath`OldCombinatorica`DegreeSequence[a]]; ]}]", + "mode": "skip", + "secs": 2.553, + "reason": "Mathics3: aborted" + }, + { + "i": 260, + "section": "4. Generating Graphs", + "in": "HoldComplete[gt = Table[DegreeSequence[RandomTree[20*i]], {i, 20}]; ]", + "mode": "skip", + "secs": 50.215, + "reason": "Mathics3: crash" + }, + { + "i": 261, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[GraphicQ[gt[[i]]]; ], {i, 20}]]", + "mode": "skip", + "secs": 0.248, + "reason": "uses gt, which skipped cell 260 assigns" + }, + { + "i": 262, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 87.0, + "reason": "Mathics3: crash" + }, + { + "i": 263, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"RealizeDegreeSequence\", LongForm -> False]]", + "mode": "skip", + "secs": 0.031, + "reason": "usage text" + }, + { + "i": 264, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[s = RandomTree[15], VertexNumber -> On]]", + "mode": "run", + "secs": 1.881, + "reason": "random" + }, + { + "i": 265, + "section": "4. Generating Graphs", + "in": "HoldComplete[seq = DegreeSequence[s]]", + "mode": "run", + "secs": 1.881, + "reason": "random" + }, + { + "i": 266, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[g = RealizeDegreeSequence[seq], VertexNumber -> On]]", + "mode": "run", + "secs": 3.864, + "reason": "random" + }, + { + "i": 267, + "section": "4. Generating Graphs", + "in": "HoldComplete[DegreeSequence[g]]", + "mode": "run", + "secs": 3.864, + "reason": "random" + }, + { + "i": 268, + "section": "4. Generating Graphs", + "in": "HoldComplete[IsomorphicQ[s, g]]", + "mode": "run", + "secs": 4.728, + "reason": "random" + }, + { + "i": 269, + "section": "4. Generating Graphs", + "in": "HoldComplete[st = Table[DegreeSequence[GridGraph[10, 5*i]], {i, 5}]; ]", + "mode": "skip", + "secs": 14.64, + "reason": "Mathics3 takes 15 s" + }, + { + "i": 270, + "section": "4. Generating Graphs", + "in": "HoldComplete[rt = Table[Timing[RealizeDegreeSequence[st[[i]]]; ], {i, 5}]]", + "mode": "skip", + "secs": 16.246, + "reason": "Mathics3: aborted" + }, + { + "i": 271, + "section": "4. Generating Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.071, + "reason": "uses rt, which skipped cell 270 assigns" + }, + { + "i": 272, + "section": "4. Generating Graphs", + "in": "HoldComplete[st = Table[DiscreteMath`OldCombinatorica`DegreeSequence[DiscreteMath`OldCombinatorica`GridGraph[10, 5*i]], {i, 5}]; rt = Table[Timing[DiscreteMath`OldCombinatorica`RealizeDegreeSequence[st[[i]]]; ], {i, 5}]]", + "mode": "skip", + "secs": 0.024, + "reason": "uses st, which skipped cell 269 assigns" + }, + { + "i": 273, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"RegularQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.035, + "reason": "usage text" + }, + { + "i": 274, + "section": "4. Generating Graphs", + "in": "HoldComplete[RegularQ[CompleteGraph[10]]]", + "mode": "check", + "secs": 0.24, + "expected": "True" + }, + { + "i": 275, + "section": "4. Generating Graphs", + "in": "HoldComplete[RegularQ[CompleteGraph[10, 10]]]", + "mode": "check", + "secs": 0.696, + "expected": "True" + }, + { + "i": 276, + "section": "4. Generating Graphs", + "in": "HoldComplete[RegularQ[RandomTree[10]]]", + "mode": "run", + "secs": 0.397, + "reason": "random" + }, + { + "i": 277, + "section": "4. Generating Graphs", + "in": "HoldComplete[RegularQ[Cycle[10]]]", + "mode": "check", + "secs": 0.105, + "expected": "True" + }, + { + "i": 278, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"RegularGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.035, + "reason": "usage text" + }, + { + "i": 279, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[RegularGraph[1, 30], VertexStyle -> Disc[Small]]]", + "mode": "skip", + "secs": 10.308, + "reason": "Mathics3 takes 10 s" + }, + { + "i": 280, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[RealizeDegreeSequence[{1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}], VertexStyle -> Disc[Small]]]", + "mode": "skip", + "secs": 7.644, + "reason": "Mathics3 takes 8 s" + }, + { + "i": 281, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[RegularGraph[2, 30], VertexStyle -> Disc[Small]]]", + "mode": "skip", + "secs": 11.802, + "reason": "Mathics3 takes 12 s" + }, + { + "i": 282, + "section": "4. Generating Graphs", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RegularGraph[10, 100]; ], Timing[RegularGraph[10, 100]; ]}]", + "mode": "skip", + "secs": 0.558, + "reason": "Mathics3: aborted" + }, + { + "i": 283, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"MakeGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.037, + "reason": "usage text" + }, + { + "i": 284, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[g = MakeGraph[Permutations[{1, 2, 3, 4}], Count[#1 - #2, 0] == 2 && Inversions[#1] > Inversions[#2] & ]]; ]", + "mode": "skip", + "secs": 12.522, + "reason": "Mathics3 takes 13 s" + }, + { + "i": 285, + "section": "4. Generating Graphs", + "in": "HoldComplete[p = Permutations[{1, 2, 3, 4}]; ]", + "mode": "check", + "secs": 0.007, + "expected": "Null" + }, + { + "i": 286, + "section": "4. Generating Graphs", + "in": "HoldComplete[p1 = (Text[#1, {0.05, 0.02}] & ) /@ Cases[p, {1, ___}]; p2 = (Text[#1, {-0.05, 0.02}] & ) /@ Cases[p, {2, ___}]; , Null, p3 = (Text[#1, {-0.05, -0.02}] & ) /@ Cases[p, {3, ___}]; , Null, p4 = (Text[#1, {0.05, -0.02}] & ) /@ Cases[p, {4, ___}]; ]", + "mode": "check", + "secs": 0.017, + "expected": "Null" + }, + { + "i": 287, + "section": "4. Generating Graphs", + "in": "HoldComplete[g = SetVertexLabels[g, Join[p1, p2, p3, p4]]; ]", + "mode": "skip", + "secs": 0.601, + "reason": "uses g, which skipped cell 284 assigns" + }, + { + "i": 288, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[g, ImageSize -> 600, VertexLabelColor -> Red, PlotRange -> Large[0.2]]]", + "mode": "skip", + "secs": 5.276, + "reason": "Mathics3 takes 5 s" + }, + { + "i": 289, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"IntervalGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.037, + "reason": "usage text" + }, + { + "i": 290, + "section": "4. Generating Graphs", + "in": "HoldComplete[l = {{1, 10}, {2, 3}, {4, 5}, {6, 7}, {8, 9}}; ]", + "mode": "check", + "secs": 0.006, + "expected": "Null" + }, + { + "i": 291, + "section": "4. Generating Graphs", + "in": "HoldComplete[s = IntervalGraph[l]; ]", + "mode": "check", + "secs": 0.284, + "expected": "Null" + }, + { + "i": 292, + "section": "4. Generating Graphs", + "in": "HoldComplete[s = SetVertexLabels[s, (Text[#1, {-0.09, 0.02}] & ) /@ l]; ]", + "mode": "check", + "secs": 0.284, + "expected": "Null" + }, + { + "i": 293, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[s, PlotRange -> Large[0.4], ImageSize -> 400]]", + "mode": "check", + "secs": 0.621, + "expected": "" + }, + { + "i": 294, + "section": "4. Generating Graphs", + "in": "HoldComplete[Information[\"FunctionalGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.039, + "reason": "usage text" + }, + { + "i": 295, + "section": "4. Generating Graphs", + "in": "HoldComplete[ShowGraph[FunctionalGraph[Mod[#1^2 + 2*#1, 20] & , Table[i, {i, 0, 19}]]]]", + "mode": "skip", + "secs": 5.239, + "reason": "Mathics3 takes 5 s" + } +] diff --git a/test/data/book/Chapter5.json b/test/data/book/Chapter5.json new file mode 100644 index 0000000..031180c --- /dev/null +++ b/test/data/book/Chapter5.json @@ -0,0 +1,4163 @@ +[ + { + "i": 1, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"ConnectedComponents\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 2, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedComponents[s = RegularGraph[1, 10]]]", + "mode": "run", + "secs": 0.535, + "reason": "random" + }, + { + "i": 3, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[s, VertexNumber -> On]]", + "mode": "check", + "secs": 0.689, + "expected": "" + }, + { + "i": 4, + "section": "5. Properties of Graphs", + "in": "HoldComplete[c = ConnectedComponents[s = RegularGraph[2, 20]]]", + "mode": "run", + "secs": 2.176, + "reason": "differs from WMA" + }, + { + "i": 5, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[s, VertexNumber -> On, VertexNumberColor -> Purple, Background -> Yellow]]", + "mode": "check", + "secs": 2.176, + "expected": "" + }, + { + "i": 6, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[InduceSubgraph[s, c[[1]]]]]", + "mode": "check", + "secs": 2.176, + "expected": "" + }, + { + "i": 7, + "section": "5. Properties of Graphs", + "in": "HoldComplete[a = GraphUnion[Wheel[5], Star[10]]; ]", + "mode": "check", + "secs": 0.221, + "expected": "Null" + }, + { + "i": 8, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedComponents[a]]", + "mode": "check", + "secs": 0.221, + "expected": "{{1,2,3,4,5},{6,7,8,9,10,11,12,13,14,15}}" + }, + { + "i": 9, + "section": "5. Properties of Graphs", + "in": "HoldComplete[a = GraphUnion[10, Star[10]]; ConnectedComponents[a]]", + "mode": "check", + "secs": 3.602, + "expected": "{{1,2,3,4,5,6,7,8,9,10},{11,12,13,14,15,16,17,18,19,20},{21,22,23,24,25,26,27,28,29,30},{31,32,33,34,35,36,37,38,39,40},{41,42,43,44,45,46,47,48,49,50},{51,52,53,54,55,56,57,58,59,60},{61,62,63,64,65,66,67,68,69,70},{71,72,73,74,75,76,77,78,79,80},{81,82,83,84,85,86,87,88,89,90},{91,92,93,94,95,96,97,98,99,100}}" + }, + { + "i": 10, + "section": "5. Properties of Graphs", + "in": "HoldComplete[$RecursionLimit = 100000; ]", + "mode": "run", + "secs": 0.004, + "reason": "messages WMA does not give: $RecursionLimit::limset" + }, + { + "i": 11, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*100, 0.01], {i, 5}]; ]", + "mode": "check", + "secs": 0.008, + "expected": "Null" + }, + { + "i": 12, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = Table[RandomGraph[i*100, 0.01], {i, 10}]]", + "mode": "skip", + "secs": 120.008, + "reason": "Mathics3: timeout" + }, + { + "i": 13, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[{Length[DiscreteMath`OldCombinatorica`ConnectedComponents[g[[i]]]], Length[ConnectedComponents[h[[i]]]]}, {i, 5}]]", + "mode": "skip", + "secs": 0.014, + "reason": "uses h, which skipped cell 12 assigns" + }, + { + "i": 14, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ort = Table[Timing[DiscreteMath`OldCombinatorica`ConnectedComponents[g[[i]]]; ], {i, 5}]]", + "mode": "run", + "secs": 0.016, + "reason": "timing" + }, + { + "i": 15, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[ConnectedComponents[h[[i]]]; ], {i, 10}]]", + "mode": "skip", + "secs": 0.03, + "reason": "uses h, which skipped cell 12 assigns" + }, + { + "i": 16, + "section": "5. Properties of Graphs", + "in": "HoldComplete[p1 = ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.042, + "reason": "uses rt, which skipped cell 15 assigns" + }, + { + "i": 17, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gt = Table[InduceSubgraph[GridGraph[20, 10*i], RandomKSubset[Range[200*i], 100*i]], {i, 10}]; ]", + "mode": "skip", + "secs": 120.002, + "reason": "Mathics3: timeout" + }, + { + "i": 18, + "section": "5. Properties of Graphs", + "in": "HoldComplete[V /@ gt]", + "mode": "skip", + "secs": 0.004, + "reason": "uses gt, which skipped cell 17 assigns" + }, + { + "i": 19, + "section": "5. Properties of Graphs", + "in": "HoldComplete[M /@ gt]", + "mode": "skip", + "secs": 0.004, + "reason": "uses gt, which skipped cell 17 assigns" + }, + { + "i": 20, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[ConnectedComponents[gt[[i]]]; ], {i, 10}]]", + "mode": "skip", + "secs": 0.028, + "reason": "uses gt, which skipped cell 17 assigns" + }, + { + "i": 21, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Clear[gt]]", + "mode": "skip", + "secs": 0.004, + "reason": "uses gt, which skipped cell 17 assigns" + }, + { + "i": 22, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.036, + "reason": "uses rt, which skipped cell 20 assigns" + }, + { + "i": 23, + "section": "5. Properties of Graphs", + "in": "HoldComplete[s = GridGraph[50, 50]; {Timing[DepthFirstTraversal[s, 1]; ], Timing[BreadthFirstTraversal[s, 1]; ]}]", + "mode": "skip", + "secs": 37.258, + "reason": "Mathics3: aborted" + }, + { + "i": 24, + "section": "5. Properties of Graphs", + "in": "HoldComplete[s = InduceSubgraph[GridGraph[70, 70], RandomSubset[Range[4900]]]]", + "mode": "skip", + "secs": 120.002, + "reason": "Mathics3: timeout" + }, + { + "i": 25, + "section": "5. Properties of Graphs", + "in": "HoldComplete[V[s]]", + "mode": "skip", + "secs": 0.004, + "reason": "uses s, which skipped cell 24 assigns" + }, + { + "i": 26, + "section": "5. Properties of Graphs", + "in": "HoldComplete[M[s]]", + "mode": "skip", + "secs": 0.004, + "reason": "uses s, which skipped cell 24 assigns" + }, + { + "i": 27, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[s, VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 120.008, + "reason": "Mathics3: timeout" + }, + { + "i": 28, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[c = ConnectedComponents[s]; ]]", + "mode": "skip", + "secs": 21.41, + "reason": "Mathics3: aborted" + }, + { + "i": 29, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Length[c]]", + "mode": "skip", + "secs": 0.004, + "reason": "uses c, which skipped cell 28 assigns" + }, + { + "i": 30, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Max[Length /@ c]]", + "mode": "skip", + "secs": 0.004, + "reason": "uses c, which skipped cell 28 assigns" + }, + { + "i": 31, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[100, 100]]", + "mode": "skip", + "secs": 85.422, + "reason": "Mathics3 takes 85 s" + }, + { + "i": 32, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = InduceSubgraph[g, RandomSubset[Range[10000]]]; ]", + "mode": "skip", + "secs": 120.002, + "reason": "Mathics3: timeout" + }, + { + "i": 33, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[h, VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 0.005, + "reason": "uses h, which skipped cell 32 assigns" + }, + { + "i": 34, + "section": "5. Properties of Graphs", + "in": "HoldComplete[V[h]]", + "mode": "skip", + "secs": 0.003, + "reason": "uses h, which skipped cell 32 assigns" + }, + { + "i": 35, + "section": "5. Properties of Graphs", + "in": "HoldComplete[M[h]]", + "mode": "skip", + "secs": 0.003, + "reason": "uses h, which skipped cell 32 assigns" + }, + { + "i": 36, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[c = ConnectedComponents[h]; ]]", + "mode": "skip", + "secs": 0.005, + "reason": "uses h, which skipped cell 32 assigns" + }, + { + "i": 37, + "section": "5. Properties of Graphs", + "in": "HoldComplete[{Length[c], Max[Length /@ c]}]", + "mode": "skip", + "secs": 0.004, + "reason": "uses c, which skipped cell 36 assigns" + }, + { + "i": 38, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"ConnectedQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.007, + "reason": "usage text" + }, + { + "i": 39, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[Wheel[10]]]", + "mode": "check", + "secs": 0.17, + "expected": "True" + }, + { + "i": 40, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[DeleteVertices[Star[10], {10}]]]", + "mode": "check", + "secs": 0.123, + "expected": "False" + }, + { + "i": 41, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[Wheel[10], Weak]]", + "mode": "check", + "secs": 0.06, + "expected": "ConnectedQ[Graph[{{{1,10}},{{2,10}},{{3,10}},{{4,10}},{{5,10}},{{6,10}},{{7,10}},{{8,10}},{{9,10}},{{1,2}},{{2,3}},{{3,4}},{{4,5}},{{5,6}},{{6,7}},{{7,8}},{{8,9}},{{1,9}}},{{{76604,64279}},{{17365,98481}},{{-50000,86603}},{{-93969,34202}},{{-93969,-34202}},{{-50000,-86603}},{{17365,-98481}},{{76604,-64279}},{{100000,0}},{{0,0}}}],Weak]" + }, + { + "i": 42, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[OrientGraph[Wheel[10]], Strong]]", + "mode": "run", + "secs": 1.641, + "reason": "differs from WMA" + }, + { + "i": 43, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[SetGraphOptions[RandomTree[20], EdgeDirection -> On], Strong]]", + "mode": "run", + "secs": 0.979, + "reason": "random" + }, + { + "i": 44, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[SetGraphOptions[RandomTree[20], EdgeDirection -> On], Weak]]", + "mode": "run", + "secs": 2.926, + "reason": "random" + }, + { + "i": 45, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[Wheel[10], Weak]]", + "mode": "check", + "secs": 0.061, + "expected": "ConnectedQ[Graph[{{{1,10}},{{2,10}},{{3,10}},{{4,10}},{{5,10}},{{6,10}},{{7,10}},{{8,10}},{{9,10}},{{1,2}},{{2,3}},{{3,4}},{{4,5}},{{5,6}},{{6,7}},{{7,8}},{{8,9}},{{1,9}}},{{{76604,64279}},{{17365,98481}},{{-50000,86603}},{{-93969,34202}},{{-93969,-34202}},{{-50000,-86603}},{{17365,-98481}},{{76604,-64279}},{{100000,0}},{{0,0}}}],Weak]" + }, + { + "i": 46, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[Wheel[10], Strong]]", + "mode": "check", + "secs": 0.06, + "expected": "ConnectedQ[Graph[{{{1,10}},{{2,10}},{{3,10}},{{4,10}},{{5,10}},{{6,10}},{{7,10}},{{8,10}},{{9,10}},{{1,2}},{{2,3}},{{3,4}},{{4,5}},{{5,6}},{{6,7}},{{7,8}},{{8,9}},{{1,9}}},{{{76604,64279}},{{17365,98481}},{{-50000,86603}},{{-93969,34202}},{{-93969,-34202}},{{-50000,-86603}},{{17365,-98481}},{{76604,-64279}},{{100000,0}},{{0,0}}}],Strong]" + }, + { + "i": 47, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = SetGraphOptions[Wheel[10], EdgeDirection -> On]; ]", + "mode": "run", + "secs": 0.064, + "reason": "WMA has no result" + }, + { + "i": 48, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g, VertexNumber -> Text[{0.03, 0}, TextStyle -> {FontSize -> 14, FontColor -> Blue, FontWeight -> Bold}], PlotRange -> Large[0.05]]]", + "mode": "run", + "secs": 1.246, + "reason": "differs from WMA" + }, + { + "i": 49, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[g, Weak]]", + "mode": "run", + "secs": 0.274, + "reason": "differs from WMA" + }, + { + "i": 50, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[g, Strong]]", + "mode": "run", + "secs": 0.186, + "reason": "differs from WMA" + }, + { + "i": 51, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = AddEdges[g, {{{9, 1}}, {{10, 1}}}]; ]", + "mode": "check", + "secs": 0.064, + "expected": "Null" + }, + { + "i": 52, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[h, Strong]]", + "mode": "run", + "secs": 0.165, + "reason": "differs from WMA" + }, + { + "i": 53, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ConnectedQ[h, Weak]]", + "mode": "run", + "secs": 0.283, + "reason": "differs from WMA" + }, + { + "i": 54, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[h]]", + "mode": "run", + "secs": 1.336, + "reason": "differs from WMA" + }, + { + "i": 55, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"WeaklyConnectedComponents\", LongForm -> False]]", + "mode": "skip", + "secs": 0.006, + "reason": "usage text" + }, + { + "i": 56, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"StronglyConnectedComponents\", LongForm -> False]]", + "mode": "skip", + "secs": 0.005, + "reason": "usage text" + }, + { + "i": 57, + "section": "5. Properties of Graphs", + "in": "HoldComplete[s = SetGraphOptions[GridGraph[5, 6], EdgeDirection -> On]; ]", + "mode": "run", + "secs": 0.353, + "reason": "differs from WMA" + }, + { + "i": 58, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[s, VertexNumber -> Text[{-0.04, -0.04}], PlotRange -> Large[0.05]]]", + "mode": "run", + "secs": 3.728, + "reason": "differs from WMA" + }, + { + "i": 59, + "section": "5. Properties of Graphs", + "in": "HoldComplete[WeaklyConnectedComponents[s]]", + "mode": "run", + "secs": 0.645, + "reason": "differs from WMA" + }, + { + "i": 60, + "section": "5. Properties of Graphs", + "in": "HoldComplete[StronglyConnectedComponents[s]]", + "mode": "run", + "secs": 0.513, + "reason": "differs from WMA" + }, + { + "i": 61, + "section": "5. Properties of Graphs", + "in": "HoldComplete[s = AddEdges[s, {{{30, 1}}}]; ]", + "mode": "run", + "secs": 0.353, + "reason": "differs from WMA" + }, + { + "i": 62, + "section": "5. Properties of Graphs", + "in": "HoldComplete[StronglyConnectedComponents[s]]", + "mode": "run", + "secs": 0.513, + "reason": "differs from WMA" + }, + { + "i": 63, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gt = Table[RandomGraph[100*i, N[(1/100)*i], Directed], {i, 10}]; ]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 64, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[StronglyConnectedComponents[gt[[i]]]; ], {i, 10}]]", + "mode": "skip", + "secs": 0.031, + "reason": "uses gt, which skipped cell 63 assigns" + }, + { + "i": 65, + "section": "5. Properties of Graphs", + "in": "HoldComplete[V /@ gt]", + "mode": "skip", + "secs": 0.005, + "reason": "uses gt, which skipped cell 63 assigns" + }, + { + "i": 66, + "section": "5. Properties of Graphs", + "in": "HoldComplete[M /@ gt]", + "mode": "skip", + "secs": 0.003, + "reason": "uses gt, which skipped cell 63 assigns" + }, + { + "i": 67, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.035, + "reason": "uses rt, which skipped cell 64 assigns" + }, + { + "i": 68, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ogt = Table[DiscreteMath`OldCombinatorica`RandomGraph[100*i, N[(1/100)*i], {0, 1}], {i, 5}]; ]", + "mode": "check", + "secs": 0.011, + "expected": "Null" + }, + { + "i": 69, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ort = Table[Timing[DiscreteMath`OldCombinatorica`StronglyConnectedComponents[ogt[[i]]]; ], {i, 5}]]", + "mode": "run", + "secs": 0.015, + "reason": "random" + }, + { + "i": 70, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Clear[MultipleListPlot]; Remove[MultipleListPlot]; ]", + "mode": "check", + "secs": 0.004, + "expected": "Null" + }, + { + "i": 71, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Get[\"Graphics`MultipleListPlot`\"]]", + "mode": "check", + "secs": 0.004, + "expected": "$Failed" + }, + { + "i": 72, + "section": "5. Properties of Graphs", + "in": "HoldComplete[MultipleListPlot[(#1[[1,1]] & ) /@ rt, (#1[[1,1]] & ) /@ ort, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.041, + "reason": "uses rt, which skipped cell 64 assigns" + }, + { + "i": 73, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = SetGraphOptions[GridGraph[70, 70], EdgeDirection -> On]; ]", + "mode": "skip", + "secs": 43.667, + "reason": "Mathics3 takes 44 s" + }, + { + "i": 74, + "section": "5. Properties of Graphs", + "in": "HoldComplete[{Timing[cw = WeaklyConnectedComponents[g]; ], Timing[cs = StronglyConnectedComponents[g]; ], Length[cw], Length[cs]}]", + "mode": "skip", + "secs": 89.16, + "reason": "Mathics3: aborted" + }, + { + "i": 75, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"OrientGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.006, + "reason": "usage text" + }, + { + "i": 76, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[10, 10]; ]", + "mode": "check", + "secs": 0.704, + "expected": "Null" + }, + { + "i": 77, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[h = OrientGraph[GridGraph[10, 10]]]]", + "mode": "skip", + "secs": 4.528, + "reason": "Mathics3: aborted" + }, + { + "i": 78, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Length[StronglyConnectedComponents[h]]]", + "mode": "skip", + "secs": 0.163, + "reason": "uses h, which skipped cell 77 assigns" + }, + { + "i": 79, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = RandomGraph[20, 0.6]; ]", + "mode": "check", + "secs": 1.149, + "expected": "Null" + }, + { + "i": 80, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Bridges[g]]", + "mode": "check", + "secs": 4.872, + "expected": "{}" + }, + { + "i": 81, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Length[StronglyConnectedComponents[SetGraphOptions[g, EdgeDirection -> On]]]]", + "mode": "run", + "secs": 1.149, + "reason": "differs from WMA" + }, + { + "i": 82, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = OrientGraph[g]; ]", + "mode": "skip", + "secs": 12.772, + "reason": "Mathics3 takes 13 s" + }, + { + "i": 83, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Length[StronglyConnectedComponents[g]]]", + "mode": "check", + "secs": 1.149, + "expected": "1" + }, + { + "i": 84, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[20, 20]; ]", + "mode": "check", + "secs": 2.501, + "expected": "Null" + }, + { + "i": 85, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[OrientGraph[g]; ]]", + "mode": "skip", + "secs": 8.114, + "reason": "Mathics3: aborted" + }, + { + "i": 86, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[ExtractCycles[g]; ]]", + "mode": "run", + "secs": 2.874, + "reason": "random" + }, + { + "i": 87, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = DiscreteMath`OldCombinatorica`GridGraph[20, 20]; Timing[DiscreteMath`OldCombinatorica`OrientGraph[h]; ]]", + "mode": "skip", + "secs": 0.006, + "reason": "uses h, which skipped cell 82 assigns" + }, + { + "i": 88, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"BiconnectedComponents\", LongForm -> False]]", + "mode": "skip", + "secs": 0.007, + "reason": "usage text" + }, + { + "i": 89, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BiconnectedComponents[RandomTree[100]]]", + "mode": "skip", + "secs": 10.828, + "reason": "Mathics3 takes 11 s" + }, + { + "i": 90, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Length[%]]", + "mode": "run", + "secs": 0.005, + "reason": "differs from WMA" + }, + { + "i": 91, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BiconnectedComponents[Cycle[100]]]", + "mode": "skip", + "secs": 6.038, + "reason": "Mathics3 takes 6 s" + }, + { + "i": 92, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = Contract[Cycle[50], {1, 30}]]]", + "mode": "check", + "secs": 4.947, + "expected": "" + }, + { + "i": 93, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BiconnectedComponents[g]]", + "mode": "check", + "secs": 4.947, + "expected": "{{29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49},{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,49}}", + "xfail": "Python recursion limit: mathics-core PR #2080" + }, + { + "i": 94, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gt = Table[RandomGraph[i*10, N[1/(10*i)]], {i, 20}]; ]", + "mode": "skip", + "secs": 120.005, + "reason": "Mathics3: timeout" + }, + { + "i": 95, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[BiconnectedComponents[gt[[i]]]; ], {i, 20}]]", + "mode": "skip", + "secs": 0.054, + "reason": "uses gt, which skipped cell 94 assigns" + }, + { + "i": 96, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.063, + "reason": "uses rt, which skipped cell 95 assigns" + }, + { + "i": 97, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gt = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*10, 1/(10*i)], {i, 20}]; ]", + "mode": "check", + "secs": 0.027, + "expected": "Null" + }, + { + "i": 98, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ort = Table[Timing[DiscreteMath`OldCombinatorica`BiconnectedComponents[gt[[i]]]; ], {i, 20}]]", + "mode": "run", + "secs": 0.041, + "reason": "timing" + }, + { + "i": 99, + "section": "5. Properties of Graphs", + "in": "HoldComplete[MultipleListPlot[(#1[[1,1]] & ) /@ rt, (#1[[1,1]] & ) /@ ort, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.102, + "reason": "uses rt, which skipped cell 95 assigns" + }, + { + "i": 100, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"BiconnectedQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.007, + "reason": "usage text" + }, + { + "i": 101, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[4, 4]; ]", + "mode": "check", + "secs": 0.185, + "expected": "Null" + }, + { + "i": 102, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BiconnectedQ[g]]", + "mode": "check", + "secs": 0.543, + "expected": "True", + "xfail": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master" + }, + { + "i": 103, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BiconnectedQ[CompleteGraph[10]]]", + "mode": "check", + "secs": 0.79, + "expected": "True", + "xfail": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master" + }, + { + "i": 104, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BiconnectedQ[GraphUnion[CompleteGraph[10], CompleteGraph[10]]]]", + "mode": "check", + "secs": 1.877, + "expected": "False" + }, + { + "i": 105, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BiconnectedQ[g = Contract[GraphUnion[CompleteGraph[10], CompleteGraph[10]], {10, 14}]]]", + "mode": "check", + "secs": 2.02, + "expected": "False" + }, + { + "i": 106, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g, VertexNumber -> Text[{-0.03, -0.03}, TextStyle -> {FontSize -> 14, FontWeight -> Bold, FontColor -> Red}], Background -> Yellow, EdgeColor -> Orange, ImageSize -> 400, PlotRange -> Large[0.05]]]", + "mode": "skip", + "secs": 5.463, + "reason": "Mathics3 takes 5 s" + }, + { + "i": 107, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"ArticulationVertices\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 108, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = Star[20]; ]", + "mode": "check", + "secs": 0.051, + "expected": "Null" + }, + { + "i": 109, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ArticulationVertices[g]]", + "mode": "check", + "secs": 0.533, + "expected": "{20}" + }, + { + "i": 110, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ArticulationVertices[CompleteGraph[10]]]", + "mode": "check", + "secs": 0.79, + "expected": "{}", + "xfail": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master" + }, + { + "i": 111, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"Bridges\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 112, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Bridges[RandomTree[10]]]", + "mode": "run", + "secs": 0.666, + "reason": "random" + }, + { + "i": 113, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[10, 10]; ]", + "mode": "check", + "secs": 0.726, + "expected": "Null" + }, + { + "i": 114, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Bridges[g]]", + "mode": "skip", + "secs": 7.038, + "reason": "Mathics3 takes 7 s" + }, + { + "i": 115, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Bridges[s = AddEdges[GraphUnion[Wheel[5], Wheel[7]], {{{5, 6}}}]]]", + "mode": "check", + "secs": 0.708, + "expected": "{{5,6}}", + "xfail": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master" + }, + { + "i": 116, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[s, VertexNumber -> On, PlotRange -> Large[0.05]]]", + "mode": "check", + "secs": 1.496, + "expected": "" + }, + { + "i": 117, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"EdgeConnectivity\", LongForm -> False]]", + "mode": "skip", + "secs": 0.009, + "reason": "usage text" + }, + { + "i": 118, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EdgeConnectivity[GridGraph[20, 5]]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 119, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EdgeConnectivity[s = AddEdges[GraphUnion[Wheel[5], Wheel[7]], {{{5, 6}}}]]]", + "mode": "skip", + "secs": 43.095, + "reason": "Mathics3 takes 43 s" + }, + { + "i": 120, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EdgeConnectivity[RandomGraph[20, 0.3]]]", + "mode": "skip", + "secs": 120.129, + "reason": "Mathics3: timeout" + }, + { + "i": 121, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EdgeConnectivity[RandomGraph[20, 0.5]]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 122, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EdgeConnectivity[RandomGraph[20, 0.7]]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 123, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EdgeConnectivity[CompleteGraph[10]]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 124, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gt = Table[RandomGraph[5*i, N[1/(5*i)]], {i, 15}]; ]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 125, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[EdgeConnectivity[gt[[i]]]; ], {i, 15}]]", + "mode": "skip", + "secs": 0.037, + "reason": "uses gt, which skipped cell 124 assigns" + }, + { + "i": 126, + "section": "5. Properties of Graphs", + "in": "HoldComplete[V /@ gt]", + "mode": "skip", + "secs": 0.013, + "reason": "uses gt, which skipped cell 124 assigns" + }, + { + "i": 127, + "section": "5. Properties of Graphs", + "in": "HoldComplete[M /@ gt]", + "mode": "skip", + "secs": 0.012, + "reason": "uses gt, which skipped cell 124 assigns" + }, + { + "i": 128, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.052, + "reason": "uses rt, which skipped cell 125 assigns" + }, + { + "i": 129, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gt = Table[GridGraph[5, 5*i], {i, 10}]; ]", + "mode": "skip", + "secs": 11.988, + "reason": "Mathics3 takes 12 s" + }, + { + "i": 130, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[EdgeConnectivity[gt[[i]]]; ], {i, 10}]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 131, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.054, + "reason": "uses rt, which skipped cell 130 assigns" + }, + { + "i": 132, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*5, N[(1/5)*i]], {i, 5}]; ]", + "mode": "check", + "secs": 0.012, + "expected": "Null" + }, + { + "i": 133, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`EdgeConnectivity[h[[i]]]; ], {i, 5}]]", + "mode": "run", + "secs": 0.02, + "reason": "random" + }, + { + "i": 134, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"VertexConnectivity\", LongForm -> False]]", + "mode": "skip", + "secs": 0.01, + "reason": "usage text" + }, + { + "i": 135, + "section": "5. Properties of Graphs", + "in": "HoldComplete[VertexConnectivity[GridGraph[10, 3]]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 136, + "section": "5. Properties of Graphs", + "in": "HoldComplete[VertexConnectivity[Star[30]]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 137, + "section": "5. Properties of Graphs", + "in": "HoldComplete[VertexConnectivity[CompleteGraph[4]]]", + "mode": "check", + "secs": 0.049, + "expected": "3" + }, + { + "i": 138, + "section": "5. Properties of Graphs", + "in": "HoldComplete[DiscreteMath`OldCombinatorica`VertexConnectivity[DiscreteMath`OldCombinatorica`CompleteGraph[4]]]", + "mode": "check", + "secs": 0.005, + "expected": "DiscreteMath`OldCombinatorica`VertexConnectivity[DiscreteMath`OldCombinatorica`CompleteGraph[4]]" + }, + { + "i": 139, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[10, 4]; h = DiscreteMath`OldCombinatorica`GridGraph[10, 4]; ]", + "mode": "check", + "secs": 0.322, + "expected": "Null" + }, + { + "i": 140, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[VertexConnectivity[g]; ]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 141, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`VertexConnectivity[h]; ]]", + "mode": "run", + "secs": 0.322, + "reason": "random" + }, + { + "i": 142, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"VertexConnectivityGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.01, + "reason": "usage text" + }, + { + "i": 143, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = VertexConnectivityGraph[Wheel[10]], VertexStyle -> Disc[0.025], ImageSize -> 400]]", + "mode": "check", + "secs": 3.314, + "expected": "" + }, + { + "i": 144, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = RandomTree[10]]]", + "mode": "run", + "secs": 1.164, + "reason": "random" + }, + { + "i": 145, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[VertexConnectivityGraph[g], HeadScaling -> Relative, ImageSize -> 400, VertexStyle -> Disc[0.015]]]", + "mode": "run", + "secs": 2.408, + "reason": "random" + }, + { + "i": 146, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[10, 4]; Timing[VertexConnectivityGraph[g]; ]]", + "mode": "run", + "secs": 1.164, + "reason": "random" + }, + { + "i": 147, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"Harary\", LongForm -> False]]", + "mode": "skip", + "secs": 4.852, + "reason": "usage text" + }, + { + "i": 148, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[Harary[3, 10]]]", + "mode": "check", + "secs": 1.302, + "expected": "" + }, + { + "i": 149, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[Harary[7, 13]]]", + "mode": "check", + "secs": 2.994, + "expected": "" + }, + { + "i": 150, + "section": "5. Properties of Graphs", + "in": "HoldComplete[CompleteQ[Harary[8, 9]]]", + "mode": "check", + "secs": 0.231, + "expected": "True" + }, + { + "i": 151, + "section": "5. Properties of Graphs", + "in": "HoldComplete[CompleteQ[Harary[10, 9]]]", + "mode": "check", + "secs": 0.011, + "expected": "CompleteQ[Harary[10,9]]" + }, + { + "i": 152, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[Harary[5, i*10]; ], {i, 20}]]", + "mode": "skip", + "secs": 26.97, + "reason": "Mathics3 takes 27 s" + }, + { + "i": 153, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.079, + "reason": "uses rt, which skipped cell 152 assigns" + }, + { + "i": 154, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Harary[5, i*10]; ], {i, 20}]]", + "mode": "run", + "secs": 0.048, + "reason": "timing" + }, + { + "i": 155, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[Harary[5, i*10]; ], {i, 20}]]", + "mode": "skip", + "secs": 26.378, + "reason": "Mathics3 takes 26 s" + }, + { + "i": 156, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.077, + "reason": "uses rt, which skipped cell 155 assigns" + }, + { + "i": 157, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Harary[i*5, 10]; ], {i, 3, 20}]]", + "mode": "run", + "secs": 0.038, + "reason": "timing" + }, + { + "i": 158, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"IdenticalQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.011, + "reason": "usage text" + }, + { + "i": 159, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = CompleteGraph[10]; ]", + "mode": "check", + "secs": 0.063, + "expected": "Null" + }, + { + "i": 160, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IdenticalQ[g, CompleteGraph[10]]]", + "mode": "check", + "secs": 0.114, + "expected": "True" + }, + { + "i": 161, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IdenticalQ[g, Wheel[10]]]", + "mode": "check", + "secs": 0.071, + "expected": "False" + }, + { + "i": 162, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = AddEdges[g, {{{1, 2}}}]; ]", + "mode": "check", + "secs": 0.071, + "expected": "Null" + }, + { + "i": 163, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IdenticalQ[g, CompleteGraph[10]]]", + "mode": "check", + "secs": 0.108, + "expected": "False" + }, + { + "i": 164, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IdenticalQ[CirculantGraph[10, Range[5]], CompleteGraph[10]]]", + "mode": "check", + "secs": 0.264, + "expected": "True" + }, + { + "i": 165, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IdenticalQ[RemoveMultipleEdges[CirculantGraph[10, Range[5]]], CompleteGraph[10]]]", + "mode": "check", + "secs": 0.378, + "expected": "True" + }, + { + "i": 166, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IdenticalQ[GraphDifference[Wheel[11], AddVertices[Cycle[10], 1]], Star[11]]]", + "mode": "check", + "secs": 0.373, + "expected": "True" + }, + { + "i": 167, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[100, 100]; ]", + "mode": "skip", + "secs": 65.169, + "reason": "Mathics3 takes 65 s" + }, + { + "i": 168, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[IdenticalQ[g, g]; ]]", + "mode": "skip", + "secs": 16.304, + "reason": "Mathics3 takes 16 s" + }, + { + "i": 169, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"IsomorphismQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.012, + "reason": "usage text" + }, + { + "i": 170, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IsomorphismQ[CompleteGraph[10], CompleteGraph[10], RandomPermutation[10]]]", + "mode": "check", + "secs": 0.474, + "expected": "True" + }, + { + "i": 171, + "section": "5. Properties of Graphs", + "in": "HoldComplete[tf = (IsomorphismQ[Cycle[4], Cycle[4], #1] & ) /@ Permutations[Range[4]]]", + "mode": "check", + "secs": 2.384, + "expected": "{True,False,False,False,False,True,False,True,False,True,False,False,False,False,True,False,True,False,True,False,False,False,False,True}" + }, + { + "i": 172, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Length[Select[tf, #1 == True & ]]]", + "mode": "check", + "secs": 2.384, + "expected": "8" + }, + { + "i": 173, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 8}]; pt = Table[RandomPermutation[200*i], {i, 8}]; ]", + "mode": "skip", + "secs": 95.894, + "reason": "Mathics3 takes 96 s" + }, + { + "i": 174, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[IsomorphismQ[gt[[i]], gt[[i]], pt[[i]]]; ], {i, 8}]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 175, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.082, + "reason": "uses rt, which skipped cell 174 assigns" + }, + { + "i": 176, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ht = Table[DiscreteMath`OldCombinatorica`GridGraph[20, 10*i], {i, 8}]; ]", + "mode": "check", + "secs": 0.012, + "expected": "Null" + }, + { + "i": 177, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`IsomorphismQ[gt[[i]], gt[[i]], pt[[i]]]; ], {i, 8}]]", + "mode": "skip", + "secs": 0.026, + "reason": "uses gt, which skipped cell 173 assigns" + }, + { + "i": 178, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"Isomorphism\", LongForm -> False]]", + "mode": "skip", + "secs": 0.011, + "reason": "usage text" + }, + { + "i": 179, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Isomorphism[Wheel[10], CompleteGraph[10]]]", + "mode": "check", + "secs": 0.399, + "expected": "{}" + }, + { + "i": 180, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Isomorphism[Wheel[5], Wheel[5], All]]", + "mode": "skip", + "secs": 11.769, + "reason": "Mathics3 takes 12 s" + }, + { + "i": 181, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Isomorphism[Star[5], Star[5], All]]", + "mode": "skip", + "secs": 22.264, + "reason": "Mathics3 takes 22 s" + }, + { + "i": 182, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Isomorphism[Wheel[10], Star[10]]]", + "mode": "check", + "secs": 0.258, + "expected": "{}" + }, + { + "i": 183, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Isomorphism[Cycle[10], Cycle[10], All]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 184, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = Table[Cycle[i], {i, 10, 20, 2}]; h = Table[Cycle[i], {i, 10, 20, 2}]; ]", + "mode": "check", + "secs": 0.476, + "expected": "Null" + }, + { + "i": 185, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[Isomorphism[g[[i]], g[[i]], All]; ], {i, 6}]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 186, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`Isomorphism[h[[i]], h[[i]], All]; ], {i, 6}]]", + "mode": "run", + "secs": 0.476, + "reason": "timing" + }, + { + "i": 187, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Isomorphism[Cycle[5]]]", + "mode": "skip", + "secs": 18.145, + "reason": "Mathics3 takes 18 s" + }, + { + "i": 188, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Isomorphism[Path[5]]]", + "mode": "check", + "secs": 3.304, + "expected": "{{1,2,3,4,5},{5,4,3,2,1}}" + }, + { + "i": 189, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Isomorphism[t = RandomTree[7]]]", + "mode": "skip", + "secs": 13.465, + "reason": "Mathics3 takes 13 s" + }, + { + "i": 190, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.1]]]", + "mode": "skip", + "secs": 0.69, + "reason": "uses t, which skipped cell 189 assigns" + }, + { + "i": 191, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"IsomorphicQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.023, + "reason": "usage text" + }, + { + "i": 192, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IsomorphicQ[Wheel[10], Wheel[10]]]", + "mode": "check", + "secs": 0.1, + "expected": "True" + }, + { + "i": 193, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IsomorphicQ[CompleteGraph[8], GraphJoin[CompleteGraph[4], CompleteGraph[4]]]]", + "mode": "check", + "secs": 0.331, + "expected": "True" + }, + { + "i": 194, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IsomorphicQ[RandomTree[20], CompleteGraph[20]]]", + "mode": "run", + "secs": 1.794, + "reason": "random" + }, + { + "i": 195, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"Equivalences\", LongForm -> False]]", + "mode": "skip", + "secs": 0.019, + "reason": "usage text" + }, + { + "i": 196, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Equivalences[Wheel[10], CompleteGraph[10]]]", + "mode": "check", + "secs": 0.368, + "expected": "{{},{},{},{},{},{},{},{},{},{1,2,3,4,5,6,7,8,9,10}}" + }, + { + "i": 197, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Equivalences[Path[10], CompleteGraph[10]]]", + "mode": "check", + "secs": 0.325, + "expected": "{{},{},{},{},{},{},{},{},{},{}}" + }, + { + "i": 198, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Equivalences[Path[10], Path[10]]]", + "mode": "check", + "secs": 0.178, + "expected": "{{1,10},{2,3,4,5,6,7,8,9},{2,3,4,5,6,7,8,9},{2,3,4,5,6,7,8,9},{2,3,4,5,6,7,8,9},{2,3,4,5,6,7,8,9},{2,3,4,5,6,7,8,9},{2,3,4,5,6,7,8,9},{2,3,4,5,6,7,8,9},{1,10}}" + }, + { + "i": 199, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GraphUnion[Cycle[4], Cycle[4]]; ShowGraph[g, VertexNumber -> On]]", + "mode": "check", + "secs": 1.002, + "expected": "" + }, + { + "i": 200, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = AddEdges[g, {{{1, 5}}, {{2, 4}}, {{6, 8}}, {{3, 7}}}]; ]", + "mode": "check", + "secs": 1.002, + "expected": "Null" + }, + { + "i": 201, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g, VertexNumber -> On, PlotRange -> Large[0.1]]]", + "mode": "check", + "secs": 1.002, + "expected": "" + }, + { + "i": 202, + "section": "5. Properties of Graphs", + "in": "HoldComplete[DegreeSequence[g]]", + "mode": "check", + "secs": 1.002, + "expected": "{3,3,3,3,3,3,3,3}" + }, + { + "i": 203, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[h = Hypercube[3]]]", + "mode": "check", + "secs": 1.244, + "expected": "" + }, + { + "i": 204, + "section": "5. Properties of Graphs", + "in": "HoldComplete[DegreeSequence[h]]", + "mode": "check", + "secs": 1.244, + "expected": "{3,3,3,3,3,3,3,3}" + }, + { + "i": 205, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Equivalences[g, h]]", + "mode": "check", + "secs": 1.244, + "expected": "{{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8}}" + }, + { + "i": 206, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Isomorphism[g, h, All]]", + "mode": "check", + "secs": 2.506, + "expected": "{}" + }, + { + "i": 207, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Equivalences[GraphPower[g, 2], GraphPower[h, 2]]]", + "mode": "check", + "secs": 1.244, + "expected": "{{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8},{1,2,3,4,5,6,7,8}}" + }, + { + "i": 208, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gm = Path[10]; gm2 = GraphPower[gm, 2]; ]", + "mode": "check", + "secs": 0.34, + "expected": "Null" + }, + { + "i": 209, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Equivalences[gm2, gm2]]", + "mode": "check", + "secs": 0.34, + "expected": "{{1,10},{2,9},{3,4,5,6,7,8},{3,4,5,6,7,8},{3,4,5,6,7,8},{3,4,5,6,7,8},{3,4,5,6,7,8},{3,4,5,6,7,8},{2,9},{1,10}}" + }, + { + "i": 210, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Equivalences[gm3 = GraphPower[gm, 3], gm3]]", + "mode": "check", + "secs": 0.835, + "expected": "{{1,10},{2,9},{3,8},{4,5,6,7},{4,5,6,7},{4,5,6,7},{4,5,6,7},{3,8},{2,9},{1,10}}" + }, + { + "i": 211, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Equivalences[gm5 = GraphPower[gm, 5], gm5]]", + "mode": "check", + "secs": 2.013, + "expected": "{{1,10},{2,9},{3,8},{4,7},{5,6},{5,6},{4,7},{3,8},{2,9},{1,10}}" + }, + { + "i": 212, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Equivalences[Wheel[5]]]", + "mode": "check", + "secs": 0.126, + "expected": "{{1,2,3,4},{1,2,3,4},{1,2,3,4},{1,2,3,4},{5}}" + }, + { + "i": 213, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Equivalences[CompleteGraph[4]]]", + "mode": "check", + "secs": 0.112, + "expected": "{{1,2,3,4},{1,2,3,4},{1,2,3,4},{1,2,3,4}}" + }, + { + "i": 214, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"Automorphisms\", LongForm -> False]]", + "mode": "skip", + "secs": 0.018, + "reason": "usage text" + }, + { + "i": 215, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Automorphisms[Star[4]]]", + "mode": "check", + "secs": 4.384, + "expected": "{{1,2,3,4},{1,3,2,4},{2,1,3,4},{2,3,1,4},{3,1,2,4},{3,2,1,4}}" + }, + { + "i": 216, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"SelfComplementaryQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 217, + "section": "5. Properties of Graphs", + "in": "HoldComplete[SelfComplementaryQ[Path[4]]]", + "mode": "check", + "secs": 1.891, + "expected": "True" + }, + { + "i": 218, + "section": "5. Properties of Graphs", + "in": "HoldComplete[SelfComplementaryQ[Cycle[5]]]", + "mode": "check", + "secs": 3.712, + "expected": "True" + }, + { + "i": 219, + "section": "5. Properties of Graphs", + "in": "HoldComplete[SelfComplementaryQ[Path[5]]]", + "mode": "check", + "secs": 0.226, + "expected": "False" + }, + { + "i": 220, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"FindCycle\", LongForm -> False]]", + "mode": "skip", + "secs": 0.021, + "reason": "usage text" + }, + { + "i": 221, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = RandomGraph[10, 0.4], VertexNumber -> On, VertexNumberColor -> Red, PlotRange -> Large[0.1], Background -> LightBlue]]", + "mode": "check", + "secs": 1.371, + "expected": "" + }, + { + "i": 222, + "section": "5. Properties of Graphs", + "in": "HoldComplete[FindCycle[t]]", + "mode": "run", + "secs": 1.371, + "reason": "random" + }, + { + "i": 223, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = AddEdges[RandomTree[10], {{{1, 10}}}], VertexNumber -> On, PlotRange -> Large[0.05]]]", + "mode": "run", + "secs": 1.236, + "reason": "random" + }, + { + "i": 224, + "section": "5. Properties of Graphs", + "in": "HoldComplete[FindCycle[t]]", + "mode": "run", + "secs": 1.236, + "reason": "random" + }, + { + "i": 225, + "section": "5. Properties of Graphs", + "in": "HoldComplete[HighlightCycle[t_Graph] := Highlight[t, c = FindCycle[t]; {Table[Sort[{c[[i]], c[[i + 1]]}], {i, Length[c] - 1}]}, HighlightedEdgeColors -> {Red}] /; UndirectedQ[t]]", + "mode": "skip", + "secs": 1.236, + "reason": "uses c, which skipped cell 36 assigns" + }, + { + "i": 226, + "section": "5. Properties of Graphs", + "in": "HoldComplete[HighlightCycle[t_Graph] := Highlight[t, c = FindCycle[t]; {Table[{c[[i]], c[[i + 1]]}, {i, Length[c] - 1}]}, HighlightedEdgeColors -> {Red}]]", + "mode": "skip", + "secs": 1.236, + "reason": "uses c, which skipped cell 225 assigns" + }, + { + "i": 227, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[HighlightCycle[t], VertexNumber -> On]]", + "mode": "skip", + "secs": 1.236, + "reason": "uses HighlightCycle, which skipped cell 226 assigns" + }, + { + "i": 228, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[HighlightCycle[RandomGraph[10, 0.4]]]]", + "mode": "skip", + "secs": 1.876, + "reason": "uses HighlightCycle, which skipped cell 226 assigns" + }, + { + "i": 229, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On, VertexNumber -> Text[{-0.03, -0.03}]], PlotRange -> Large[0.07]]]", + "mode": "run", + "secs": 3.326, + "reason": "differs from WMA" + }, + { + "i": 230, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = AddEdges[DeleteEdges[t, {{16, 17}, {17, 22}}], {{{17, 16}}, {{22, 17}}}], VertexNumber -> On, PlotRange -> Large[0.1]]]", + "mode": "run", + "secs": 3.326, + "reason": "random" + }, + { + "i": 231, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[HighlightCycle[t]]]", + "mode": "skip", + "secs": 3.351, + "reason": "uses HighlightCycle, which skipped cell 226 assigns" + }, + { + "i": 232, + "section": "5. Properties of Graphs", + "in": "HoldComplete[t = AddEdges[Path[4], {{{1, 2}}}]; ]", + "mode": "check", + "secs": 0.027, + "expected": "Null" + }, + { + "i": 233, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Edges[t]]", + "mode": "check", + "secs": 0.027, + "expected": "{{1,2},{2,3},{3,4},{1,2}}" + }, + { + "i": 234, + "section": "5. Properties of Graphs", + "in": "HoldComplete[FindCycle[t]]", + "mode": "check", + "secs": 0.027, + "expected": "{1,2,1}" + }, + { + "i": 235, + "section": "5. Properties of Graphs", + "in": "HoldComplete[t = AddEdges[Path[4], {{{1, 1}}}]; ]", + "mode": "check", + "secs": 0.027, + "expected": "Null" + }, + { + "i": 236, + "section": "5. Properties of Graphs", + "in": "HoldComplete[FindCycle[t]]", + "mode": "check", + "secs": 0.027, + "expected": "{1,1}" + }, + { + "i": 237, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gt = Table[RandomGraph[50*i, N[1/(50*i)]], {i, 10}]; ]", + "mode": "skip", + "secs": 120.008, + "reason": "Mathics3: timeout" + }, + { + "i": 238, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[FindCycle[gt[[i]]]; ], {i, 10}]]", + "mode": "skip", + "secs": 75.815, + "reason": "Mathics3 takes 76 s" + }, + { + "i": 239, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.043, + "reason": "uses rt, which skipped cell 238 assigns" + }, + { + "i": 240, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gt = Table[GridGraph[20, 10*i], {i, 10}]; ]", + "mode": "skip", + "secs": 79.124, + "reason": "Mathics3 takes 79 s" + }, + { + "i": 241, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ct = Table[0, {10}]; ]", + "mode": "check", + "secs": 0.006, + "expected": "Null" + }, + { + "i": 242, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[ct[[i]] = FindCycle[gt[[i]]]; ], {i, 10}]]", + "mode": "skip", + "secs": 102.587, + "reason": "Mathics3 takes 103 s" + }, + { + "i": 243, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ct]", + "mode": "run", + "secs": 0.006, + "reason": "differs from WMA" + }, + { + "i": 244, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.043, + "reason": "uses rt, which skipped cell 242 assigns" + }, + { + "i": 245, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ht = Table[DiscreteMath`OldCombinatorica`RandomGraph[50*i, N[1/(50*i)]], {i, 5}]; ]", + "mode": "check", + "secs": 0.012, + "expected": "Null" + }, + { + "i": 246, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`FindCycle[ht[[i]]]; ], {i, 5}]]", + "mode": "run", + "secs": 0.017, + "reason": "random" + }, + { + "i": 247, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"AcyclicQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.021, + "reason": "usage text" + }, + { + "i": 248, + "section": "5. Properties of Graphs", + "in": "HoldComplete[AcyclicQ[RandomTree[100]]]", + "mode": "skip", + "secs": 8.401, + "reason": "Mathics3 takes 8 s" + }, + { + "i": 249, + "section": "5. Properties of Graphs", + "in": "HoldComplete[AcyclicQ[GridGraph[10, 10]]]", + "mode": "run", + "secs": 1.491, + "reason": "differs from WMA" + }, + { + "i": 250, + "section": "5. Properties of Graphs", + "in": "HoldComplete[AcyclicQ[SetGraphOptions[GridGraph[10, 10], EdgeDirection -> On]]]", + "mode": "run", + "secs": 1.971, + "reason": "differs from WMA" + }, + { + "i": 251, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"TreeQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 252, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TreeQ[Star[100]]]", + "mode": "run", + "secs": 1.314, + "reason": "differs from WMA" + }, + { + "i": 253, + "section": "5. Properties of Graphs", + "in": "HoldComplete[$RecursionLimit = 10000; ]", + "mode": "run", + "secs": 0.005, + "reason": "messages WMA does not give: $RecursionLimit::limset" + }, + { + "i": 254, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TreeQ[Path[100]]]", + "mode": "run", + "secs": 1.056, + "reason": "differs from WMA", + "xfail": "Python recursion limit: mathics-core PR #2080" + }, + { + "i": 255, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TreeQ[RandomTree[10]]]", + "mode": "check", + "secs": 0.432, + "expected": "True" + }, + { + "i": 256, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TreeQ[CompleteGraph[10]]]", + "mode": "check", + "secs": 0.316, + "expected": "False" + }, + { + "i": 257, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TreeQ[Wheel[10]]]", + "mode": "check", + "secs": 0.166, + "expected": "False" + }, + { + "i": 258, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"ExtractCycles\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 259, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ExtractCycles[Wheel[10]]]", + "mode": "run", + "secs": 0.208, + "reason": "differs from WMA" + }, + { + "i": 260, + "section": "5. Properties of Graphs", + "in": "HoldComplete[cl = ExtractCycles[CompleteGraph[10]]]", + "mode": "run", + "secs": 0.294, + "reason": "differs from WMA" + }, + { + "i": 261, + "section": "5. Properties of Graphs", + "in": "HoldComplete[cl = (Sort /@ Partition[#1, 2, 1] & ) /@ cl]", + "mode": "run", + "secs": 0.294, + "reason": "differs from WMA" + }, + { + "i": 262, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[Highlight[CompleteGraph[10], cl]]]", + "mode": "check", + "secs": 2.452, + "expected": "" + }, + { + "i": 263, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = Table[GridGraph[i*5, 5], {i, 5}]; ]", + "mode": "check", + "secs": 2.603, + "expected": "Null" + }, + { + "i": 264, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[ExtractCycles[g[[i]]]; ], {i, 5}]]", + "mode": "skip", + "secs": 12.315, + "reason": "Mathics3 takes 12 s" + }, + { + "i": 265, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = Table[DiscreteMath`OldCombinatorica`GridGraph[i*5, 5], {i, 5}]; ]", + "mode": "check", + "secs": 0.008, + "expected": "Null" + }, + { + "i": 266, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`ExtractCycles[h[[i]]]; ], {i, 5}]]", + "mode": "run", + "secs": 0.018, + "reason": "timing" + }, + { + "i": 267, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"DeleteCycle\", LongForm -> False]]", + "mode": "skip", + "secs": 0.021, + "reason": "usage text" + }, + { + "i": 268, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[DeleteCycle[CompleteGraph[10], {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1}]]]", + "mode": "check", + "secs": 2.402, + "expected": "" + }, + { + "i": 269, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IdenticalQ[DeleteCycle[Wheel[10], {1, 2, 3, 4, 5, 6, 7, 8, 9, 1}], Star[10]]]", + "mode": "check", + "secs": 0.209, + "expected": "True" + }, + { + "i": 270, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[30, 30]; ]", + "mode": "skip", + "secs": 5.289, + "reason": "Mathics3 takes 5 s" + }, + { + "i": 271, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[DeleteCycle[g, {1, 2, 3, 33, 32, 31, 1}]; ]]", + "mode": "skip", + "secs": 121.152, + "reason": "Mathics3: timeout" + }, + { + "i": 272, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ]", + "mode": "check", + "secs": 0.006, + "expected": "Null" + }, + { + "i": 273, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`DeleteCycle[g, {1, 2, 3, 33, 32, 31, 1}]; ]]", + "mode": "skip", + "secs": 0.007, + "reason": "uses g, which skipped cell 270 assigns" + }, + { + "i": 274, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"Girth\", LongForm -> False]]", + "mode": "skip", + "secs": 0.021, + "reason": "usage text" + }, + { + "i": 275, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Girth[Wheel[10]]]", + "mode": "run", + "secs": 0.285, + "reason": "differs from WMA" + }, + { + "i": 276, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Girth[GridGraph[5, 5]]]", + "mode": "run", + "secs": 0.855, + "reason": "differs from WMA" + }, + { + "i": 277, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Girth[Cycle[10]]]", + "mode": "run", + "secs": 0.216, + "reason": "differs from WMA" + }, + { + "i": 278, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = AddEdges[Cycle[10], {{{1, 6}}}]]]", + "mode": "check", + "secs": 0.994, + "expected": "" + }, + { + "i": 279, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Girth[t]]", + "mode": "run", + "secs": 0.994, + "reason": "differs from WMA" + }, + { + "i": 280, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Girth[CompleteGraph[4, 4]]]", + "mode": "run", + "secs": 0.32, + "reason": "differs from WMA" + }, + { + "i": 281, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Girth[RandomTree[10]]]", + "mode": "run", + "secs": 0.507, + "reason": "random" + }, + { + "i": 282, + "section": "5. Properties of Graphs", + "in": "HoldComplete[gt = Table[RandomGraph[i*10, 0.4], {i, 1, 10}]; ]", + "mode": "skip", + "secs": 120.005, + "reason": "Mathics3: timeout" + }, + { + "i": 283, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[Girth[gt[[i]]]; ], {i, 10}]]", + "mode": "skip", + "secs": 120.005, + "reason": "Mathics3: timeout" + }, + { + "i": 284, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ListPlot[(#1[[1,1]] & ) /@ rt, PlotJoined -> True]]", + "mode": "skip", + "secs": 0.026, + "reason": "uses rt, which skipped cell 283 assigns" + }, + { + "i": 285, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ht = Table[DiscreteMath`OldCombinatorica`RandomGraph[i*10, 0.4], {i, 1, 10}]; ]", + "mode": "check", + "secs": 0.012, + "expected": "Null" + }, + { + "i": 286, + "section": "5. Properties of Graphs", + "in": "HoldComplete[rt = Table[Timing[DiscreteMath`OldCombinatorica`Girth[ht[[i]]]; ], {i, 10}]]", + "mode": "run", + "secs": 0.026, + "reason": "timing" + }, + { + "i": 287, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"OutDegree\", LongForm -> False]]", + "mode": "skip", + "secs": 0.033, + "reason": "usage text" + }, + { + "i": 288, + "section": "5. Properties of Graphs", + "in": "HoldComplete[OutDegree[t = SetGraphOptions[GridGraph[5, 7], EdgeDirection -> On]]]", + "mode": "run", + "secs": 0.583, + "reason": "differs from WMA" + }, + { + "i": 289, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.07]]]", + "mode": "check", + "secs": 4.397, + "expected": "" + }, + { + "i": 290, + "section": "5. Properties of Graphs", + "in": "HoldComplete[OutDegree[SetGraphOptions[GraphUnion[10, CompleteGraph[1]], EdgeDirection -> On]]]", + "mode": "run", + "secs": 0.523, + "reason": "differs from WMA" + }, + { + "i": 291, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"InDegree\", LongForm -> False]]", + "mode": "skip", + "secs": 0.027, + "reason": "usage text" + }, + { + "i": 292, + "section": "5. Properties of Graphs", + "in": "HoldComplete[InDegree[SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On]]]", + "mode": "run", + "secs": 0.448, + "reason": "differs from WMA" + }, + { + "i": 293, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"ReverseEdges\", LongForm -> False]]", + "mode": "skip", + "secs": 0.028, + "reason": "usage text" + }, + { + "i": 294, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On]]]", + "mode": "run", + "secs": 3.331, + "reason": "differs from WMA" + }, + { + "i": 295, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[ReverseEdges[t]]]", + "mode": "check", + "secs": 3.331, + "expected": "" + }, + { + "i": 296, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"EulerianQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.032, + "reason": "usage text" + }, + { + "i": 297, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EulerianQ[CompleteGraph[9]]]", + "mode": "check", + "secs": 0.386, + "expected": "True" + }, + { + "i": 298, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EulerianQ[Cycle[10]]]", + "mode": "check", + "secs": 0.203, + "expected": "True" + }, + { + "i": 299, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EulerianQ[t = GridGraph[5, 5]]]", + "mode": "check", + "secs": 0.675, + "expected": "False" + }, + { + "i": 300, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t, VertexNumber -> On, PlotRange -> Large[0.05]]]", + "mode": "check", + "secs": 2.967, + "expected": "" + }, + { + "i": 301, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = DeleteVertices[t, {1, 5, 21, 25}], VertexNumber -> On]]", + "mode": "check", + "secs": 2.733, + "expected": "" + }, + { + "i": 302, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EulerianQ[t]]", + "mode": "check", + "secs": 2.733, + "expected": "False" + }, + { + "i": 303, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = DeleteEdges[t, {{9, 10}, {16, 20}, {12, 13}, {2, 6}}]]]", + "mode": "check", + "secs": 2.733, + "expected": "" + }, + { + "i": 304, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EulerianQ[t]]", + "mode": "check", + "secs": 2.733, + "expected": "False" + }, + { + "i": 305, + "section": "5. Properties of Graphs", + "in": "HoldComplete[$RecursionLimit = 100000000000]", + "mode": "run", + "secs": 0.005, + "reason": "messages WMA does not give: $RecursionLimit::limset" + }, + { + "i": 306, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[70, 70]; ]", + "mode": "skip", + "secs": 37.759, + "reason": "Mathics3 takes 38 s" + }, + { + "i": 307, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[EulerianQ[g]; ]]", + "mode": "skip", + "secs": 44.14, + "reason": "Mathics3: aborted" + }, + { + "i": 308, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[ConnectedQ[g]; ]]", + "mode": "skip", + "secs": 29.389, + "reason": "Mathics3: aborted" + }, + { + "i": 309, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[30, 30]; ]", + "mode": "skip", + "secs": 5.241, + "reason": "Mathics3 takes 5 s" + }, + { + "i": 310, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[EulerianQ[g]; ]]", + "mode": "skip", + "secs": 6.851, + "reason": "Mathics3: aborted" + }, + { + "i": 311, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ]", + "mode": "check", + "secs": 0.005, + "expected": "Null" + }, + { + "i": 312, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`EulerianQ[h]; ]]", + "mode": "run", + "secs": 0.006, + "reason": "timing" + }, + { + "i": 313, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"EulerianCycle\", LongForm -> False]]", + "mode": "skip", + "secs": 0.032, + "reason": "usage text" + }, + { + "i": 314, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EulerianCycle[CompleteGraph[4, 4]]]", + "mode": "run", + "secs": 0.456, + "reason": "differs from WMA" + }, + { + "i": 315, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EulerianCycle[Hypercube[4]]]", + "mode": "run", + "secs": 0.876, + "reason": "differs from WMA" + }, + { + "i": 316, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = Table[Hypercube[i], {i, 3, 10}]; ]", + "mode": "skip", + "secs": 33.928, + "reason": "Mathics3 takes 34 s" + }, + { + "i": 317, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[EulerianCycle[g[[i]]]; ], {i, 5}]]", + "mode": "skip", + "secs": 6.582, + "reason": "Mathics3: aborted" + }, + { + "i": 318, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[ExtractCycles[g[[i]]]; ], {i, 5}]]", + "mode": "skip", + "secs": 2.864, + "reason": "uses g, which skipped cell 316 assigns" + }, + { + "i": 319, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = Table[DiscreteMath`OldCombinatorica`Hypercube[i], {i, 3, 7}]; ]", + "mode": "check", + "secs": 0.008, + "expected": "Null" + }, + { + "i": 320, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`EulerianCycle[h[[i]]]; ], {i, 5}]]", + "mode": "run", + "secs": 0.019, + "reason": "timing" + }, + { + "i": 321, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"DeBruijnGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.031, + "reason": "usage text" + }, + { + "i": 322, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = DeBruijnGraph[{0, 1}, 4]]]", + "mode": "check", + "secs": 2.263, + "expected": "" + }, + { + "i": 323, + "section": "5. Properties of Graphs", + "in": "HoldComplete[states = FromCharacterCode /@ (#1 + 48 & ) /@ Strings[{0, 1}, 3]; ]", + "mode": "check", + "secs": 0.013, + "expected": "Null" + }, + { + "i": 324, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[SetGraphOptions[t, Table[{{i}, VertexLabel -> states[[i]]}, {i, Length[states]}]], PlotRange -> {{-0.1, 1.2}, {-0.1, 1.2}}]]", + "mode": "check", + "secs": 2.263, + "expected": "" + }, + { + "i": 325, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EulerianQ[t]]", + "mode": "check", + "secs": 2.263, + "expected": "True" + }, + { + "i": 326, + "section": "5. Properties of Graphs", + "in": "HoldComplete[states[[EulerianCycle[t]]]]", + "mode": "run", + "secs": 2.263, + "reason": "differs from WMA" + }, + { + "i": 327, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DeBruijnGraph[{0, 1}, i]; ], {i, 3, 10}]]", + "mode": "skip", + "secs": 88.399, + "reason": "Mathics3 takes 88 s" + }, + { + "i": 328, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DeBruijnGraph[2, i]; ], {i, 3, 10}]]", + "mode": "skip", + "secs": 97.747, + "reason": "Mathics3 takes 98 s" + }, + { + "i": 329, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"HamiltonianCycle\", LongForm -> False]]", + "mode": "skip", + "secs": 0.033, + "reason": "usage text" + }, + { + "i": 330, + "section": "5. Properties of Graphs", + "in": "HoldComplete[HamiltonianCycle[CompleteGraph[3, 3], All]]", + "mode": "skip", + "secs": 10.685, + "reason": "Mathics3 takes 11 s" + }, + { + "i": 331, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = RegularGraph[4, 7], VertexNumber -> On]]", + "mode": "check", + "secs": 1.25, + "expected": "" + }, + { + "i": 332, + "section": "5. Properties of Graphs", + "in": "HoldComplete[HamiltonianCycle[t]]", + "mode": "run", + "secs": 1.803, + "reason": "random" + }, + { + "i": 333, + "section": "5. Properties of Graphs", + "in": "HoldComplete[HamiltonianCycle[AddEdges[GridGraph[5, 5], {{{1, 25}}}]]]", + "mode": "skip", + "secs": 19.157, + "reason": "Mathics3 takes 19 s" + }, + { + "i": 334, + "section": "5. Properties of Graphs", + "in": "HoldComplete[HamiltonianCycle[GridGraph[5, 5]]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 335, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = Table[GridGraph[i, i], {i, 3, 6}]; ]", + "mode": "check", + "secs": 0.927, + "expected": "Null" + }, + { + "i": 336, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[HamiltonianCycle[g[[i]]]; ], {i, 4}]]", + "mode": "skip", + "secs": 124.1, + "reason": "Mathics3: timeout" + }, + { + "i": 337, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 3, 6}]; ]", + "mode": "check", + "secs": 0.011, + "expected": "Null" + }, + { + "i": 338, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`HamiltonianCycle[h[[i]]]; ], {i, 4}]]", + "mode": "run", + "secs": 0.019, + "reason": "timing" + }, + { + "i": 339, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"SetEdgeWeights\", LongForm -> False]]", + "mode": "skip", + "secs": 0.035, + "reason": "usage text" + }, + { + "i": 340, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Edges[SetEdgeWeights[GridGraph[5, 5]], EdgeWeight]]", + "mode": "run", + "secs": 1.944, + "reason": "random" + }, + { + "i": 341, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Edges[SetEdgeWeights[GridGraph[5, 5], WeightingFunction -> RandomInteger, WeightRange -> {10, 20}], EdgeWeight]]", + "mode": "run", + "secs": 1.877, + "reason": "random" + }, + { + "i": 342, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Edges[SetEdgeWeights[GridGraph[5, 5], WeightingFunction -> Random, WeightRange -> {-10, 10}], EdgeWeight]]", + "mode": "run", + "secs": 1.951, + "reason": "random" + }, + { + "i": 343, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Edges[SetEdgeWeights[GridGraph[3, 3], WeightingFunction -> Euclidean], EdgeWeight]]", + "mode": "check", + "secs": 0.605, + "expected": "{{{1,2},100000},{{2,3},100000},{{4,5},100000},{{5,6},100000},{{7,8},100000},{{8,9},100000},{{1,4},100000},{{2,5},100000},{{3,6},100000},{{4,7},100000},{{5,8},100000},{{6,9},100000}}", + "xfail": "Transpose of deep lists: mathics-core PR #2090" + }, + { + "i": 344, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Null]", + "mode": "check", + "secs": 0.004, + "expected": "Null" + }, + { + "i": 345, + "section": "5. Properties of Graphs", + "in": "HoldComplete[GetEdgeWeights[SetEdgeWeights[RandomGraph[10, 0.3], WeightingFunction -> Euclidean]]]", + "mode": "run", + "secs": 0.621, + "reason": "random" + }, + { + "i": 346, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"SetVertexWeights\", LongForm -> False]]", + "mode": "skip", + "secs": 0.034, + "reason": "usage text" + }, + { + "i": 347, + "section": "5. Properties of Graphs", + "in": "HoldComplete[GetVertexWeights[SetVertexWeights[GridGraph[3, 3], Random, Integer, {10, 20}]]]", + "mode": "check", + "secs": 0.159, + "expected": "GetVertexWeights[SetVertexWeights[Graph[{{{1,2}},{{2,3}},{{4,5}},{{5,6}},{{7,8}},{{8,9}},{{1,4}},{{2,5}},{{3,6}},{{4,7}},{{5,8}},{{6,9}}},{{{100000,100000}},{{200000,100000}},{{300000,100000}},{{100000,200000}},{{200000,200000}},{{300000,200000}},{{100000,300000}},{{200000,300000}},{{300000,300000}}}],Random,Integer,{10,20}]]" + }, + { + "i": 348, + "section": "5. Properties of Graphs", + "in": "HoldComplete[GetVertexWeights[SetVertexWeights[GridGraph[3, 3]]]]", + "mode": "run", + "secs": 0.414, + "reason": "random" + }, + { + "i": 349, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"GetEdgeWeights\", LongForm -> False]]", + "mode": "skip", + "secs": 0.034, + "reason": "usage text" + }, + { + "i": 350, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = SetEdgeWeights[GridGraph[5, 5], WeightingFunction -> RandomInteger, WeightRange -> {0, 10}]; ]", + "mode": "check", + "secs": 1.879, + "expected": "Null" + }, + { + "i": 351, + "section": "5. Properties of Graphs", + "in": "HoldComplete[GetEdgeWeights[g]]", + "mode": "run", + "secs": 1.879, + "reason": "random" + }, + { + "i": 352, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"GetVertexWeights\", LongForm -> False]]", + "mode": "skip", + "secs": 0.034, + "reason": "usage text" + }, + { + "i": 353, + "section": "5. Properties of Graphs", + "in": "HoldComplete[GetVertexWeights[g]]", + "mode": "check", + "secs": 1.879, + "expected": "{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}", + "xfail": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master" + }, + { + "i": 354, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = SetVertexWeights[g, Random, Integer, {100, 200}]; ]", + "mode": "check", + "secs": 1.879, + "expected": "Null" + }, + { + "i": 355, + "section": "5. Properties of Graphs", + "in": "HoldComplete[GetVertexWeights[g]]", + "mode": "run", + "secs": 1.879, + "reason": "random" + }, + { + "i": 356, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"CostOfPath\", LongForm -> False]]", + "mode": "skip", + "secs": 0.036, + "reason": "usage text" + }, + { + "i": 357, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = SetEdgeWeights[GridGraph[4, 4], WeightingFunction -> RandomInteger, WeightRange -> {1, 5}]]", + "mode": "run", + "secs": 0.96, + "reason": "random" + }, + { + "i": 358, + "section": "5. Properties of Graphs", + "in": "HoldComplete[CostOfPath[g, {1, 2, 3, 4, 8, 12}]]", + "mode": "run", + "secs": 0.96, + "reason": "random" + }, + { + "i": 359, + "section": "5. Properties of Graphs", + "in": "HoldComplete[CostOfPath[g, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}]]", + "mode": "check", + "secs": 0.96, + "expected": "DirectedInfinity[1]", + "xfail": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master" + }, + { + "i": 360, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"TravelingSalesman\", LongForm -> False]]", + "mode": "skip", + "secs": 0.034, + "reason": "usage text" + }, + { + "i": 361, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = SetEdgeWeights[Cycle[10], WeightingFunction -> RandomInteger, WeightRange -> {1, 3}]]", + "mode": "run", + "secs": 0.324, + "reason": "random" + }, + { + "i": 362, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TravelingSalesman[g]]", + "mode": "skip", + "secs": 5.311, + "reason": "Mathics3 takes 5 s" + }, + { + "i": 363, + "section": "5. Properties of Graphs", + "in": "HoldComplete[GetEdgeWeights[g = SetEdgeWeights[CompleteGraph[4], WeightingFunction -> RandomInteger, WeightRange -> {1, 100}]]]", + "mode": "run", + "secs": 0.223, + "reason": "random" + }, + { + "i": 364, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TravelingSalesman[g]]", + "mode": "run", + "secs": 2.078, + "reason": "random" + }, + { + "i": 365, + "section": "5. Properties of Graphs", + "in": "HoldComplete[GetEdgeWeights[g = SetEdgeWeights[Wheel[6], WeightingFunction -> Euclidean]]]", + "mode": "check", + "secs": 0.453, + "expected": "{100000,100000,100000,100000,100000,117557,117557,117557,117557,117557}", + "xfail": "Transpose of deep lists: mathics-core PR #2090" + }, + { + "i": 366, + "section": "5. Properties of Graphs", + "in": "HoldComplete[p = TravelingSalesman[g]]", + "mode": "skip", + "secs": 11.651, + "reason": "Mathics3 takes 12 s" + }, + { + "i": 367, + "section": "5. Properties of Graphs", + "in": "HoldComplete[CostOfPath[g, p]]", + "mode": "skip", + "secs": 0.453, + "reason": "uses p, which skipped cell 366 assigns" + }, + { + "i": 368, + "section": "5. Properties of Graphs", + "in": "HoldComplete[CostOfPath[g, {1, 2, 4, 3, 5, 6, 1}]]", + "mode": "check", + "secs": 0.453, + "expected": "DirectedInfinity[1]" + }, + { + "i": 369, + "section": "5. Properties of Graphs", + "in": "HoldComplete[CostOfPath[g, {1, 2, 6, 3, 4, 5, 1}]]", + "mode": "check", + "secs": 0.453, + "expected": "670228", + "xfail": "Transpose of deep lists: mathics-core PR #2090" + }, + { + "i": 370, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = Table[SetEdgeWeights[CompleteGraph[i], WeightingFunction -> RandomInteger, WeightRange -> {1, 100}], {i, 5, 8}]; ]", + "mode": "check", + "secs": 2.865, + "expected": "Null" + }, + { + "i": 371, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[TravelingSalesman[g[[i]]]; ], {i, 4}]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 372, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"TriangleInequalityQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.038, + "reason": "usage text" + }, + { + "i": 373, + "section": "5. Properties of Graphs", + "in": "HoldComplete[GetEdgeWeights[g = SetEdgeWeights[GridGraph[2, 2]]]]", + "mode": "run", + "secs": 0.265, + "reason": "random" + }, + { + "i": 374, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TriangleInequalityQ[g]]", + "mode": "check", + "secs": 0.278, + "expected": "True", + "xfail": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master" + }, + { + "i": 375, + "section": "5. Properties of Graphs", + "in": "HoldComplete[GetEdgeWeights[g = SetEdgeWeights[CompleteGraph[5]]]]", + "mode": "run", + "secs": 0.363, + "reason": "random" + }, + { + "i": 376, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TriangleInequalityQ[g]]", + "mode": "check", + "secs": 0.888, + "expected": "False", + "xfail": "passes with the open MATH-236 fixes (mathics-core PRs #2080, #2083-#2085, #2090, package PR #7), not yet on master" + }, + { + "i": 377, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = SetGraphOptions[CompleteGraph[4], {{{{1, 2}, {2, 3}, {3, 4}, {1, 4}}, EdgeWeight -> 1}, {{{2, 4}, {1, 3}}, EdgeWeight -> 1.5}}]]", + "mode": "check", + "secs": 0.061, + "expected": "Graph[{{{1,2}},{{1,3}},{{1,4}},{{2,3}},{{2,4}},{{3,4}}},{{{0,100000}},{{-100000,0}},{{0,-100000}},{{100000,0}}}]" + }, + { + "i": 378, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TriangleInequalityQ[g]]", + "mode": "check", + "secs": 0.281, + "expected": "True" + }, + { + "i": 379, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = SetGraphOptions[g, EdgeDirection -> On]]", + "mode": "run", + "secs": 0.061, + "reason": "differs from WMA" + }, + { + "i": 380, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TriangleInequalityQ[g]]", + "mode": "check", + "secs": 0.192, + "expected": "True" + }, + { + "i": 381, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"TravelingSalesmanBounds\", LongForm -> False]]", + "mode": "skip", + "secs": 0.034, + "reason": "usage text" + }, + { + "i": 382, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TravelingSalesmanBounds[Wheel[5]]]", + "mode": "check", + "secs": 0.343, + "expected": "{5,5}" + }, + { + "i": 383, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"TransitiveClosure\", LongForm -> False]]", + "mode": "skip", + "secs": 0.036, + "reason": "usage text" + }, + { + "i": 384, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = SetGraphOptions[GridGraph[4, 4], EdgeDirection -> On], VertexNumber -> On]]", + "mode": "run", + "secs": 2.096, + "reason": "differs from WMA" + }, + { + "i": 385, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Edges[g]]", + "mode": "run", + "secs": 2.096, + "reason": "differs from WMA" + }, + { + "i": 386, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[gg = TransitiveClosure[g], Append[Edges[g], EdgeColor -> Red], VertexNumber -> On]]", + "mode": "skip", + "secs": 7.274, + "reason": "Mathics3 takes 7 s" + }, + { + "i": 387, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Edges[gg]]", + "mode": "skip", + "secs": 0.025, + "reason": "uses gg, which skipped cell 386 assigns" + }, + { + "i": 388, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[10, 10]; Timing[DiscreteMath`OldCombinatorica`TransitiveClosure[g]; ]]", + "mode": "run", + "secs": 2.096, + "reason": "timing" + }, + { + "i": 389, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[10, 10]; ]", + "mode": "check", + "secs": 0.729, + "expected": "Null" + }, + { + "i": 390, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[TransitiveClosure[g]; ]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 391, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"TransitiveQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.036, + "reason": "usage text" + }, + { + "i": 392, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = SetGraphOptions[RandomGraph[10, 0.3], EdgeDirection -> On], VertexNumber -> On]]", + "mode": "run", + "secs": 1.354, + "reason": "differs from WMA" + }, + { + "i": 393, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TransitiveQ[g]]", + "mode": "check", + "secs": 1.354, + "expected": "False", + "xfail": "Compile-style argument patterns: Mathics3-Package-Combinatorica PR #7" + }, + { + "i": 394, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TransitiveQ[TransitiveClosure[g]]]", + "mode": "check", + "secs": 1.414, + "expected": "True", + "xfail": "Compile-style argument patterns: Mathics3-Package-Combinatorica PR #7" + }, + { + "i": 395, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TransitiveQ[SetGraphOptions[CompleteGraph[10], EdgeDirection -> On]]]", + "mode": "run", + "secs": 1.124, + "reason": "differs from WMA" + }, + { + "i": 396, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TransitiveQ[g = SetGraphOptions[CompleteGraph[3, 3, 3], EdgeDirection -> On]]]", + "mode": "run", + "secs": 0.892, + "reason": "differs from WMA" + }, + { + "i": 397, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g]]", + "mode": "check", + "secs": 1.743, + "expected": "" + }, + { + "i": 398, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"ReflexiveQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.037, + "reason": "usage text" + }, + { + "i": 399, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ReflexiveQ[g = CompleteGraph[10]]]", + "mode": "check", + "secs": 0.252, + "expected": "False" + }, + { + "i": 400, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = AddEdges[g, Table[{{i, i}}, {i, 10}]]; ]", + "mode": "check", + "secs": 0.252, + "expected": "Null" + }, + { + "i": 401, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ReflexiveQ[g]]", + "mode": "check", + "secs": 0.252, + "expected": "True" + }, + { + "i": 402, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = DeleteEdges[g, {{1, 1}}]; ]", + "mode": "check", + "secs": 0.358, + "expected": "Null" + }, + { + "i": 403, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ReflexiveQ[g]]", + "mode": "check", + "secs": 0.358, + "expected": "False" + }, + { + "i": 404, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"AntiSymmetricQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.037, + "reason": "usage text" + }, + { + "i": 405, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = SetGraphOptions[Wheel[20], EdgeDirection -> On]]]", + "mode": "run", + "secs": 2.721, + "reason": "differs from WMA" + }, + { + "i": 406, + "section": "5. Properties of Graphs", + "in": "HoldComplete[AntiSymmetricQ[g]]", + "mode": "run", + "secs": 2.721, + "reason": "differs from WMA" + }, + { + "i": 407, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = AddEdges[g, {{{2, 1}}}]]]", + "mode": "check", + "secs": 2.721, + "expected": "" + }, + { + "i": 408, + "section": "5. Properties of Graphs", + "in": "HoldComplete[AntiSymmetricQ[g]]", + "mode": "check", + "secs": 2.721, + "expected": "False" + }, + { + "i": 409, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"PartialOrderQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.038, + "reason": "usage text" + }, + { + "i": 410, + "section": "5. Properties of Graphs", + "in": "HoldComplete[PartialOrderQ[g = GridGraph[3, 3]]]", + "mode": "check", + "secs": 0.19, + "expected": "False" + }, + { + "i": 411, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = TransitiveClosure[g]; ]", + "mode": "check", + "secs": 1.481, + "expected": "Null" + }, + { + "i": 412, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Edges[g]]", + "mode": "check", + "secs": 1.481, + "expected": "{{1,1},{1,2},{1,3},{1,4},{1,5},{1,6},{1,7},{1,8},{1,9},{2,2},{2,3},{2,4},{2,5},{2,6},{2,7},{2,8},{2,9},{3,3},{3,4},{3,5},{3,6},{3,7},{3,8},{3,9},{4,4},{4,5},{4,6},{4,7},{4,8},{4,9},{5,5},{5,6},{5,7},{5,8},{5,9},{6,6},{6,7},{6,8},{6,9},{7,7},{7,8},{7,9},{8,8},{8,9},{9,9}}", + "xfail": "Compile-style argument patterns: Mathics3-Package-Combinatorica PR #7" + }, + { + "i": 413, + "section": "5. Properties of Graphs", + "in": "HoldComplete[PartialOrderQ[g]]", + "mode": "check", + "secs": 1.481, + "expected": "False", + "xfail": "Compile-style argument patterns: Mathics3-Package-Combinatorica PR #7" + }, + { + "i": 414, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"TransitiveReduction\", LongForm -> False]]", + "mode": "skip", + "secs": 0.042, + "reason": "usage text" + }, + { + "i": 415, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[TransitiveReduction[g = SetGraphOptions[GridGraph[4, 4], EdgeDirection -> On]]]]", + "mode": "skip", + "secs": 15.298, + "reason": "Mathics3 takes 15 s" + }, + { + "i": 416, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = TransitiveClosure[g]]]", + "mode": "skip", + "secs": 7.331, + "reason": "Mathics3 takes 7 s" + }, + { + "i": 417, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[TransitiveReduction[g]]]", + "mode": "skip", + "secs": 17.805, + "reason": "Mathics3 takes 18 s" + }, + { + "i": 418, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[s = MakeGraph[Subsets[4], Intersection[#2, #1] === #1 && #1 != #2 & ]]]", + "mode": "check", + "secs": 4.661, + "expected": "" + }, + { + "i": 419, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = HasseDiagram[s], VertexNumber -> On]]", + "mode": "skip", + "secs": 20.435, + "reason": "Mathics3 takes 20 s" + }, + { + "i": 420, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"TopologicalSort\", LongForm -> False]]", + "mode": "skip", + "secs": 0.043, + "reason": "usage text" + }, + { + "i": 421, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = SetGraphOptions[GridGraph[5, 5], EdgeDirection -> On], VertexNumber -> On]]", + "mode": "run", + "secs": 3.547, + "reason": "differs from WMA" + }, + { + "i": 422, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[HasseDiagram[g], VertexNumber -> On]]", + "mode": "skip", + "secs": 90.605, + "reason": "Mathics3 takes 91 s" + }, + { + "i": 423, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TopologicalSort[g]]", + "mode": "run", + "secs": 3.547, + "reason": "differs from WMA" + }, + { + "i": 424, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = AddEdges[DeleteEdges[g, {{9, 10}}], {{{10, 9}}}]]]", + "mode": "run", + "secs": 3.547, + "reason": "differs from WMA" + }, + { + "i": 425, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TopologicalSort[g]]", + "mode": "run", + "secs": 3.547, + "reason": "differs from WMA" + }, + { + "i": 426, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g = MakeGraph[Range[12], Mod[#2, #1] == 0 & ], VertexNumber -> On]]", + "mode": "check", + "secs": 2.536, + "expected": "" + }, + { + "i": 427, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[HasseDiagram[g], VertexNumber -> On]]", + "mode": "skip", + "secs": 7.392, + "reason": "Mathics3 takes 7 s" + }, + { + "i": 428, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TopologicalSort[g]]", + "mode": "check", + "secs": 2.536, + "expected": "{1,2,3,5,7,11,4,6,9,10,8,12}" + }, + { + "i": 429, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"ChromaticPolynomial\", LongForm -> False]]", + "mode": "skip", + "secs": 0.043, + "reason": "usage text" + }, + { + "i": 430, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = CompleteGraph[5]; ]", + "mode": "check", + "secs": 0.037, + "expected": "Null" + }, + { + "i": 431, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ChromaticPolynomial[g, z]]", + "mode": "run", + "secs": 0.146, + "reason": "differs from WMA" + }, + { + "i": 432, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GraphUnion[10, CompleteGraph[1]]; ]", + "mode": "check", + "secs": 0.544, + "expected": "Null" + }, + { + "i": 433, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ChromaticPolynomial[g, z]]", + "mode": "check", + "secs": 0.544, + "expected": "Power[z,10]" + }, + { + "i": 434, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ChromaticPolynomial[RandomTree[10], z]]", + "mode": "run", + "secs": 0.432, + "reason": "random" + }, + { + "i": 435, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = DeleteEdges[CompleteGraph[5], {{1, 2}}]; ]", + "mode": "check", + "secs": 0.09, + "expected": "Null" + }, + { + "i": 436, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ChromaticPolynomial[g, z]]", + "mode": "run", + "secs": 0.669, + "reason": "differs from WMA" + }, + { + "i": 437, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ChromaticPolynomial[Cycle[5], z]]", + "mode": "check", + "secs": 2.715, + "expected": "Plus[Times[4,z],Times[-10,Power[z,2]],Times[10,Power[z,3]],Times[-5,Power[z,4]],Power[z,5]]" + }, + { + "i": 438, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[{Timing[DiscreteMath`OldCombinatorica`ChromaticPolynomial[DiscreteMath`OldCombinatorica`Cycle[i], z]; ], Timing[ChromaticPolynomial[Cycle[i], z]; ]}, {i, 5, 10}]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 439, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Expand[wheelpoly[z_] = ChromaticPolynomial[Wheel[5], z]]]", + "mode": "check", + "secs": 1.323, + "expected": "Plus[Times[14,z],Times[-31,Power[z,2]],Times[24,Power[z,3]],Times[-8,Power[z,4]],Power[z,5]]" + }, + { + "i": 440, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[wheelpoly[z], {z, 1, 7}]]", + "mode": "check", + "secs": 1.323, + "expected": "{0,0,6,72,420,1560,4410}" + }, + { + "i": 441, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"ChromaticNumber\", LongForm -> False]]", + "mode": "skip", + "secs": 0.044, + "reason": "usage text" + }, + { + "i": 442, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ChromaticNumber[Cycle[7]]]", + "mode": "check", + "secs": 0.863, + "expected": "3" + }, + { + "i": 443, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ChromaticNumber[CompleteGraph[4, 5]]]", + "mode": "check", + "secs": 0.759, + "expected": "2" + }, + { + "i": 444, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = GridGraph[5, 5]; ]", + "mode": "check", + "secs": 0.254, + "expected": "Null" + }, + { + "i": 445, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[ChromaticNumber[g]; ]]", + "mode": "run", + "secs": 1.33, + "reason": "random" + }, + { + "i": 446, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"TwoColoring\", LongForm -> False]]", + "mode": "skip", + "secs": 0.04, + "reason": "usage text" + }, + { + "i": 447, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TwoColoring[t = RandomTree[20]]]", + "mode": "run", + "secs": 1.139, + "reason": "random" + }, + { + "i": 448, + "section": "5. Properties of Graphs", + "in": "HoldComplete[$RecursionLimit = 100000; ]", + "mode": "run", + "secs": 0.006, + "reason": "messages WMA does not give: $RecursionLimit::limset" + }, + { + "i": 449, + "section": "5. Properties of Graphs", + "in": "HoldComplete[TwoColoring[CompleteGraph[3, 3, 3]]]", + "mode": "check", + "secs": 0.606, + "expected": "{1,1,1,2,2,2,2,2,2}" + }, + { + "i": 450, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; ]", + "mode": "check", + "secs": 0.011, + "expected": "Null" + }, + { + "i": 451, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = Table[GridGraph[i, i], {i, 10, 30, 10}]; ]", + "mode": "skip", + "secs": 9.343, + "reason": "Mathics3 takes 9 s" + }, + { + "i": 452, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[{Timing[DiscreteMath`OldCombinatorica`TwoColoring[g[[i]]]; ], Timing[TwoColoring[h[[i]]]; ]}, {i, 3}]]", + "mode": "skip", + "secs": 7.38, + "reason": "Mathics3: aborted" + }, + { + "i": 453, + "section": "5. Properties of Graphs", + "in": "HoldComplete[MyTC[g_Graph] := (If[EvenQ[#1], 1, 2] & ) /@ BreadthFirstTraversal[g, 1, Level]]", + "mode": "check", + "secs": 0.011, + "expected": "Null" + }, + { + "i": 454, + "section": "5. Properties of Graphs", + "in": "HoldComplete[MyTC[t]]", + "mode": "run", + "secs": 1.139, + "reason": "random" + }, + { + "i": 455, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[MyTC[h[[i]]]; ], {i, 3}]]", + "mode": "skip", + "secs": 34.307, + "reason": "Mathics3 takes 34 s" + }, + { + "i": 456, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"BipartiteQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.045, + "reason": "usage text" + }, + { + "i": 457, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BipartiteQ[Wheel[10]]]", + "mode": "check", + "secs": 0.482, + "expected": "False" + }, + { + "i": 458, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BipartiteQ[Star[10]]]", + "mode": "check", + "secs": 0.348, + "expected": "True" + }, + { + "i": 459, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BipartiteQ[GridGraph[5, 5]]]", + "mode": "check", + "secs": 1.192, + "expected": "True" + }, + { + "i": 460, + "section": "5. Properties of Graphs", + "in": "HoldComplete[BipartiteQ[Cycle[5]]]", + "mode": "check", + "secs": 0.256, + "expected": "False" + }, + { + "i": 461, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"VertexColoring\", LongForm -> False]]", + "mode": "skip", + "secs": 0.042, + "reason": "usage text" + }, + { + "i": 462, + "section": "5. Properties of Graphs", + "in": "HoldComplete[VertexColoring[CompleteGraph[4]]]", + "mode": "check", + "secs": 0.122, + "expected": "{1,2,3,4}" + }, + { + "i": 463, + "section": "5. Properties of Graphs", + "in": "HoldComplete[VertexColoring[GridGraph[10, 10]]]", + "mode": "skip", + "secs": 7.836, + "reason": "Mathics3 takes 8 s" + }, + { + "i": 464, + "section": "5. Properties of Graphs", + "in": "HoldComplete[c = VertexColoring[g = Wheel[30]]]", + "mode": "check", + "secs": 1.164, + "expected": "{1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,4,3}" + }, + { + "i": 465, + "section": "5. Properties of Graphs", + "in": "HoldComplete[p = Table[Flatten[Position[c, i], 1], {i, Max[c]}]]", + "mode": "check", + "secs": 1.164, + "expected": "{{1,3,5,7,9,11,13,15,17,19,21,23,25,27},{2,4,6,8,10,12,14,16,18,20,22,24,26,28},{30},{29}}" + }, + { + "i": 466, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[Highlight[g, p]]]", + "mode": "skip", + "secs": 5.549, + "reason": "Mathics3 takes 6 s" + }, + { + "i": 467, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 5, 30, 10}]; ]", + "mode": "check", + "secs": 0.01, + "expected": "Null" + }, + { + "i": 468, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = Table[GridGraph[i, i], {i, 5, 30, 10}]; ]", + "mode": "skip", + "secs": 5.905, + "reason": "Mathics3 takes 6 s" + }, + { + "i": 469, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[{Timing[DiscreteMath`OldCombinatorica`VertexColoring[g[[i]]]; ], Timing[VertexColoring[h[[i]]]; ]}, {i, 3}]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 470, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = ExactRandomGraph[30, 100]; ]", + "mode": "check", + "secs": 2.563, + "expected": "Null" + }, + { + "i": 471, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[g]]", + "mode": "skip", + "secs": 6.717, + "reason": "Mathics3 takes 7 s" + }, + { + "i": 472, + "section": "5. Properties of Graphs", + "in": "HoldComplete[c = VertexColoring[g]]", + "mode": "run", + "secs": 2.563, + "reason": "random" + }, + { + "i": 473, + "section": "5. Properties of Graphs", + "in": "HoldComplete[p = Table[Flatten[Position[c, i], 1], {i, Max[c]}]]", + "mode": "run", + "secs": 2.563, + "reason": "random" + }, + { + "i": 474, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[Highlight[g, p]]]", + "mode": "skip", + "secs": 8.513, + "reason": "Mathics3 takes 9 s" + }, + { + "i": 475, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"EdgeColoring\", LongForm -> False]]", + "mode": "skip", + "secs": 0.042, + "reason": "usage text" + }, + { + "i": 476, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EdgeColoring[Wheel[10]]]", + "mode": "check", + "secs": 0.986, + "expected": "{3,2,4,5,6,7,8,9,1,1,3,1,2,1,2,1,3,2}" + }, + { + "i": 477, + "section": "5. Properties of Graphs", + "in": "HoldComplete[c = EdgeColoring[GridGraph[5, 5]]]", + "mode": "check", + "secs": 2.398, + "expected": "{1,2,3,2,1,2,3,2,1,2,1,2,1,2,1,2,1,2,1,2,2,3,1,1,1,3,4,4,4,3,2,3,3,3,1,3,4,4,4,3}" + }, + { + "i": 478, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = LineGraph[GridGraph[5, 5]]; ]", + "mode": "check", + "secs": 0.868, + "expected": "Null" + }, + { + "i": 479, + "section": "5. Properties of Graphs", + "in": "HoldComplete[p = Table[Flatten[Position[c, i], 1], {i, 4}]]", + "mode": "check", + "secs": 2.398, + "expected": "{{1,5,9,11,13,15,17,19,23,24,25,35},{2,4,6,8,10,12,14,16,18,20,21,31},{3,7,22,26,30,32,33,34,36,40},{27,28,29,37,38,39}}" + }, + { + "i": 480, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[Highlight[g, p], VertexNumber -> On]]", + "mode": "skip", + "secs": 9.003, + "reason": "Mathics3 takes 9 s" + }, + { + "i": 481, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ep = (Edges[g = GridGraph[5, 5]][[#1]] & ) /@ p]", + "mode": "check", + "secs": 2.398, + "expected": "{{{1,2},{6,7},{11,12},{13,14},{16,17},{18,19},{21,22},{23,24},{3,8},{4,9},{5,10},{15,20}},{{2,3},{4,5},{7,8},{9,10},{12,13},{14,15},{17,18},{19,20},{22,23},{24,25},{1,6},{11,16}},{{3,4},{8,9},{2,7},{6,11},{10,15},{12,17},{13,18},{14,19},{16,21},{20,25}},{{7,12},{8,13},{9,14},{17,22},{18,23},{19,24}}}" + }, + { + "i": 482, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[Highlight[g, ep]]]", + "mode": "skip", + "secs": 5.054, + "reason": "Mathics3 takes 5 s" + }, + { + "i": 483, + "section": "5. Properties of Graphs", + "in": "HoldComplete[g = Table[GridGraph[i, i], {i, 10, 30, 10}]; ]", + "mode": "skip", + "secs": 9.664, + "reason": "Mathics3 takes 10 s" + }, + { + "i": 484, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[EdgeColoring[g[[i]]]; ], {i, 2}]]", + "mode": "skip", + "secs": 120.05, + "reason": "Mathics3: timeout" + }, + { + "i": 485, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[LineGraph[g[[i]]]; ], {i, 2}]]", + "mode": "skip", + "secs": 19.894, + "reason": "Mathics3 takes 20 s" + }, + { + "i": 486, + "section": "5. Properties of Graphs", + "in": "HoldComplete[h = Table[DiscreteMath`OldCombinatorica`GridGraph[i, i], {i, 10, 30, 10}]; ]", + "mode": "check", + "secs": 0.008, + "expected": "Null" + }, + { + "i": 487, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`EdgeColoring[h[[i]]]; ], {i, 2}]]", + "mode": "run", + "secs": 0.013, + "reason": "timing" + }, + { + "i": 488, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Table[Timing[DiscreteMath`OldCombinatorica`LineGraph[h[[i]]]; ], {i, 2}]]", + "mode": "run", + "secs": 0.014, + "reason": "timing" + }, + { + "i": 489, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"EdgeChromaticNumber\", LongForm -> False]]", + "mode": "skip", + "secs": 0.042, + "reason": "usage text" + }, + { + "i": 490, + "section": "5. Properties of Graphs", + "in": "HoldComplete[EdgeChromaticNumber[Star[10]]]", + "mode": "run", + "secs": 0.432, + "reason": "differs from WMA" + }, + { + "i": 491, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t = LineGraph[Wheel[10]]]]", + "mode": "check", + "secs": 4.334, + "expected": "" + }, + { + "i": 492, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ChromaticPolynomial[t, z]]", + "mode": "skip", + "secs": 120.006, + "reason": "Mathics3: timeout" + }, + { + "i": 493, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"MaximumClique\", LongForm -> False]]", + "mode": "skip", + "secs": 0.068, + "reason": "usage text" + }, + { + "i": 494, + "section": "5. Properties of Graphs", + "in": "HoldComplete[MaximumClique[t]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 495, + "section": "5. Properties of Graphs", + "in": "HoldComplete[MaximumClique[Turan[6, 4]]]", + "mode": "check", + "secs": 2.576, + "expected": "{1,3,5}" + }, + { + "i": 496, + "section": "5. Properties of Graphs", + "in": "HoldComplete[MaximumClique[CompleteGraph[10]]]", + "mode": "check", + "secs": 0.442, + "expected": "{1,2,3,4,5,6,7,8,9,10}" + }, + { + "i": 497, + "section": "5. Properties of Graphs", + "in": "HoldComplete[MaximumClique[t = RandomGraph[10, 0.5]]]", + "mode": "skip", + "secs": 10.085, + "reason": "Mathics3 takes 10 s" + }, + { + "i": 498, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[t, VertexNumber -> On]]", + "mode": "skip", + "secs": 1.318, + "reason": "uses t, which skipped cell 497 assigns" + }, + { + "i": 499, + "section": "5. Properties of Graphs", + "in": "HoldComplete[t = RandomGraph[20, 0.5]; ]", + "mode": "check", + "secs": 1.101, + "expected": "Null" + }, + { + "i": 500, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Timing[MaximumClique[t]; ]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 501, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"CliqueQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.069, + "reason": "usage text" + }, + { + "i": 502, + "section": "5. Properties of Graphs", + "in": "HoldComplete[CliqueQ[CompleteGraph[12], Range[12]]]", + "mode": "check", + "secs": 0.944, + "expected": "True" + }, + { + "i": 503, + "section": "5. Properties of Graphs", + "in": "HoldComplete[CliqueQ[CompleteGraph[12], Range[5]]]", + "mode": "check", + "secs": 0.585, + "expected": "True" + }, + { + "i": 504, + "section": "5. Properties of Graphs", + "in": "HoldComplete[CliqueQ[RandomGraph[10, 0.5], Range[5]]]", + "mode": "check", + "secs": 0.467, + "expected": "False" + }, + { + "i": 505, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"MinimumVertexCover\", LongForm -> False]]", + "mode": "skip", + "secs": 0.064, + "reason": "usage text" + }, + { + "i": 506, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"Highlight\", LongForm -> False]]", + "mode": "skip", + "secs": 0.062, + "reason": "usage text" + }, + { + "i": 507, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[Highlight[g = RandomGraph[10, 0.6], MinimumVertexCover[g], HighlightedVertexColors -> {Blue}]]]", + "mode": "skip", + "secs": 11.262, + "reason": "Mathics3 takes 11 s" + }, + { + "i": 508, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[Highlight[g = RandomGraph[14, 0.3], MinimumVertexCover[g], HighlightedVertexColors -> {Blue}]]]", + "mode": "skip", + "secs": 74.245, + "reason": "Mathics3 takes 74 s" + }, + { + "i": 509, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"VertexCoverQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.071, + "reason": "usage text" + }, + { + "i": 510, + "section": "5. Properties of Graphs", + "in": "HoldComplete[MinimumVertexCover[GridGraph[4, 4]]]", + "mode": "skip", + "secs": 49.095, + "reason": "Mathics3: aborted" + }, + { + "i": 511, + "section": "5. Properties of Graphs", + "in": "HoldComplete[c = {2, 4, 5, 7, 10, 12, 13, 15}]", + "mode": "check", + "secs": 0.006, + "expected": "{2,4,5,7,10,12,13,15}" + }, + { + "i": 512, + "section": "5. Properties of Graphs", + "in": "HoldComplete[VertexCoverQ[GridGraph[4, 4], c]]", + "mode": "check", + "secs": 2.761, + "expected": "True" + }, + { + "i": 513, + "section": "5. Properties of Graphs", + "in": "HoldComplete[VertexCoverQ[GridGraph[4, 4], Complement[c, {2}]]]", + "mode": "check", + "secs": 2.598, + "expected": "False" + }, + { + "i": 514, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"MaximumIndependentSet\", LongForm -> False]]", + "mode": "skip", + "secs": 0.068, + "reason": "usage text" + }, + { + "i": 515, + "section": "5. Properties of Graphs", + "in": "HoldComplete[ShowGraph[Highlight[g = RandomGraph[10, 0.4], MaximumIndependentSet[g], HighlightedVertexColors -> {Purple}]]]", + "mode": "skip", + "secs": 11.545, + "reason": "Mathics3 takes 12 s" + }, + { + "i": 516, + "section": "5. Properties of Graphs", + "in": "HoldComplete[Information[\"IndependentSetQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.068, + "reason": "usage text" + }, + { + "i": 517, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IndependentSetQ[CompleteGraph[3, 3], {1, 2, 3}]]", + "mode": "check", + "secs": 0.326, + "expected": "True" + }, + { + "i": 518, + "section": "5. Properties of Graphs", + "in": "HoldComplete[IndependentSetQ[CompleteGraph[3, 3], {3, 4}]]", + "mode": "check", + "secs": 0.301, + "expected": "False" + } +] diff --git a/test/data/book/newFeatures.json b/test/data/book/newFeatures.json new file mode 100644 index 0000000..cc27f65 --- /dev/null +++ b/test/data/book/newFeatures.json @@ -0,0 +1,1114 @@ +[ + { + "i": 1, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g = CompleteGraph[4]]", + "mode": "check", + "secs": 0.036, + "expected": "Graph[{{{1,2}},{{1,3}},{{1,4}},{{2,3}},{{2,4}},{{3,4}}},{{{0,100000}},{{-100000,0}},{{0,-100000}},{{100000,0}}}]" + }, + { + "i": 2, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g[[1]]]", + "mode": "check", + "secs": 0.036, + "expected": "{{{1,2}},{{1,3}},{{1,4}},{{2,3}},{{2,4}},{{3,4}}}" + }, + { + "i": 3, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g[[2]]]", + "mode": "check", + "secs": 0.036, + "expected": "{{{0,100000}},{{-100000,0}},{{0,-100000}},{{100000,0}}}" + }, + { + "i": 4, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g[[0]]]", + "mode": "check", + "secs": 0.036, + "expected": "Graph" + }, + { + "i": 5, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g = SetGraphOptions[g, VertexColor -> Red, EdgeColor -> Blue]]", + "mode": "check", + "secs": 0.038, + "expected": "Graph[{{{1,2}},{{1,3}},{{1,4}},{{2,3}},{{2,4}},{{3,4}}},{{{0,100000}},{{-100000,0}},{{0,-100000}},{{100000,0}}},Rule[VertexColor,RGBColor[1,0,0]],Rule[EdgeColor,RGBColor[0,0,1]]]" + }, + { + "i": 6, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[ShowGraph[g]]", + "mode": "check", + "secs": 0.525, + "expected": "" + }, + { + "i": 7, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g = SetGraphOptions[g, {{{1, 2}, VertexStyle -> Disc[Large], VertexColor -> Green}}]]", + "mode": "check", + "secs": 0.083, + "expected": "Graph[{{{1,2},Rule[VertexStyle,Disc[Large]],Rule[VertexColor,RGBColor[0,1,0]]},{{1,3}},{{1,4}},{{2,3}},{{2,4}},{{3,4}}},{{{0,100000}},{{-100000,0}},{{0,-100000}},{{100000,0}}},Rule[VertexColor,RGBColor[1,0,0]],Rule[EdgeColor,RGBColor[0,0,1]]]" + }, + { + "i": 8, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[ShowGraph[g, PlotRange -> Large[0.05]]]", + "mode": "check", + "secs": 0.535, + "expected": "" + }, + { + "i": 9, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[Length[g]]", + "mode": "check", + "secs": 0.083, + "expected": "4" + }, + { + "i": 10, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g[[1]]]", + "mode": "check", + "secs": 0.083, + "expected": "{{{1,2},Rule[VertexStyle,Disc[Large]],Rule[VertexColor,RGBColor[0,1,0]]},{{1,3}},{{1,4}},{{2,3}},{{2,4}},{{3,4}}}" + }, + { + "i": 11, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g[[2]]]", + "mode": "check", + "secs": 0.083, + "expected": "{{{0,100000}},{{-100000,0}},{{0,-100000}},{{100000,0}}}" + }, + { + "i": 12, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g[[3]]]", + "mode": "check", + "secs": 0.083, + "expected": "Rule[VertexColor,RGBColor[1,0,0]]" + }, + { + "i": 13, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g[[4]]]", + "mode": "check", + "secs": 0.083, + "expected": "Rule[EdgeColor,RGBColor[0,0,1]]" + }, + { + "i": 14, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[20, 20]; ]", + "mode": "check", + "secs": 0.004, + "expected": "Null" + }, + { + "i": 15, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[ByteCount[g]]", + "mode": "run", + "secs": 0.004, + "reason": "timing" + }, + { + "i": 16, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g = GridGraph[20, 20]; ByteCount[g]]", + "mode": "run", + "secs": 3.429, + "reason": "timing" + }, + { + "i": 17, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[h = SetGraphOptions[g, VertexColor -> Red, EdgeColor -> Blue]; ShowGraph[h, Background -> Yellow]]", + "mode": "skip", + "secs": 120.009, + "reason": "Mathics3: timeout" + }, + { + "i": 18, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[ByteCount[h]]", + "mode": "skip", + "secs": 0.123, + "reason": "uses h, which skipped cell 17 assigns" + }, + { + "i": 19, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`RandomGraph[100, 0.5]; ByteCount[g]]", + "mode": "run", + "secs": 3.429, + "reason": "timing" + }, + { + "i": 20, + "section": "Old Combinatorica vs New Combinatorica / Better Graph Data Structure", + "in": "HoldComplete[g = RandomGraph[100, 0.5]; ByteCount[g]]", + "mode": "skip", + "secs": 101.073, + "reason": "Mathics3 takes 101 s" + }, + { + "i": 21, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[Information[\"DihedralGroup\", LongForm -> False]]", + "mode": "skip", + "secs": 0.009, + "reason": "usage text" + }, + { + "i": 22, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[DihedralGroup[4]]", + "mode": "check", + "secs": 0.014, + "expected": "{{1,2,3,4},{4,1,2,3},{3,4,1,2},{2,3,4,1},{4,3,2,1},{3,2,1,4},{2,1,4,3},{1,4,3,2}}" + }, + { + "i": 23, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[Information[\"SymmetricGroupIndex\", LongForm -> False]]", + "mode": "skip", + "secs": 0.007, + "reason": "usage text" + }, + { + "i": 24, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[SymmetricGroupIndex[6, x]]", + "mode": "check", + "secs": 0.097, + "expected": "Plus[Times[Rational[1,720],Power[x[1],6]],Times[Rational[1,48],Power[x[1],4],x[2]],Times[Rational[1,16],Power[x[1],2],Power[x[2],2]],Times[Rational[1,48],Power[x[2],3]],Times[Rational[1,18],Power[x[1],3],x[3]],Times[Rational[1,6],x[1],x[2],x[3]],Times[Rational[1,18],Power[x[3],2]],Times[Rational[1,8],Power[x[1],2],x[4]],Times[Rational[1,8],x[2],x[4]],Times[Rational[1,5],x[1],x[5]],Times[Rational[1,6],x[6]]]" + }, + { + "i": 25, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[Information[\"DihedralGroupIndex\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 26, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[DihedralGroupIndex[10, y]]", + "mode": "check", + "secs": 0.346, + "expected": "Plus[Times[Rational[1,20],Power[y[1],10]],Times[Rational[1,4],Power[y[1],2],Power[y[2],4]],Times[Rational[3,10],Power[y[2],5]],Times[Rational[1,5],Power[y[5],2]],Times[Rational[1,5],y[10]]]" + }, + { + "i": 27, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[Information[\"GraphPolynomial\", LongForm -> False]]", + "mode": "skip", + "secs": 0.009, + "reason": "usage text" + }, + { + "i": 28, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[GraphPolynomial[6, x]]", + "mode": "check", + "secs": 0.459, + "expected": "Plus[1,x,Times[2,Power[x,2]],Times[5,Power[x,3]],Times[9,Power[x,4]],Times[15,Power[x,5]],Times[21,Power[x,6]],Times[24,Power[x,7]],Times[24,Power[x,8]],Times[21,Power[x,9]],Times[15,Power[x,10]],Times[9,Power[x,11]],Times[5,Power[x,12]],Times[2,Power[x,13]],Power[x,14],Power[x,15]]" + }, + { + "i": 29, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[Information[\"NumberOfGraphs\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 30, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[TableForm[Table[NumberOfGraphs[i], {i, 1, 15}]]]", + "mode": "skip", + "secs": 49.935, + "reason": "Mathics3 takes 50 s" + }, + { + "i": 31, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[ShowGraphArray[ListGraphs[6, 3], Background -> LightBlue]]", + "mode": "skip", + "secs": 120.009, + "reason": "Mathics3: timeout" + }, + { + "i": 32, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[Information[\"ListNecklaces\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 33, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[ListNecklaces[5, {r, r, b, b, y}, Dihedral]]", + "mode": "check", + "secs": 0.271, + "expected": "{{r,r,b,b,y},{b,b,r,y,r},{b,r,b,r,y},{b,r,r,b,y}}" + }, + { + "i": 34, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[ListNecklaces[5, {r, r, b, b, y}, Cyclic]]", + "mode": "check", + "secs": 0.233, + "expected": "{{r,r,b,b,y},{b,b,r,r,y},{b,b,r,y,r},{b,r,b,r,y},{b,r,b,y,r},{b,r,r,b,y}}" + }, + { + "i": 35, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[Information[\"NumberOfNecklaces\", LongForm -> False]]", + "mode": "skip", + "secs": 0.009, + "reason": "usage text" + }, + { + "i": 36, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[TableForm[Table[NumberOfNecklaces[i, 2, Dihedral], {i, 10, 20}]]]", + "mode": "check", + "secs": 2.942, + "expected": "TableForm[{78,126,224,380,687,1224,2250,4112,7685,14310,27012}]" + }, + { + "i": 37, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[Information[\"NecklacePolynomial\", LongForm -> False]]", + "mode": "skip", + "secs": 0.01, + "reason": "usage text" + }, + { + "i": 38, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Polya Theory", + "in": "HoldComplete[NecklacePolynomial[10, {R, B, G}, Cyclic]]", + "mode": "check", + "secs": 0.199, + "expected": "Plus[Power[B,10],Times[Power[B,9],G],Times[5,Power[B,8],Power[G,2]],Times[12,Power[B,7],Power[G,3]],Times[22,Power[B,6],Power[G,4]],Times[26,Power[B,5],Power[G,5]],Times[22,Power[B,4],Power[G,6]],Times[12,Power[B,3],Power[G,7]],Times[5,Power[B,2],Power[G,8]],Times[B,Power[G,9]],Power[G,10],Times[Power[B,9],R],Times[9,Power[B,8],G,R],Times[36,Power[B,7],Power[G,2],R],Times[84,Power[B,6],Power[G,3],R],Times[126,Power[B,5],Power[G,4],R],Times[126,Power[B,4],Power[G,5],R],Times[84,Power[B,3],Power[G,6],R],Times[36,Power[B,2],Power[G,7],R],Times[9,B,Power[G,8],R],Times[Power[G,9],R],Times[5,Power[B,8],Power[R,2]],Times[36,Power[B,7],G,Power[R,2]],Times[128,Power[B,6],Power[G,2],Power[R,2]],Times[252,Power[B,5],Power[G,3],Power[R,2]],Times[318,Power[B,4],Power[G,4],Power[R,2]],Times[252,Power[B,3],Power[G,5],Power[R,2]],Times[128,Power[B,2],Power[G,6],Power[R,2]],Times[36,B,Power[G,7],Power[R,2]],Times[5,Power[G,8],Power[R,2]],Times[12,Power[B,7],Power[R,3]],Times[84,Power[B,6],G,Power[R,3]],Times[252,Power[B,5],Power[G,2],Power[R,3]],Times[420,Power[B,4],Power[G,3],Power[R,3]],Times[420,Power[B,3],Power[G,4],Power[R,3]],Times[252,Power[B,2],Power[G,5],Power[R,3]],Times[84,B,Power[G,6],Power[R,3]],Times[12,Power[G,7],Power[R,3]],Times[22,Power[B,6],Power[R,4]],Times[126,Power[B,5],G,Power[R,4]],Times[318,Power[B,4],Power[G,2],Power[R,4]],Times[420,Power[B,3],Power[G,3],Power[R,4]],Times[318,Power[B,2],Power[G,4],Power[R,4]],Times[126,B,Power[G,5],Power[R,4]],Times[22,Power[G,6],Power[R,4]],Times[26,Power[B,5],Power[R,5]],Times[126,Power[B,4],G,Power[R,5]],Times[252,Power[B,3],Power[G,2],Power[R,5]],Times[252,Power[B,2],Power[G,3],Power[R,5]],Times[126,B,Power[G,4],Power[R,5]],Times[26,Power[G,5],Power[R,5]],Times[22,Power[B,4],Power[R,6]],Times[84,Power[B,3],G,Power[R,6]],Times[128,Power[B,2],Power[G,2],Power[R,6]],Times[84,B,Power[G,3],Power[R,6]],Times[22,Power[G,4],Power[R,6]],Times[12,Power[B,3],Power[R,7]],Times[36,Power[B,2],G,Power[R,7]],Times[36,B,Power[G,2],Power[R,7]],Times[12,Power[G,3],Power[R,7]],Times[5,Power[B,2],Power[R,8]],Times[9,B,G,Power[R,8]],Times[5,Power[G,2],Power[R,8]],Times[B,Power[R,9]],Times[G,Power[R,9]],Power[R,10]]" + }, + { + "i": 39, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[Information[\"SetPartitions\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 40, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[SetPartitions[4]]", + "mode": "check", + "secs": 0.109, + "expected": "{{{1,2,3,4}},{{1},{2,3,4}},{{1,2},{3,4}},{{1,3,4},{2}},{{1,2,3},{4}},{{1,4},{2,3}},{{1,2,4},{3}},{{1,3},{2,4}},{{1},{2},{3,4}},{{1},{2,3},{4}},{{1},{2,4},{3}},{{1,2},{3},{4}},{{1,3},{2},{4}},{{1,4},{2},{3}},{{1},{2},{3},{4}}}" + }, + { + "i": 41, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[Information[\"KSetPartitions\", LongForm -> False]]", + "mode": "skip", + "secs": 0.01, + "reason": "usage text" + }, + { + "i": 42, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[KSetPartitions[5, 3]]", + "mode": "check", + "secs": 0.13, + "expected": "{{{1},{2},{3,4,5}},{{1},{2,3},{4,5}},{{1},{2,4,5},{3}},{{1},{2,3,4},{5}},{{1},{2,5},{3,4}},{{1},{2,3,5},{4}},{{1},{2,4},{3,5}},{{1,2},{3},{4,5}},{{1,3},{2},{4,5}},{{1,4,5},{2},{3}},{{1,2},{3,4},{5}},{{1,3,4},{2},{5}},{{1,5},{2},{3,4}},{{1,2},{3,5},{4}},{{1,3,5},{2},{4}},{{1,4},{2},{3,5}},{{1,2,3},{4},{5}},{{1,4},{2,3},{5}},{{1,5},{2,3},{4}},{{1,2,4},{3},{5}},{{1,3},{2,4},{5}},{{1,5},{2,4},{3}},{{1,2,5},{3},{4}},{{1,3},{2,5},{4}},{{1,4},{2,5},{3}}}" + }, + { + "i": 43, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[Information[\"RankSetPartition\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 44, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[RankSetPartition[{{1, 2}, {3, 5}, {4}}]]", + "mode": "check", + "secs": 0.077, + "expected": "29" + }, + { + "i": 45, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[Information[\"UnrankSetPartition\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 46, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[UnrankSetPartition[%, 5]]", + "mode": "run", + "secs": 0.005, + "reason": "differs from WMA" + }, + { + "i": 47, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[Information[\"RandomSetPartition\", LongForm -> False]]", + "mode": "skip", + "secs": 0.008, + "reason": "usage text" + }, + { + "i": 48, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[RandomSetPartition[10]]", + "mode": "run", + "secs": 0.239, + "reason": "random" + }, + { + "i": 49, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[Information[\"RandomKSetPartition\", LongForm -> False]]", + "mode": "skip", + "secs": 0.007, + "reason": "usage text" + }, + { + "i": 50, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[RandomKSetPartition[10, 4]]", + "mode": "run", + "secs": 0.132, + "reason": "random" + }, + { + "i": 51, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[Information[\"BellB\", LongForm -> False]]", + "mode": "skip", + "secs": 0.007, + "reason": "usage text" + }, + { + "i": 52, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[BellB[300]]", + "mode": "skip", + "secs": 120.002, + "reason": "Mathics3: timeout" + }, + { + "i": 53, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[l52 = (StringJoin[ToString /@ #1[[1]]] & ) /@ (sp52 = KSetPartitions[5, 2]); , Null, ShowGraph[g = SetVertexLabels[MakeGraph[sp52, MemberQ[{1, 4}, Sum[Abs[Position[#1, i][[1,1]] - Position[#2, i][[1,1]]], {i, 5}]] & , Type -> Undirected], l52], PlotRange -> Large[0.2]]]", + "mode": "skip", + "secs": 5.37, + "reason": "Mathics3 takes 5 s" + }, + { + "i": 54, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[ShowGraph[Highlight[g, {Partition[HamiltonianCycle[g], 2, 1]}, {Red}], PlotRange -> Large[0.1]]]", + "mode": "skip", + "secs": 15.29, + "reason": "Mathics3 takes 15 s" + }, + { + "i": 55, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[Length[HamiltonianCycle[g, All]]]", + "mode": "skip", + "secs": 121.475, + "reason": "Mathics3: timeout" + }, + { + "i": 56, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[StirlingSecond[100, 50]]", + "mode": "check", + "secs": 0.061, + "expected": "430983237009366340421514301547258695943520289614340613912441741131280319058853783145598261659992013900" + }, + { + "i": 57, + "section": "Old Combinatorica vs New Combinatorica / Additional topics / Set Partitions", + "in": "HoldComplete[Table[Timing[StirlingS2[100*i, 50*i]; ]/Timing[StirlingSecond[100*i, 50*i]; ], {i, 2, 7}]]", + "mode": "run", + "secs": 2.55, + "reason": "random" + }, + { + "i": 58, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[c = VertexColoring[g = Wheel[20]]]", + "mode": "check", + "secs": 0.682, + "expected": "{1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,4,3}" + }, + { + "i": 59, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[ShowGraph[Highlight[g, Table[Flatten[Position[c, i]], {i, Max[c]}]]]]", + "mode": "check", + "secs": 3.624, + "expected": "" + }, + { + "i": 60, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[g = GraphProduct[GridGraph[2, 2], Cycle[5]]; , Null, ShowGraph[g, VertexColor -> LightBlue, EdgeColor -> Yellow, Background -> Black]]", + "mode": "check", + "secs": 3.252, + "expected": "" + }, + { + "i": 61, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[g = GridGraph[3, 3]; , Null, ShowGraph[g, VertexStyle -> Disc[Large], VertexNumber -> Center, VertexNumberColor -> Yellow, Background -> Yellow]]", + "mode": "check", + "secs": 3.252, + "expected": "" + }, + { + "i": 62, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[g = InduceSubgraph[GridGraph[10, 10], RandomSubset[Range[100]]]; , Null, m = BipartiteMatching[g]]", + "mode": "skip", + "secs": 121.376, + "reason": "Mathics3: timeout" + }, + { + "i": 63, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[ShowGraph[Highlight[g, {m}, {Red}], Background -> LightBlue]]", + "mode": "skip", + "secs": 0.116, + "reason": "uses g, which skipped cell 62 assigns" + }, + { + "i": 64, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[ShowGraph[g = Hypercube[5], VertexColor -> Red]]", + "mode": "skip", + "secs": 6.59, + "reason": "Mathics3 takes 7 s" + }, + { + "i": 65, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[ShowGraph[g, VertexColor -> Red, PlotRange -> Zoom[{1, 2, 3, 4}]]]", + "mode": "skip", + "secs": 5.842, + "reason": "Mathics3 takes 6 s" + }, + { + "i": 66, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[ShowGraphArray[Partition[l = Union[(CirculantGraph[9, #1] & ) /@ Subsets[8]], 4, 4]]]", + "mode": "skip", + "secs": 36.031, + "reason": "Mathics3 takes 36 s" + }, + { + "i": 67, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[g = Star[7]; ShowGraph[g, VertexNumber -> On]]", + "mode": "skip", + "secs": 0.66, + "reason": "uses g, which skipped cell 64 assigns" + }, + { + "i": 68, + "section": "Old Combinatorica vs New Combinatorica / Better Graphics", + "in": "HoldComplete[ShowGraph[AddEdges[g, {{1, 7}, {1, 1}, {6, 7}, {7, 6}}]]]", + "mode": "skip", + "secs": 1.131, + "reason": "uses g, which skipped cell 67 assigns" + }, + { + "i": 69, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`Path[300]; ], Timing[Path[300]; ]}]", + "mode": "run", + "secs": 0.266, + "reason": "random" + }, + { + "i": 70, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`RandomTree[200]; ], Timing[RandomTree[200]; ]}]", + "mode": "skip", + "secs": 11.238, + "reason": "Mathics3 takes 11 s" + }, + { + "i": 71, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[{Timing[DiscreteMath`OldCombinatorica`GridGraph[30, 30]; ], Timing[GridGraph[30, 30]; ]}]", + "mode": "run", + "secs": 4.699, + "reason": "random" + }, + { + "i": 72, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[30, 30]; Timing[DiscreteMath`OldCombinatorica`ToAdjacencyLists[g]; ]]", + "mode": "skip", + "secs": 0.006, + "reason": "uses g, which skipped cell 67 assigns" + }, + { + "i": 73, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[g = GridGraph[30, 30]; Timing[ToAdjacencyLists[g]; ]]", + "mode": "skip", + "secs": 12.675, + "reason": "Mathics3 takes 13 s" + }, + { + "i": 74, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[g = SetEdgeWeights[GridGraph[30, 30]]; Timing[MinimumSpanningTree[g]; ]]", + "mode": "skip", + "secs": 120.002, + "reason": "Mathics3: timeout" + }, + { + "i": 75, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`GridGraph[20, 20]; Timing[DiscreteMath`OldCombinatorica`MinimumSpanningTree[g]; ]]", + "mode": "skip", + "secs": 0.006, + "reason": "uses g, which skipped cell 74 assigns" + }, + { + "i": 76, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[g = GridGraph[100, 100]; h = InduceSubgraph[g, RandomSubset[Range[10000]]]; ]", + "mode": "skip", + "secs": 120.002, + "reason": "Mathics3: timeout" + }, + { + "i": 77, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[{V[h], M[h]}]", + "mode": "skip", + "secs": 0.006, + "reason": "uses h, which skipped cell 76 assigns" + }, + { + "i": 78, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[ShowGraph[h, VertexStyle -> Disc[0]]]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + }, + { + "i": 79, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[Timing[c = ConnectedComponents[h]; ]]", + "mode": "skip", + "secs": 3.561, + "reason": "Mathics3: aborted" + }, + { + "i": 80, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[Length[c]]", + "mode": "skip", + "secs": 0.004, + "reason": "uses c, which skipped cell 79 assigns" + }, + { + "i": 81, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`RandomGraph[100, 0.3]; Timing[DiscreteMath`OldCombinatorica`LineGraph[g]; ]]", + "mode": "skip", + "secs": 0.007, + "reason": "uses g, which skipped cell 76 assigns" + }, + { + "i": 82, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[g = RandomGraph[100, 0.3]; Timing[LineGraph[g]; ]]", + "mode": "skip", + "secs": 120.006, + "reason": "Mathics3: timeout" + }, + { + "i": 83, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[g = DiscreteMath`OldCombinatorica`Wheel[200]; Timing[DiscreteMath`OldCombinatorica`VertexColoring[g]; ]]", + "mode": "skip", + "secs": 0.007, + "reason": "uses g, which skipped cell 82 assigns" + }, + { + "i": 84, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[g = Wheel[200]; Timing[VertexColoring[g]; ]]", + "mode": "skip", + "secs": 33.109, + "reason": "Mathics3 takes 33 s" + }, + { + "i": 85, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[Timing[DiscreteMath`OldCombinatorica`LexicographicPermutations[Range[8]]; ]]", + "mode": "run", + "secs": 0.006, + "reason": "timing" + }, + { + "i": 86, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[Timing[LexicographicPermutations[8]; ]]", + "mode": "skip", + "secs": 120.002, + "reason": "Mathics3: timeout" + }, + { + "i": 87, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[p = DiscreteMath`Permutations`RandomPermutation[1000]; Timing[DiscreteMath`Permutations`ToCycles[p]; ]]", + "mode": "run", + "secs": 0.006, + "reason": "timing" + }, + { + "i": 88, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[p = RandomPermutation[1000]; Timing[ToCycles[p]; ]]", + "mode": "skip", + "secs": 13.731, + "reason": "Mathics3 takes 14 s" + }, + { + "i": 89, + "section": "Old Combinatorica vs New Combinatorica / Improvement in Run Times", + "in": "HoldComplete[p = RandomPermutation[5000]; {Timing[Signature[p]; ], Timing[SignaturePermutation[p]; ]}]", + "mode": "skip", + "secs": 120.002, + "reason": "Mathics3: timeout" + }, + { + "i": 90, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[Information[\"AddEdges\", LongForm -> False]]", + "mode": "skip", + "secs": 0.021, + "reason": "usage text" + }, + { + "i": 91, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[g = Wheel[10]; ShowGraph[g, VertexNumber -> On]]", + "mode": "skip", + "secs": 1.369, + "reason": "uses g, which skipped cell 84 assigns" + }, + { + "i": 92, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[ShowGraph[g = AddEdges[g, {{{2, 10}, EdgeColor -> Red, EdgeStyle -> Fat}}], VertexNumber -> On]]", + "mode": "skip", + "secs": 1.616, + "reason": "uses g, which skipped cell 91 assigns" + }, + { + "i": 93, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[ShowGraph[g = AddEdges[g, {3, 1}], VertexNumber -> On]]", + "mode": "skip", + "secs": 1.648, + "reason": "uses g, which skipped cell 92 assigns" + }, + { + "i": 94, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[Information[\"BreadthFirstTraversal\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 95, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[Information[\"DiscreteMath`OldCombinatorica`BreadthFirstTraversal\", LongForm -> False]]", + "mode": "skip", + "secs": 0.014, + "reason": "usage text" + }, + { + "i": 96, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[g = GridGraph[5, 5]; ]", + "mode": "check", + "secs": 0.27, + "expected": "Null" + }, + { + "i": 97, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[BreadthFirstTraversal[g, 1]]", + "mode": "check", + "secs": 0.344, + "expected": "{1,2,4,7,11,3,5,8,12,16,6,9,13,17,20,10,14,18,21,23,15,19,22,24,25}" + }, + { + "i": 98, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[e = BreadthFirstTraversal[g, 1, Edge]]", + "mode": "check", + "secs": 0.448, + "expected": "{{1,2},{1,6},{2,3},{2,7},{6,11},{3,4},{3,8},{7,12},{11,16},{4,5},{4,9},{8,13},{12,17},{16,21},{5,10},{9,14},{13,18},{17,22},{10,15},{14,19},{18,23},{15,20},{19,24},{20,25}}" + }, + { + "i": 99, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[ShowGraph[Highlight[g, {e}, {HotPink}]]]", + "mode": "check", + "secs": 0.448, + "expected": "ShowGraph[Highlight[Graph[{{{1,2}},{{2,3}},{{3,4}},{{4,5}},{{6,7}},{{7,8}},{{8,9}},{{9,10}},{{11,12}},{{12,13}},{{13,14}},{{14,15}},{{16,17}},{{17,18}},{{18,19}},{{19,20}},{{21,22}},{{22,23}},{{23,24}},{{24,25}},{{1,6}},{{2,7}},{{3,8}},{{4,9}},{{5,10}},{{6,11}},{{7,12}},{{8,13}},{{9,14}},{{10,15}},{{11,16}},{{12,17}},{{13,18}},{{14,19}},{{15,20}},{{16,21}},{{17,22}},{{18,23}},{{19,24}},{{20,25}}},{{{100000,100000}},{{200000,100000}},{{300000,100000}},{{400000,100000}},{{500000,100000}},{{100000,200000}},{{200000,200000}},{{300000,200000}},{{400000,200000}},{{500000,200000}},{{100000,300000}},{{200000,300000}},{{300000,300000}},{{400000,300000}},{{500000,300000}},{{100000,400000}},{{200000,400000}},{{300000,400000}},{{400000,400000}},{{500000,400000}},{{100000,500000}},{{200000,500000}},{{300000,500000}},{{400000,500000}},{{500000,500000}}}],{{{1,2},{1,6},{2,3},{2,7},{6,11},{3,4},{3,8},{7,12},{11,16},{4,5},{4,9},{8,13},{12,17},{16,21},{5,10},{9,14},{13,18},{17,22},{10,15},{14,19},{18,23},{15,20},{19,24},{20,25}}},{HotPink}]]" + }, + { + "i": 100, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[ShowGraphArray[{g, BreadthFirstTraversal[g, 1, Tree]}]]", + "mode": "run", + "secs": 0.65, + "reason": "differs from WMA" + }, + { + "i": 101, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[BreadthFirstTraversal[g, 1, Level]]", + "mode": "check", + "secs": 0.335, + "expected": "{0,1,2,3,4,1,2,3,4,5,2,3,4,5,6,3,4,5,6,7,4,5,6,7,8}" + }, + { + "i": 102, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[Information[\"CompleteGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.019, + "reason": "usage text" + }, + { + "i": 103, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[ShowGraph[CompleteGraph[5, Type -> Directed]]]", + "mode": "check", + "secs": 1.245, + "expected": "" + }, + { + "i": 104, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[SetOptions[CompleteGraph, Type -> Directed]]", + "mode": "check", + "secs": 0.006, + "expected": "{Rule[Type,Directed]}" + }, + { + "i": 105, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[ShowGraph[CompleteGraph[5]]]", + "mode": "check", + "secs": 1.267, + "expected": "" + }, + { + "i": 106, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[g = AddEdges[Star[5], {{1, 5}, {2, 2}}]]", + "mode": "check", + "secs": 0.055, + "expected": "Graph[{{{1,5}},{{2,5}},{{3,5}},{{4,5}},{{1,5}},{{2,2}}},{{{0,100000}},{{-100000,0}},{{0,-100000}},{{100000,0}},{{0,0}}}]" + }, + { + "i": 107, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[ShowGraph[g]]", + "mode": "check", + "secs": 0.739, + "expected": "" + }, + { + "i": 108, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[ToAdjacencyLists[g]]", + "mode": "check", + "secs": 0.055, + "expected": "{{5,5},{2,5},{5},{5},{1,1,2,3,4}}" + }, + { + "i": 109, + "section": "Old Combinatorica vs New Combinatorica / Better Functionality", + "in": "HoldComplete[ToAdjacencyLists[g, Type -> Simple]]", + "mode": "check", + "secs": 0.056, + "expected": "{{5},{5},{5},{5},{1,2,3,4}}" + }, + { + "i": 110, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[Information[\"GridGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.015, + "reason": "usage text" + }, + { + "i": 111, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[ShowGraph[GridGraph[3, 4, 5]]]", + "mode": "skip", + "secs": 14.753, + "reason": "Mathics3 takes 15 s" + }, + { + "i": 112, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[Information[\"ShuffleExchangeGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 113, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[ShowGraph[ShuffleExchangeGraph[3]]]", + "mode": "check", + "secs": 1.276, + "expected": "" + }, + { + "i": 114, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[Information[\"ButterflyGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.019, + "reason": "usage text" + }, + { + "i": 115, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[ShowGraph[ButterflyGraph[3]]]", + "mode": "skip", + "secs": 8.73, + "reason": "Mathics3 takes 9 s" + }, + { + "i": 116, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[Information[\"InversionPoset\", LongForm -> False]]", + "mode": "skip", + "secs": 0.018, + "reason": "usage text" + }, + { + "i": 117, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[ShowGraph[InversionPoset[4]]]", + "mode": "skip", + "secs": 70.533, + "reason": "Mathics3 takes 71 s" + }, + { + "i": 118, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[Information[\"BooleanAlgebra\", LongForm -> False]]", + "mode": "skip", + "secs": 0.022, + "reason": "usage text" + }, + { + "i": 119, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[ShowGraph[BooleanAlgebra[4]]]", + "mode": "skip", + "secs": 21.702, + "reason": "Mathics3 takes 22 s" + }, + { + "i": 120, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[Information[\"CageGraph\", LongForm -> False]]", + "mode": "skip", + "secs": 0.019, + "reason": "usage text" + }, + { + "i": 121, + "section": "Old Combinatorica vs New Combinatorica / New Graph Instances and Classes", + "in": "HoldComplete[ShowGraphArray[{Table[CageGraph[r], {r, 3, 5}], Table[CageGraph[r], {r, 6, 8}]}]]", + "mode": "run", + "secs": 0.774, + "reason": "differs from WMA" + }, + { + "i": 122, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[Information[\"SetEdgeWeights\", LongForm -> False]]", + "mode": "skip", + "secs": 0.021, + "reason": "usage text" + }, + { + "i": 123, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[g = SetEdgeWeights[Wheel[10], WeightingFunction -> RandomInteger, WeightRange -> {3, 5}]; GetEdgeWeights[g]]", + "mode": "run", + "secs": 0.629, + "reason": "random" + }, + { + "i": 124, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[Options[SetEdgeWeights]]", + "mode": "check", + "secs": 0.005, + "expected": "{Rule[WeightingFunction,Random],Rule[WeightRange,{0,1}]}" + }, + { + "i": 125, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[Information[\"SetOptions\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 126, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[SetOptions[SetEdgeWeights, WeightingFunction -> RandomInteger, WeightRange -> {0, 1}]]", + "mode": "check", + "secs": 0.006, + "expected": "{Rule[WeightingFunction,RandomInteger],Rule[WeightRange,{0,1}]}" + }, + { + "i": 127, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[g = SetEdgeWeights[Wheel[10]]; GetEdgeWeights[g]]", + "mode": "run", + "secs": 0.629, + "reason": "random" + }, + { + "i": 128, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[Information[\"BellmanFord\", LongForm -> False]]", + "mode": "skip", + "secs": 0.02, + "reason": "usage text" + }, + { + "i": 129, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[g = AddEdges[Cycle[10, Type -> Directed], {{4, 1}, {6, 1}, {9, 3}}]]", + "mode": "check", + "secs": 0.102, + "expected": "Graph[{{{1,2}},{{2,3}},{{3,4}},{{4,5}},{{5,6}},{{6,7}},{{7,8}},{{8,9}},{{9,10}},{{10,1}},{{4,1}},{{6,1}},{{9,3}}},{{{80902,58779}},{{30902,95106}},{{-30902,95106}},{{-80902,58779}},{{-100000,0}},{{-80902,-58779}},{{-30902,-95106}},{{30902,-95106}},{{80902,-58779}},{{100000,0}}},Rule[EdgeDirection,True]]" + }, + { + "i": 130, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[ShowGraph[g, VertexNumber -> On]]", + "mode": "check", + "secs": 1.065, + "expected": "" + }, + { + "i": 131, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[g = SetEdgeWeights[g, WeightingFunction -> RandomInteger, WeightRange -> {-4, 5}]]", + "mode": "run", + "secs": 0.343, + "reason": "random" + }, + { + "i": 132, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[Edges[g, EdgeWeight]]", + "mode": "run", + "secs": 0.343, + "reason": "random" + }, + { + "i": 133, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[BellmanFord[g, 1]]", + "mode": "run", + "secs": 3.214, + "reason": "random" + }, + { + "i": 134, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[Dijkstra[g, 1]]", + "mode": "run", + "secs": 0.343, + "reason": "random" + }, + { + "i": 135, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[Information[\"TreeIsomorphismQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.018, + "reason": "usage text" + }, + { + "i": 136, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[g = RandomTree[40]; h = PermuteSubgraph[g, RandomPermutation[40]]]", + "mode": "run", + "secs": 1.918, + "reason": "random" + }, + { + "i": 137, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[TreeIsomorphismQ[g, h]]", + "mode": "skip", + "secs": 8.787, + "reason": "Mathics3 takes 9 s" + }, + { + "i": 138, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[IsomorphicQ[g, h]]", + "mode": "skip", + "secs": 120.003, + "reason": "Mathics3: timeout" + }, + { + "i": 139, + "section": "Old Combinatorica vs New Combinatorica / Miscellaneous New Functions", + "in": "HoldComplete[{Timing[TreeIsomorphismQ[g, h]; ], Timing[IsomorphicQ[g, h]; ]}]", + "mode": "skip", + "secs": 120.004, + "reason": "Mathics3: timeout" + } +] diff --git a/test/data/book/tutorial.json b/test/data/book/tutorial.json new file mode 100644 index 0000000..eff0c60 --- /dev/null +++ b/test/data/book/tutorial.json @@ -0,0 +1,490 @@ +[ + { + "i": 1, + "section": "A Mathematica Tutorial for Combinatorica Users", + "in": "HoldComplete[BFS[g_Graph, start_Integer] := Module[{e = ToAdjacencyLists[g], bfi = Table[0, {V[g]}], cnt = 1, queue = {start}, parent = Table[i, {i, V[g]}], lvl = Table[Infinity, {V[g]}]}, bfi[[start]] = cnt++; lvl[[start]] = 0; While[queue != {}, {v, queue} = {First[queue], Rest[queue]}; Scan[If[bfi[[#1]] == 0, bfi[[#1]] = cnt++; parent[[#1]] = v; lvl[[#1]] = lvl[[v]] + 1; AppendTo[queue, #1]] & , e[[v]]]]; {bfi, parent, lvl}] /; 1 <= start && start <= V[g]]", + "mode": "check", + "secs": 0.008, + "expected": "Null" + }, + { + "i": 2, + "section": "A Mathematica Tutorial for Combinatorica Users", + "in": "HoldComplete[g = Wheel[7]]", + "mode": "check", + "secs": 0.044, + "expected": "Graph[{{{1,7}},{{2,7}},{{3,7}},{{4,7}},{{5,7}},{{6,7}},{{1,2}},{{2,3}},{{3,4}},{{4,5}},{{5,6}},{{1,6}}},{{{50000,86603}},{{-50000,86603}},{{-100000,0}},{{-50000,-86603}},{{50000,-86603}},{{100000,0}},{{0,0}}}]" + }, + { + "i": 3, + "section": "A Mathematica Tutorial for Combinatorica Users", + "in": "HoldComplete[ShowGraph[g, VertexNumber -> On]]", + "mode": "check", + "secs": 0.88, + "expected": "" + }, + { + "i": 4, + "section": "A Mathematica Tutorial for Combinatorica Users", + "in": "HoldComplete[BFS[g, 1]]", + "mode": "check", + "secs": 0.118, + "expected": "{{1,2,5,7,6,3,4},{1,1,2,7,6,1,1},{0,1,2,2,2,1,1}}" + }, + { + "i": 5, + "section": "A Mathematica Tutorial for Combinatorica Users / Function Definition", + "in": "HoldComplete[F[x_] := x^2]", + "mode": "check", + "secs": 0.004, + "expected": "Null" + }, + { + "i": 6, + "section": "A Mathematica Tutorial for Combinatorica Users / Function Definition", + "in": "HoldComplete[F[10]]", + "mode": "check", + "secs": 0.004, + "expected": "100" + }, + { + "i": 7, + "section": "A Mathematica Tutorial for Combinatorica Users / Function Definition", + "in": "HoldComplete[G[y_Integer] := y^2]", + "mode": "check", + "secs": 0.004, + "expected": "Null" + }, + { + "i": 8, + "section": "A Mathematica Tutorial for Combinatorica Users / Function Definition", + "in": "HoldComplete[G[10]]", + "mode": "check", + "secs": 0.004, + "expected": "100" + }, + { + "i": 9, + "section": "A Mathematica Tutorial for Combinatorica Users / Function Definition", + "in": "HoldComplete[G[10.1]]", + "mode": "check", + "secs": 0.005, + "expected": "1020100000000" + }, + { + "i": 10, + "section": "A Mathematica Tutorial for Combinatorica Users / Function Definition", + "in": "HoldComplete[F[10.1]]", + "mode": "check", + "secs": 0.005, + "expected": "10201000" + }, + { + "i": 11, + "section": "A Mathematica Tutorial for Combinatorica Users / Function Definition", + "in": "HoldComplete[BFS[10, 10]]", + "mode": "check", + "secs": 0.008, + "expected": "BFS[10,10]" + }, + { + "i": 12, + "section": "A Mathematica Tutorial for Combinatorica Users / Function Definition", + "in": "HoldComplete[BFS[g, 10.1]]", + "mode": "check", + "secs": 0.044, + "expected": "BFS[Graph[{{{1,7}},{{2,7}},{{3,7}},{{4,7}},{{5,7}},{{6,7}},{{1,2}},{{2,3}},{{3,4}},{{4,5}},{{5,6}},{{1,6}}},{{{50000,86603}},{{-50000,86603}},{{-100000,0}},{{-50000,-86603}},{{50000,-86603}},{{100000,0}},{{0,0}}}],1010000]" + }, + { + "i": 13, + "section": "A Mathematica Tutorial for Combinatorica Users / Defining Local Variables", + "in": "HoldComplete[Information[\"Module\", LongForm -> False]]", + "mode": "skip", + "secs": 0.006, + "reason": "usage text" + }, + { + "i": 14, + "section": "A Mathematica Tutorial for Combinatorica Users / Defining Local Variables", + "in": "HoldComplete[Module[{i, j}, i = 10; j = 20]]", + "mode": "check", + "secs": 0.004, + "expected": "20" + }, + { + "i": 15, + "section": "A Mathematica Tutorial for Combinatorica Users / Defining Local Variables", + "in": "HoldComplete[i]", + "mode": "check", + "secs": 0.004, + "expected": "i" + }, + { + "i": 16, + "section": "A Mathematica Tutorial for Combinatorica Users / Defining Local Variables", + "in": "HoldComplete[j]", + "mode": "check", + "secs": 0.004, + "expected": "j" + }, + { + "i": 17, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[Information[\"Table\", LongForm -> False]]", + "mode": "skip", + "secs": 0.005, + "reason": "usage text" + }, + { + "i": 18, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[Table[1, {10}]]", + "mode": "check", + "secs": 0.004, + "expected": "{1,1,1,1,1,1,1,1,1,1}" + }, + { + "i": 19, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[Table[1, {i, 10}]]", + "mode": "check", + "secs": 0.01, + "expected": "{1,1,1,1,1,1,1,1,1,1}" + }, + { + "i": 20, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[Table[i, {i, 10}]]", + "mode": "check", + "secs": 0.011, + "expected": "{1,2,3,4,5,6,7,8,9,10}" + }, + { + "i": 21, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[Table[i, {i, 3, 10}]]", + "mode": "check", + "secs": 0.008, + "expected": "{3,4,5,6,7,8,9,10}" + }, + { + "i": 22, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[Table[i*j, {i, 10}, {j, 10}]]", + "mode": "check", + "secs": 0.064, + "expected": "{{1,2,3,4,5,6,7,8,9,10},{2,4,6,8,10,12,14,16,18,20},{3,6,9,12,15,18,21,24,27,30},{4,8,12,16,20,24,28,32,36,40},{5,10,15,20,25,30,35,40,45,50},{6,12,18,24,30,36,42,48,54,60},{7,14,21,28,35,42,49,56,63,70},{8,16,24,32,40,48,56,64,72,80},{9,18,27,36,45,54,63,72,81,90},{10,20,30,40,50,60,70,80,90,100}}" + }, + { + "i": 23, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[t = Table[i*j, {i, 10}, {j, 1, i}]]", + "mode": "check", + "secs": 0.049, + "expected": "{{1},{2,4},{3,6,9},{4,8,12,16},{5,10,15,20,25},{6,12,18,24,30,36},{7,14,21,28,35,42,49},{8,16,24,32,40,48,56,64},{9,18,27,36,45,54,63,72,81},{10,20,30,40,50,60,70,80,90,100}}" + }, + { + "i": 24, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "PARSEFAIL:BoxData[RowBox[{\"t\", \"//\", \"ColumnForm\"}]]", + "mode": "skip", + "secs": 0.004, + "reason": "the notebook cell could not be parsed" + }, + { + "i": 25, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[e = ToAdjacencyLists[g]]", + "mode": "check", + "secs": 0.056, + "expected": "{{2,6,7},{1,3,7},{2,4,7},{3,5,7},{4,6,7},{1,5,7},{1,2,3,4,5,6}}" + }, + { + "i": 26, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[l = Range[10]]", + "mode": "check", + "secs": 0.004, + "expected": "{1,2,3,4,5,6,7,8,9,10}" + }, + { + "i": 27, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[l[[{2, 5, 6}]] = {-1, -2, -3}]", + "mode": "check", + "secs": 0.004, + "expected": "{-1,-2,-3}" + }, + { + "i": 28, + "section": "A Mathematica Tutorial for Combinatorica Users / List Manipulation", + "in": "HoldComplete[l]", + "mode": "check", + "secs": 0.004, + "expected": "{1,-1,3,4,-2,-3,7,8,9,10}" + }, + { + "i": 29, + "section": "A Mathematica Tutorial for Combinatorica Users / Loops", + "in": "HoldComplete[Information[\"While\", LongForm -> False]]", + "mode": "skip", + "secs": 0.006, + "reason": "usage text" + }, + { + "i": 30, + "section": "A Mathematica Tutorial for Combinatorica Users / Loops", + "in": "HoldComplete[sum = 0]", + "mode": "check", + "secs": 0.003, + "expected": "0" + }, + { + "i": 31, + "section": "A Mathematica Tutorial for Combinatorica Users / Loops", + "in": "HoldComplete[i = 0]", + "mode": "check", + "secs": 0.003, + "expected": "0" + }, + { + "i": 32, + "section": "A Mathematica Tutorial for Combinatorica Users / Loops", + "in": "HoldComplete[While[i < 10, sum = sum + 10; i++]]", + "mode": "check", + "secs": 0.011, + "expected": "Null" + }, + { + "i": 33, + "section": "A Mathematica Tutorial for Combinatorica Users / Loops", + "in": "HoldComplete[sum]", + "mode": "check", + "secs": 0.011, + "expected": "100" + }, + { + "i": 34, + "section": "A Mathematica Tutorial for Combinatorica Users / Loops", + "in": "HoldComplete[Information[\"Do\", LongForm -> False]]", + "mode": "skip", + "secs": 0.005, + "reason": "usage text" + }, + { + "i": 35, + "section": "A Mathematica Tutorial for Combinatorica Users / Loops", + "in": "HoldComplete[Information[\"For\", LongForm -> False]]", + "mode": "skip", + "secs": 0.005, + "reason": "usage text" + }, + { + "i": 36, + "section": "A Mathematica Tutorial for Combinatorica Users / Loops", + "in": "HoldComplete[l = {1, 3, 8, -1, 11, 12}]", + "mode": "check", + "secs": 0.004, + "expected": "{1,3,8,-1,11,12}" + }, + { + "i": 37, + "section": "A Mathematica Tutorial for Combinatorica Users / Loops", + "in": "HoldComplete[{v, l} = {First[l], Rest[l]}]", + "mode": "check", + "secs": 0.004, + "expected": "{1,{3,8,-1,11,12}}" + }, + { + "i": 38, + "section": "A Mathematica Tutorial for Combinatorica Users / Loops", + "in": "HoldComplete[{v, l}]", + "mode": "check", + "secs": 0.004, + "expected": "{1,{3,8,-1,11,12}}" + }, + { + "i": 39, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[Information[\"Scan\", LongForm -> False]]", + "mode": "skip", + "secs": 0.005, + "reason": "usage text" + }, + { + "i": 40, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[Acc[x_] := m = m + x]", + "mode": "check", + "secs": 0.005, + "expected": "Null" + }, + { + "i": 41, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[l]", + "mode": "check", + "secs": 0.004, + "expected": "{3,8,-1,11,12}" + }, + { + "i": 42, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[m = 0]", + "mode": "check", + "secs": 0.003, + "expected": "0" + }, + { + "i": 43, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[Scan[Acc, l]]", + "mode": "check", + "secs": 0.006, + "expected": "Null" + }, + { + "i": 44, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[m]", + "mode": "check", + "secs": 0.003, + "expected": "33" + }, + { + "i": 45, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[m = 0]", + "mode": "check", + "secs": 0.003, + "expected": "0" + }, + { + "i": 46, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[Scan[Function[x, m = m + x], l]]", + "mode": "check", + "secs": 0.007, + "expected": "Null" + }, + { + "i": 47, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[m]", + "mode": "check", + "secs": 0.007, + "expected": "33" + }, + { + "i": 48, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[Information[\"Function\", LongForm -> False]]", + "mode": "skip", + "secs": 0.005, + "reason": "usage text" + }, + { + "i": 49, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[m = 0]", + "mode": "check", + "secs": 0.003, + "expected": "0" + }, + { + "i": 50, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[Scan[(m = m + #1) & , l]]", + "mode": "check", + "secs": 0.007, + "expected": "Null" + }, + { + "i": 51, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[m]", + "mode": "check", + "secs": 0.007, + "expected": "33" + }, + { + "i": 52, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[l = Range[1000]; ]", + "mode": "check", + "secs": 0.006, + "expected": "Null" + }, + { + "i": 53, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[Information[\"PrimeQ\", LongForm -> False]]", + "mode": "skip", + "secs": 0.005, + "reason": "usage text" + }, + { + "i": 54, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[s = 0]", + "mode": "check", + "secs": 0.003, + "expected": "0" + }, + { + "i": 55, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[Scan[If[PrimeQ[#1], s++] & , l]]", + "mode": "check", + "secs": 0.684, + "expected": "Null" + }, + { + "i": 56, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[s]", + "mode": "check", + "secs": 0.003, + "expected": "168" + }, + { + "i": 57, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[Information[\"Map\", LongForm -> False]]", + "mode": "skip", + "secs": 0.005, + "reason": "usage text" + }, + { + "i": 58, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[l = {1, 2, 10, 4}]", + "mode": "check", + "secs": 0.004, + "expected": "{1,2,10,4}" + }, + { + "i": 59, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[(#1^2 & ) /@ l]", + "mode": "check", + "secs": 0.005, + "expected": "{1,4,100,16}" + }, + { + "i": 60, + "section": "A Mathematica Tutorial for Combinatorica Users / Functional Operations", + "in": "HoldComplete[f /@ {1, 3, 4}]", + "mode": "check", + "secs": 0.004, + "expected": "{f[1],f[3],f[4]}" + }, + { + "i": 61, + "section": "A Mathematica Tutorial for Combinatorica Users / Final Words", + "in": "HoldComplete[Information[\"/;\", LongForm -> False]]", + "mode": "skip", + "secs": 0.004, + "reason": "usage text" + } +] diff --git a/test/test_book_examples.py b/test/test_book_examples.py new file mode 100644 index 0000000..ed4ad93 --- /dev/null +++ b/test/test_book_examples.py @@ -0,0 +1,131 @@ +# -*- coding: utf-8 -*- +""" +The examples of Pemmaraju and Skiena's *Computational Discrete Mathematics: +Combinatorics and Graph Theory with Mathematica*, from the book's notebooks +(Chapters 3 to 5, and the notebooks "New Features" and "A Mathematica Tutorial +for Combinatorica Users"), checked against the results WMA gives. + +The cells of each notebook are evaluated in order in one session, since +later cells use what earlier ones define. A cell whose WMA result is +deterministic is checked against it ("check"); the others are evaluated +but not checked ("run"). The data, in test/data/book/, is made by +book/make_tests.py; see book/README.md. + +Only the cells that took at most COMBINATORICA_BOOK_SECS seconds (default +1) in the reference Mathics3 run are evaluated, and each one is stopped +after CELL_TIMEOUT seconds: a cell can take much longer than in the +reference run when an earlier cell it builds on was left out. +""" + +import json +import os +import os.path as osp +import re +import signal +from test.helper import evaluate, reset_session, session + +import pytest +from mathics.core.interrupt import TimeoutInterrupt + +combinatorica_file = osp.normpath( + osp.join(osp.dirname(__file__), "..", "Combinatorica", "CombinatoricaV201.m") +) +data_dir = osp.join(osp.dirname(__file__), "data", "book") +NOTEBOOKS = ["Chapter3", "Chapter4", "Chapter5", "newFeatures", "tutorial"] +MAX_SECS = float(os.environ.get("COMBINATORICA_BOOK_SECS", "1")) +CELL_TIMEOUT = 30 + +# The result of a cell as the WMA run recorded it: graphics by their head +# only, reals rounded to 5 decimal places, at most 4000 characters of +# FullForm. +CANON = r"""Book`canon[r_] := Which[ + MatchQ[r, _Graphics | _Graphics3D | _GraphicsArray | _Image], + "<" <> SymbolName[Head[r]] <> ">", + True, Module[{s = ToString[FullForm[r /. x_Real :> Round[10^5 x]]]}, + If[StringLength[s] > 4000, StringTake[s, 4000] <> "...", s]]]""" + + +def braces(s: str) -> str: + """Turn FullForm List[...] into {...}.""" + out, stack, i, n = [], [], 0, len(s) + while i < n: + c = s[i] + if c == '"': + j = i + 1 + while j < n and s[j] != '"': + j += 2 if s[j] == "\\" else 1 + out.append(s[i : j + 1]) + i = j + 1 + continue + if s.startswith("List[", i) and ( + i == 0 or not (s[i - 1].isalnum() or s[i - 1] in "`$") + ): + out.append("{") + stack.append("}") + i += 5 + continue + if c == "[": + stack.append("]") + elif c == "]": + c = stack.pop() if stack else c + out.append(c) + i += 1 + return "".join(out) + + +def norm(s: str) -> str: + return re.sub(r"\s+", "", braces(s)) + + +def cells(): + for nb in NOTEBOOKS: + for cell in json.load(open(osp.join(data_dir, f"{nb}.json"))): + if cell["mode"] == "skip" or cell.get("secs", 0) > MAX_SECS: + continue + marks = [] + if "xfail" in cell: + marks.append(pytest.mark.xfail(reason=cell["xfail"], strict=False)) + yield pytest.param(nb, cell, id=f"{nb}-{cell['i']}", marks=marks) + + +_loaded_notebook = None + + +@pytest.mark.parametrize(("notebook", "cell"), list(cells())) +def test_book_example(notebook, cell): + global _loaded_notebook + if _loaded_notebook != notebook: + # A fresh session with the package for each notebook. + reset_session() + evaluate(f'Get["{combinatorica_file}"]') + evaluate(CANON) + _loaded_notebook = notebook + # A cell may hold several expressions: all are evaluated, in order, and + # the last one is the result. The session's own timeout stops the + # evaluation between steps; the alarm is a backstop for Mathics3 + # versions that do not honor it. + def on_alarm(signum, frame): + raise TimeoutInterrupt() + + previous = signal.signal(signal.SIGALRM, on_alarm) + signal.alarm(CELL_TIMEOUT + 10) + try: + result = session.evaluate_as_in_cli( + f"Book`canon[Last[List @@ {cell['in']}]]", timeout=CELL_TIMEOUT + ) + except TimeoutInterrupt: + if cell["mode"] != "check": + return + pytest.fail(f"{notebook} cell {cell['i']} took more than {CELL_TIMEOUT} s") + finally: + signal.alarm(0) + signal.signal(signal.SIGALRM, previous) + if cell["mode"] != "check": + return + out = result.result + if isinstance(out, str) and out.startswith('"'): + out = out[1:-1] + assert norm(str(out)) == cell["expected"], ( + f"{notebook} cell {cell['i']} ({cell['section']}):\n" + f" {cell['in']}\ngives\n {out}\nWMA gives\n {cell['expected']}" + )