Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/pmagillo/SMI2023-ReprStamp
11 June 2023, 14:47:23 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
Revision 0e98470ca65ce68d5bcf0421dfe79324d73b8a49 authored by Paola Magillo on 11 June 2023, 13:53:09 UTC, committed by GitHub on 11 June 2023, 13:53:09 UTC
Update README.md
1 parent 9ceaf24
  • Files
  • Changes
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    • 0e98470ca65ce68d5bcf0421dfe79324d73b8a49
    No releases to show
  • b50251e
  • /
  • README.md
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
  • snapshot
origin badgerevision badge
swh:1:rev:0e98470ca65ce68d5bcf0421dfe79324d73b8a49
origin badgedirectory badge Iframe embedding
swh:1:dir:b50251ea0a339b112ce8b18355bbb874a7575e3b
origin badgecontent badge Iframe embedding
swh:1:cnt:b5fb6fdf8c3355d27227162df47c5dde1e83c5f1
origin badgesnapshot badge
swh:1:snp:a47dce8d0cf6c5667b0ba1e2af03ce27a53b5b1b
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 0e98470ca65ce68d5bcf0421dfe79324d73b8a49 authored by Paola Magillo on 11 June 2023, 13:53:09 UTC
Update README.md
Tip revision: 0e98470
README.md
# SMI2023-ReprStamp
This is a version of https://github.com/pmagillo/PathChecker created for applying to the Replicability Stamp of SMI2023

This repository contains the code and instructions to create the images in Figures 11, 12, 14, 15 of the paper

  "Crossing-free paths in the square grid"
  Lidija Comic, Paola Magillo

accepted for Solid Modeling International (SMI), Genova, Italy, July 2023 and to appear in Computers and Graphics

==============================
CREATION OF FIGURES 11, 12, 14

Figures 11, 12, 14 contain images created with our demo program (https://github.com/pmagillo/PathChecker).
That demo is interactive, but for the replicability test we have developed here a version that can be invoked from a script, without user interaction.

The source code is in Java. 
It needs the Java SE Development Kit which can be downloaded from
http://www.oracle.com/
and the direct link for downloading is
https://urlsand.esvalabs.com/?u=https%3A%2F%2Fwww.oracle.com%2Fjava%2Ftechnologies%2Fdownloads%2F%23jdk20-windows&e=ed7a584b&h=a2cec789&f=y&p=y 
We have tested it on a Windows system, but it should work equally on a Linux system, or any system where the Java SE Development Kit is installed.

Instructions:
- before starting, you may need to set the classpath for Java:
  if you are using the Windows Powershell, type: $env:CLASSPATH += ";."
  if you are using the Command Prompt, type: set classpath=%classpath%;.
- compile the java program: the needed commands are contained in the script  script_compile.bat
- generate the images: the needed commands are contained in the script  script_fig.bat

Note: since this program is a modification of the interactive demo, for a moment you will see the graphic window of the demo, that immediately disappears after saving the image.

The generated images are:
figure11_a.png  figure11_b.png  figure11_c.png
figure12_a.png  figure12_b.png  figure12_c.png	figure12_d.png
figure14_a.png  figure14_b.png  figure14_c.png
which correspond to the various parts of Figures 11,12,14.

The script generates just the raw images, in the paper we have manually superimposed letters and symbols used to explain the images in the caption.

=====================
CREATION OF FIGURE 15

This figure contains two plots, that have been generated in two steps:

1) A Python program generates the data and creates a MatLab program.
2) Then MatLab, executing such program, will create an image with the plots.

--Instructions for Step 1
We executed the Python program on a native Linux system, where Python is installed as python3. From the terminal, type:

  python3  creaFig_a.py

this will create the file  creaFig_b.m  which is a MatLab program (a text file with extension .m containing MatLab commands).

--Instructions for Step 2
This step needs MatLab. We have run it on a Windows system, but it can be executed on any system where MatLab is installed.

Intructions:
open MatLab, load  creaFig_b.m  and run it. It will produce an image, and you need to manually save it.
 
Note: Step 1 generates random data. Therefore the generated plots cannot be perfectly equal to the ones in Figure 15 of the paper, but they will be 
very similar.

The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top