Compare commits

..

No commits in common. "f7db24dca4d8f2518728a5307bbf17a902843b49" and "96d4576c1655cde492e6620dc2ed5c0df2589d4c" have entirely different histories.

4 changed files with 2 additions and 10 deletions

1
.gitignore vendored
View File

@ -30,4 +30,3 @@ bin/
/src/jtds-1.3.1.jar
/src/mssql-jdbc-12.6.1.jre11.jar
/BD.iml
/src/config.properties

View File

@ -188,7 +188,7 @@ public class Main {
}
});
writer.write("spoznione(X) :- task(X,Y,_),date_time_stamp(Y,S),get_time(T),S<T."+System.lineSeparator());
writer.write("najwazniejsze(X) :- task(X, _, Z), \\+ (task(_, _, V), V < Z)."+System.lineSeparator());
writer.write("najwazniejsze(X,Y,Z) :- task(X, Y, Z), \\+ (task(_, _, V), V < Z)."+System.lineSeparator());
writer.close();
System.out.println("Wygenerowano.");

View File

@ -41,12 +41,6 @@
<td>projekt_BD</td>
<td>2024-06-20 00:00:00.0</td>
<td>2</td>
</tr>
<tr>
<td>4</td>
<td>task</td>
<td>2024-06-10 00:00:00.0</td>
<td>5</td>
</tr>
</tbody>

View File

@ -1,6 +1,5 @@
task('kolokwium', date(2024,06,17),1).
task('projekt_paradygmaty', date(2024,06,16),0).
task('projekt_BD', date(2024,06,20),2).
task('task', date(2024,06,10),5).
spoznione(X) :- task(X,Y,_),date_time_stamp(Y,S),get_time(T),S<T.
najwazniejsze(X) :- task(X, _, Z), \+ (task(_, _, V), V < Z).
najwazniejsze(X,Y,Z) :- task(X, Y, Z), \+ (task(_, _, V), V < Z).