Package org.protelis.vm
Interface CodePath
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
DefaultTimeEfficientCodePath,HashingCodePathFactory.HashingCodePath
public interface CodePath extends java.io.SerializableA CodePath is a trace from the root to some node in a VM execution tree. Its use is to allow particular execution locations to be serialized and compared between different VMs, thereby enabling code alignment. It MUST be immutable. equals and hashCode must be correctly implemented. The specific implementation of this class is critical for the Protelis generated packet size. Prefer quick implementations for simulated environment, and space efficient implementations for networked systems.