def METHOD_NAME(self) -> None:
    self._address_to_tf_idx_and_vertex_map = {
        vertex.attributes[TF_PLAN_RESOURCE_ADDRESS]: (i, vertex)
        for i, vertex in enumerate(self.tf_graph.vertices)
        if vertex.block_type == BlockType.RESOURCE
    }
    self._address_to_tf_plan_idx_and_vertex_map = {
        vertex.attributes[TF_PLAN_RESOURCE_ADDRESS]: (i, vertex)
        for i, vertex in enumerate(self.tf_plan_graph.vertices)
        if vertex.block_type == BlockType.RESOURCE
    }