Skip to content

tangweike778/SP_Block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPA PA RA

The startup function for RA, PA, and RPA is "Converge.main". It requires seven arguments to be input as follows: "InputPath OutputPath delimeter k pro1 pro2"
InputPath: File path for input data
OutputPath: Path for result output
delimeter: delimeter
k: Number of spatiotemporal blocks I hope to find
pro1,pro2: The proportion of density and space in score function f. The proportion of pro1 in f is pro1/(pro1 + pro2). We have provided a test data in data folder. you can run the test data by entering the parameters "data/test.txt output/test "," 10 1 1" in main function".

EA

The startup function for EA is "Converge.main". It requires seven arguments to be input as follows: "InputPath OutputPath delimeter k h pro1 pro2"
InputPath: File path for input data
OutputPath: Path for result output
delimeter: delimeter
k: Number of spatiotemporal blocks I hope to find
h: How many intervals are the spatiotemporal range divided into.
pro1,pro2: The proportion of density and space in score function f. The proportion of pro1 in f is pro1/(pro1 + pro2).
We have provided a test data in data folder. you can run the test data by entering the parameters "data/test.txt output/test "," 10 100 1 1" in main function.

User Manual

In the user manual, we only explain how to execute the algorithm demo using IDEA. In addition to that, users can also package the code into a JAR file and run it on the local command-line console on Windows or iOS systems.

1、Code Clone Or Download

To download the code to your local folder, you can use the following command in your terminal or command prompt: ''' git clone https://github.com/tangweike778/SP_Block.git ''' Additionally, the code project can also be obtained by downloading and extracting the zip file.

2、Opening the Code Project Using IDEA

image

3、Open the algorithm file you want to run and locate the main file named "Converge," which contains the main function to start the execution.

image

4、Configure the startup parameters based on the corresponding algorithm's parameter description mentioned above.

4.1、Click the Run button and select the "Modify Run Configuration" option.

image

4.2、As shown in Step 1 of the figure below, first modify the working directory to the directory of the code file to be executed.

4.3、As shown in Step 2 of the figure below, fill in the algorithm parameters according to the parameter description provided above.

image

5、Click the Run button to execute the specified algorithm.

image

6、Wait for the algorithm to complete its execution and obtain the basic results along with the corresponding output files.

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages