-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aff4669
commit f9ec32a
Showing
7 changed files
with
234 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
POSEIDON/src/main/java/uk/ac/ox/oxfish/model/market/supplychain/ImportTarriff.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package uk.ac.ox.oxfish.model.market.supplychain; | ||
|
||
import uk.ac.ox.oxfish.biology.Species; | ||
|
||
public class ImportTarriff { | ||
private Species species; | ||
private int origin; | ||
private int destination; | ||
private double rate_raw, rate_loin, rate_packaged; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
POSEIDON/src/main/java/uk/ac/ox/oxfish/model/market/supplychain/TransportCost.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package uk.ac.ox.oxfish.model.market.supplychain; | ||
|
||
public class TransportCost { | ||
int origin; | ||
int destination; | ||
double cost; | ||
|
||
public TransportCost(int origin, int destination, double cost){ | ||
this.origin=origin; | ||
this.destination=destination; | ||
this.cost=cost; | ||
} | ||
|
||
public int getOrigin(){ | ||
return origin; | ||
} | ||
public int getDestination(){ | ||
return destination; | ||
} | ||
|
||
public double getCost() { | ||
return cost; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters