|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttrust_system_lib.NoneTM
public class NoneTM
The NoneTM class conforms to the TrustAlg interface and simulates the lack of a TM system. Essentially, random source selection is used.
Constructor Summary | |
---|---|
NoneTM(Network nw)
Construct a NoneTm object. |
Method Summary | |
---|---|
java.lang.String |
algName()
Interfaced: Text name of this trust algorithm (spaces are okay). |
void |
computeTrust(int user,
int cycle)
Interfaced: Compute trust, exporting trust values to Network. |
java.lang.String |
fileExtension()
Interfaced: File extension placed on output files using this algorithm. |
void |
update(Transaction trans)
Interfaced: Given coordinates of a feedback commitment, update as needed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoneTM(Network nw)
nw
- Network which this EtIncTM will be managingMethod Detail |
---|
public java.lang.String algName()
algName
in interface TrustAlg
public java.lang.String fileExtension()
fileExtension
in interface TrustAlg
public void update(Transaction trans)
update
in interface TrustAlg
trans
- Transaction detailing feedback commitmentpublic void computeTrust(int user, int cycle)
computeTrust
in interface TrustAlg
user
- Identifier of user performing trust computationcycle
- The current cycle
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |